[kcms/colors] RFC: Accent Colours
Changes PlannedPublic

Authored by cblack on Sun, Feb 9, 11:25 PM.

Details

Summary

This revision:

  • adds the option to set an accent colour
  • allows the colour scheme editor to ignore an active accent colour

Some notes:

  • This works odd to say the least. Seems like there's some form of caching of the colour scheme going on?
Test Plan

Diff Detail

Repository
R119 Plasma Desktop
Branch
accent-colors (branched from master)
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 22279
Build 22297: arc lint + arc unit
cblack created this revision.Sun, Feb 9, 11:25 PM
Restricted Application added a project: Plasma. · View Herald TranscriptSun, Feb 9, 11:25 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
cblack requested review of this revision.Sun, Feb 9, 11:25 PM
cblack planned changes to this revision.Sun, Feb 9, 11:25 PM
cblack edited the summary of this revision. (Show Details)
cblack edited the test plan for this revision. (Show Details)
cblack edited the summary of this revision. (Show Details)Sun, Feb 9, 11:27 PM
cblack updated this revision to Diff 75318.Sun, Feb 9, 11:46 PM

Use ColorButton

cblack planned changes to this revision.Sun, Feb 9, 11:47 PM

Since this is related, I'll just drop my concept design for Colours KCM for reference on a possible colour schemes header design to consider. Ignore the button at the bottom, I've realised now that that idea is pointless since we removed so many colour schemes by now out of the box that having a separate page for all the colour schemes is no longer a pointful idea.

Technical Explanation, again:

  1. The #006aff coloured circle at the end is a custom accent colour that the user added themselves
  2. Clicking 'Custom Accent Colour...' will bring up a colour picker popup akin to the KColorSchemeEditor concept one, which'll allow you to make a new Custom Accent Colour. Once created, it'll appear on the end of the bunch of circles next to the existing ones
  3. A maximum limit of custom accent colours will be there, however just like with Windows 10 this won't be 1 custom colour, but rather something like 10 or 20
  4. Once the user adds a new custom accent colour that exceeds the limit, the oldest accent colour is forgotten, the remaining ones pushed back one, and the new accent colour placed at the end each time that happens
  5. Pretend the bottom 'Colour Scheme' box is all of the current Colours KCM contents
  6. Ignore "Use a custom colour scheme..." - that's a scrapped design idea now I've realised we've removed so many colour schemes by default that it's no longer necessary.
  7. Ignore the lack of icons in this concept - I couldn't bother trying to find them to add them in (I think we all know what icons'd go on what buttons).

Oh, and also maybe put the checkbox you've implemented below that 'Custom Accent Colour...' button if you do implement this design - checking it'll insensitive the button and the accent colour circles.

Looks like plasma doesn't respect the accent color.