D27263: RFC: Accent colour for KColorScheme

Carson Black noreply at phabricator.kde.org
Sun Feb 9 07:08:06 GMT 2020


cblack created this revision.
cblack added a reviewer: Plasma.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
cblack requested review of this revision.

REVISION SUMMARY
  This is a roughly thrown-together patch demonstrating how an
  accent colour can be implemented via modifiying KColorScheme.
  
  Notes about what sucks currently:
  
  - No way to query the true colour of an item getting overidden by an accent colour (bad for stuff like KColorSchemeEditor)
  - Accent color text on accent colour background is 100% unreadable
  
  Stuff I plan to do:
  
  - Split Accent → AccentForeground and AccentBackground.
  - Figure out a way to more elegantly handle inactive and disabled accent colours

TEST PLAN
  Add an `Accent` colour in a `[Colors:Accent]` section in a colourscheme.

REPOSITORY
  R265 KConfigWidgets

BRANCH
  kcolorscheme-accent (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D27263

AFFECTED FILES
  src/kcolorscheme.cpp

To: cblack, #plasma
Cc: The-Feren-OS-Dev, ngraham, kde-frameworks-devel, ndavis, LeGast00n, cblack, GB_2, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200209/c413f49f/attachment.html>


More information about the Kde-frameworks-devel mailing list