1. 10 May, 2020 1 commit
  2. 09 May, 2020 1 commit
  3. 15 Apr, 2020 1 commit
  4. 14 Apr, 2020 2 commits
  5. 10 Apr, 2020 1 commit
  6. 07 Apr, 2020 2 commits
  7. 04 Apr, 2020 1 commit
  8. 25 Mar, 2020 1 commit
  9. 21 Mar, 2020 1 commit
  10. 15 Mar, 2020 1 commit
  11. 12 Mar, 2020 1 commit
  12. 11 Mar, 2020 2 commits
  13. 17 Feb, 2020 1 commit
  14. 11 Feb, 2020 1 commit
  15. 17 Jan, 2020 1 commit
  16. 03 Jan, 2020 1 commit
  17. 01 Jan, 2020 1 commit
  18. 20 Dec, 2019 1 commit
  19. 16 Dec, 2019 1 commit
  20. 28 Nov, 2019 4 commits
  21. 24 Nov, 2019 1 commit
  22. 11 Nov, 2019 1 commit
  23. 07 Nov, 2019 1 commit
  24. 23 Oct, 2019 1 commit
  25. 19 Oct, 2019 1 commit
  26. 15 Oct, 2019 1 commit
  27. 14 Oct, 2019 1 commit
  28. 09 Oct, 2019 1 commit
  29. 22 Sep, 2019 1 commit
  30. 10 Sep, 2019 1 commit
  31. 07 Sep, 2019 1 commit
  32. 02 Sep, 2019 1 commit
    • Volker Krause's avatar
      Add color and palette APIs for Grantlee · 78ce302a
      Volker Krause authored
      Summary:
      This aims at enabling us to do the entire CSS styling via Grantlee, by
      providing access to palette colors, by offering color operations and by
      allowing to convert colors to CSS compatible strings.
      
      Most of this is fairly straightforward, the ugly one is the colorMix
      operator. I didn't find a way to do a two argument filter with both
      arguments referencing variables. Therefore it's done as a tag, which means
      chaining it to filters requires assigning it to a variable first. And while
      color mixing isn't used in the current messagelib CSS generation, it's
      heavily used in the Breeze style code (which is what I'm trying to follow
      for the itinerary plug-in at least).
      
      This isn't complete, there's more color operations in use in styling
      (such as desaturate or tint), and this still misses KColorScheme access.
      All that should be doable in a very similar fashion though, as needed.
      Using FilterExpression for the two inputs of the colorMix operator might
      also be an interesting future extension.
      
      This works with the last Grantlee release, on Grantlee master it fails
      without https://github.com/steveire/grantlee/pull/56.
      
      Reviewers: skelly, kde-pim
      
      Tags: #kde_pim
      
      Differential Revision: https://phabricator.kde.org/D23585
      78ce302a
  33. 26 Aug, 2019 1 commit
  34. 25 Aug, 2019 1 commit