Commit graph

70 commits

Author SHA1 Message Date
Henry Jameson f16ec75c70 opacity handling 2020-01-16 20:53:05 +02:00
Henry Jameson 29a0b4a593 fix shadow and opacity 2020-01-13 02:08:39 +02:00
Henry Jameson 9943e1cc43 removed references to v3compat 2020-01-13 02:02:31 +02:00
Henry Jameson 8d2f2866f6 computed colors support 2020-01-13 01:56:29 +02:00
Henry Jameson 39dd08e694 replace hsl's l with relative luminance for better lightness detection 2020-01-12 17:58:26 +02:00
Henry Jameson 88f83fc9fa overhaul how style-switcher makes state, removed tons of copy-paste 2020-01-12 17:46:07 +02:00
Henry Jameson a9a1fc37f5 fixes, cleanup 2020-01-12 04:00:41 +02:00
Henry Jameson 4bb1c98e0f Replaced v3compat with source to reduce code complexity. Made more slots
customizable. `theme` now contains a snapshot of theme generated for better
compatiblity and future-proofing
2020-01-02 20:36:10 +02:00
Henry Jameson 332d31dc02 support for "transparent" color keyword 2019-12-30 00:45:48 +02:00
Henry Jameson 6e11924c27 underlay customization, updated contrast calculations to account for alpha blending 2019-12-28 18:49:35 +02:00
Henry Jameson 1a78461443 fixed import-export 2019-12-28 17:02:34 +02:00
Henry Jameson e5a34870f0 Accent works 2019-12-28 15:55:42 +02:00
Henry Jameson 0dcb696e26 Merge remote-tracking branch 'upstream/develop' into emoji-optimizations
* upstream/develop: (95 commits)
  Lightbox/modal multi image improvements - #381
  '/api/pleroma/profile/mfa' -> '/api/pleroma/accounts/mfa'
  Add ability to change user's email
  translations-de-batch-1
  eu-translate update
  profile-banner rounding css, fixes #690
  fix indentation
  remove needless ref
  show preview popover when hover numbered replies
  refactor conditions
  do not make too many nested div
  add fetchStatus action
  refactor status loading logic
  split status preview popover into a separate component
  uninstall mobile-detect library
  listen both events
  minor css fix
  restrict distance at top side only
  set different trigger event in desktop and mobile by default
  fix eslint warnings
  ...
2019-11-08 19:48:31 +02:00
Henry Jameson 6511a744a2 arbitrary limit with option to overcome it 2019-10-08 21:38:27 +03:00
Henry Jameson e7532464e3 Replaced most trivial checkboxes with Checkbox component 2019-10-07 20:43:23 +03:00
Henry Jameson 0be86304d2 Fix tests, more replacing with mergedConfig 2019-10-06 23:28:30 +03:00
shpuld 476bf0afe1 Fix media timeline attachments being small by adding an option to not render background tabs in tab switcher 2019-01-31 17:00:31 +02:00
Henry Jameson c189a08dff added keep-colors option 2018-12-11 16:36:06 +03:00
Henry Jameson 51dccb7887 separated preview and exported from style_switcher 2018-12-11 02:46:17 +03:00
Henry Jameson 73aa9153d9 cleanup 2018-12-11 01:40:19 +03:00
Henry Jameson fe2fe09236 fixed v2 setting as default theme 2018-12-11 01:38:20 +03:00
Henry Jameson 80c0745558 some more themes, fixes 2018-12-02 10:22:25 +03:00
Henry Jameson 2ebc06e30f fixed keep checkboxes working when exporting 2018-11-26 21:07:22 +03:00
Henry Jameson bb39b99d65 fix panel link color, fix broken user profiles 2018-11-26 20:13:56 +03:00
Henry Jameson 572c874f5c theme separation 2018-11-26 02:29:08 +03:00
Henry Jameson 1a65895bfd initial font support 2018-11-25 21:48:16 +03:00
Henry Jameson e8536f3d95 clean up 2018-11-25 19:15:54 +03:00
Henry Jameson 883a76147a validity checks, no longer exploding when something is invalid 2018-11-25 19:12:38 +03:00
Henry Jameson b07d7d7229 reset buttons, better disabled for shadows 2018-11-23 11:36:36 +03:00
Henry Jameson 26b9f787bb added "keep opacity" option, fixed opacity loading, fixed missing shadows not
affecting the preview (i.e. previewing pleroma-dark when redmond is applied)
2018-11-23 10:17:01 +03:00
Henry Jameson 1059d9b602 radii v1 fixes 2018-11-23 09:02:10 +03:00
Henry Jameson 754d71ec19 added checkboxes to keep current roundness and shadows, also cleaned up how
shadows/roundness are reset when switching themes
2018-11-23 08:24:55 +03:00
Henry Jameson 91ea9b7b0e checkbox radius 2018-11-23 07:28:53 +03:00
Henry Jameson 631b8433c0 bundling v2 themes works 2018-11-22 04:37:49 +03:00
Henry Jameson 379144f4ab fix for zero-state for shadow-control 2018-11-22 03:55:45 +03:00
Henry Jameson 18e0828ee7 last shadow override i wanted to make for now. also small tweak 2018-11-21 21:40:45 +03:00
Henry Jameson 73a9370710 fixed and updated roundness tab 2018-11-21 03:14:59 +03:00
Henry Jameson d7af2c8419 mentioned bug in tab-switcher, made shadow-control work in zero-state 2018-11-20 23:25:38 +03:00
Henry Jameson 32132e225c localization and small fixes 2018-11-20 20:58:20 +03:00
Henry Jameson 56fec664a9 cleanup and optimization 2018-11-19 20:22:46 +03:00
Henry Jameson a8180d03be it works, now to clean it up 2018-11-19 18:15:27 +03:00
Henry Jameson a5b4f31c12 shadow control initial stuff. not done yet tho 2018-11-19 04:40:25 +03:00
Henry Jameson edb429e307 cleanup and fixes 2018-11-15 17:17:20 +03:00
Henry Jameson e7fe2dc9f9 collateral fixes, removed alpha control for alerts, added contrast text
generation for alerts, updated getTextColor to also have fallback to black/white
if resulting contrast isn't passable (only when inverting lightness!), updated
UI to use tabs.
2018-11-14 19:39:17 +03:00
Henry Jameson 1723f427f5 updates 2018-11-13 16:30:01 +03:00
Henry Jameson 7b657fcccd added contrasts for rgbo 2018-10-21 15:25:21 +03:00
Henry Jameson 4b7b7d9905 cleanup, documentation, contrast taking alpha into account. 2018-10-10 05:39:02 +03:00
Henry Jameson 87e98772b0 initial contrast display support 2018-10-10 00:07:28 +03:00
Henry Jameson 4d77b0c86b Transparency works without exploding now. All nice. 2018-10-07 22:03:34 +03:00
Henry Jameson 96804d42f0 Some themeing is working!! 2018-10-07 19:59:22 +03:00