Commit graph

141 commits

Author SHA1 Message Date
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
Henry Jameson
020c6d1bcf all the manual fixes 2019-07-07 00:54:17 +03:00
Henry Jameson
8d6750d9c2 eslint --fix --ext .js,.vue src 2019-07-05 10:17:44 +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
Shpuld Shpludson
67c2a607aa Feature/bigger icons for mobile / #211 2018-12-18 18:26:14 +00:00
Henry Jameson
83b85cd412 better layouting for import-export, error display fixes 2018-12-11 16:36:27 +03: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
6636c0f551 mobile fixes 2018-12-05 12:01:24 +03:00
Henry Jameson
80c0745558 some more themes, fixes 2018-12-02 10:22:25 +03:00
Henry Jameson
67ca21b2e6 localization strings, fixes 2018-12-02 09:38:40 +03:00
Henry Jameson
bee738c815 making inset shadows work on avatars again 2018-12-02 08:47:55 +03:00
Henry Jameson
406df4399b avatars shadows, also allows drop-shadow use 2018-11-30 16:39:53 +03:00
Henry Jameson
b45fc6c652 updated preview window 2018-11-27 05:01:18 +03:00
Henry Jameson
2ebc06e30f fixed keep checkboxes working when exporting 2018-11-26 21:07:22 +03:00
Henry Jameson
d64f4ab363 fix preview input text using wrong string 2018-11-26 20:14:53 +03:00
Henry Jameson
bb39b99d65 fix panel link color, fix broken user profiles 2018-11-26 20:13:56 +03:00
Henry Jameson
9a9dc47fc5 better preview, collateral fixes 2018-11-26 03:19:04 +03:00
Henry Jameson
572c874f5c theme separation 2018-11-26 02:29:08 +03:00
Henry Jameson
1087741b0d font control args to allow passing an option list of fonts, for future use 2018-11-25 22:39:06 +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
1a8d24d649 some help strings 2018-11-25 17:21:53 +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
92afd6af12 layout fixes 2018-11-21 22:01:34 +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
a79d9d9774 attempted fix^W workaround for tab-switcher bug 2018-11-21 04:14:10 +03:00
Henry Jameson
73a9370710 fixed and updated roundness tab 2018-11-21 03:14:59 +03:00
Henry Jameson
0184d5fff0 whoops 2018-11-20 23:34:04 +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
2609c0d0d2 unification of stylings 2018-11-20 22:14:49 +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
Henry Jameson
5441766c3c fix 2018-10-04 18:27:27 +03:00
Henry Jameson
0a4b07652a trying to fix transition 2018-10-04 18:16:14 +03:00
Henry Jameson
fb29e7c73d more workings and even less explosions. 2018-10-03 21:21:48 +03:00
Henry Jameson
f78a5158e1 something works without exploding and i'm tired already 2018-10-02 21:43:58 +03:00
Henry Jameson
cff4177bf3 settings page update 2018-08-28 15:38:07 +03:00
kaniini
9982376f9a Merge branch 'feature/theme-export-import' into 'develop'
Theme import & export

Closes #119

See merge request pleroma/pleroma-fe!290
2018-08-20 00:03:35 +00:00
Henry Jameson
3373d28701 Fixes selects having unreadable text on some browsers/OSes. Added bonus: theme
switcher select now has styled options that show preview of what theme's bg/fg
colors are
2018-08-05 09:18:04 +03:00
Ole Bertram
2a87e29180
Add validation of the imported theme and the corresponding warning message 2018-07-04 14:25:40 +02:00
Ole Bertram
d2b79856c6
Add theme import feature 2018-06-28 03:28:23 +02:00
Ole Bertram
f36984c4a4
Refactor theme settings state initialization 2018-06-28 02:07:50 +02:00
Ole Bertram
29f69de240
Add theme export feature 2018-06-28 01:23:19 +02:00
Henry Jameson
a6fa913f45 Input fields separate radii 2018-05-12 15:19:53 +03:00
Henry Jameson
59a05081c5 some styles fixes 2018-04-08 03:43:07 +03:00
Henry Jameson
cc02672e14 made alerts use red with transparent theme red. some UI improvs 2018-04-08 03:22:03 +03:00
Henry Jameson
2e95193559 localisations and stuff 2018-04-08 02:52:15 +03:00
Henry Jameson
b23bd076c3 raddi customization UI 2018-04-08 02:39:39 +03:00
Henry Jameson
65f82cf294 <select> styling (abeit somewhat not pretty code-wise), default colors for
default schemes.
2018-04-07 21:58:29 +03:00
Henry Jameson
529643d35a indents 2018-04-07 19:30:27 +03:00
Henry Jameson
33b1d85921 border-radii moved to variables, made rgbo colors use theme data, customizable
from settings screen.
2018-04-07 16:40:08 +03:00
Henry Jameson
acdb5e5c7a cleanup. added fallback mechanism for IE11 and unsupported browsers. 2018-04-07 16:36:35 +03:00
Henry Jameson
aa0564406a getting rid of baseXX, some small fixes. Seems to be usable. 2018-04-07 16:34:11 +03:00
Henry Jameson
338245eb63 updated css and stuff for color picker in styles 2018-02-03 22:23:38 +03:00
Henry Jameson
71bdbdf146 wip, styles are a bit broken tho 2018-02-03 21:15:43 +03:00
shpuld
f6b2f6eaee Fix usercard from breaking with certain colors, clean up code structure a bit. 2017-11-20 22:45:09 +02:00
shpuld
a7500410ff Fix color inputs to wrap on mobile, fix timeline background color to not clash with panel headings. 2017-11-18 17:41:43 +02:00
shpuld
3534a9a62f Make defaulting to pleroma-dark work when config.json has an invalid theme. Remove logging. 2017-11-18 13:27:37 +02:00
shpuld
d65d6e5da4 Clean up, use translations, persist theme, add more presets. 2017-11-18 13:13:51 +02:00
shpuld
21b31cf599 Move custom theming from settings to style-switcher, remove usage of custom .css files, use styles.json instead. 2017-11-17 17:24:42 +02:00
Roger Braun
cd0925747d Show current theme in theme selector. 2017-02-17 18:21:02 +01:00
Roger Braun
1d64b76211 Add basic configuration module, make it work for title and theme. 2017-02-14 22:21:23 +01:00
Roger Braun
3be7a3ea85 Align style switcher. 2017-01-17 14:41:13 +01:00
Roger Braun
d644887d4c Add styleSwitcher. 2017-01-16 18:57:03 +01:00