Commit graph

448 commits

Author SHA1 Message Date
Henry Jameson
f4d29b5d5e use draft logic for virtualDirective to catch errors 2024-10-18 13:43:33 +03:00
Henry Jameson
098c6af7ef pass computeColor into shadow control, fix shadow switching types due to invalid shadow color 2024-10-12 01:26:29 +03:00
Henry Jameson
1a38e0273e fix filename not applying 2024-10-11 21:23:46 +03:00
Henry Jameson
14fdd34964 Use a bit saner way of exporting from setup() into template 2024-10-11 21:23:46 +03:00
Henry Jameson
1ec1ba8d3e proper color fallbacks 2024-10-11 20:48:46 +03:00
Henry Jameson
eeb2dbcb60 fix SelectMotion not working properly on palettes/vDirectives 2024-10-11 17:22:33 +03:00
Henry Jameson
202d77e0cc Import/export works! 2024-10-09 23:54:34 +03:00
Henry Jameson
78e4f0ecd8 fix setting components not working with v-model 2024-10-09 23:53:30 +03:00
Henry Jameson
5a2080570f variables work + i18n cleanup 2024-10-09 09:59:37 +03:00
Henry Jameson
54c740c252 layout 2024-10-08 22:25:55 +03:00
Henry Jameson
707ed633e4 overall preview + layout changes 2024-10-08 22:13:15 +03:00
Henry Jameson
4f66731723 lookin' good 2024-10-07 02:16:24 +03:00
Henry Jameson
f0e5b0be1e cleanup 2024-10-07 01:33:31 +03:00
Henry Jameson
97c058ebda neater looks for shadow-related things 2024-10-07 01:30:53 +03:00
Henry Jameson
cfe52185f7 neat-looking variables tab (sans shadow editor) 2024-10-07 00:57:54 +03:00
Henry Jameson
756ea63b67 variables stuff seem to be at least somewhat working 2024-10-06 20:21:13 +03:00
Henry Jameson
8725de3e91 got it working again 2024-10-06 18:56:45 +03:00
Henry Jameson
a6863248bb variables + consistency in code 2024-10-06 15:19:30 +03:00
Henry Jameson
7e684ea3ff proper exporter 2024-10-06 03:32:08 +03:00
Henry Jameson
0f2bd39db8 cleanup 2024-10-06 03:31:59 +03:00
Henry Jameson
c58ed1036f remove i18n stuff.
first of all - it's too much work for me AND for translators
second of all - providing support would be a living hell nightmare
trying to understand what component it is in users's language that isn't english
2024-10-06 03:30:52 +03:00
Henry Jameson
bae4836349 palettes editor done 2024-10-06 01:16:24 +03:00
Henry Jameson
3f55c08693 work on palette editor 2024-10-06 00:51:02 +03:00
Henry Jameson
541affd459 lint 2024-10-05 18:40:59 +03:00
Henry Jameson
3d77860e57 moved the select motion stuff into its own component 2024-10-04 02:49:20 +03:00
Henry Jameson
c937736fea shadow editor now can handle expressions (functions and variables) 2024-10-04 00:27:53 +03:00
Henry Jameson
81d9537f9d show warning about palettes being unsupported when using v2 theme 2024-10-03 23:03:33 +03:00
Henry Jameson
13838a75a9 import of v2 on appearance tab works now 2024-10-03 02:16:55 +03:00
Henry Jameson
20e6382df6 fix states not showing, move palette out of the way 2024-10-03 00:53:50 +03:00
Henry Jameson
e876c98d5e lint 2024-10-02 16:30:07 +03:00
Henry Jameson
e8d0e45b5b it is working. finally. 2024-10-02 16:22:28 +03:00
Henry Jameson
ba4be2cb22 yet another massive overhaul on how themes are loaded/applied 2024-10-02 02:35:52 +03:00
Henry Jameson
f0957bdb4f palettes that actually work 2024-10-01 00:42:33 +03:00
Henry Jameson
07a48315a1 popover and palette 2024-09-30 15:11:43 +03:00
Henry Jameson
89b05cfc57 export/import PoC works 2024-09-30 00:16:47 +03:00
Henry Jameson
d2cce99086 palette editor done 2024-09-29 21:14:31 +03:00
Henry Jameson
d5571216fe comments 2024-09-29 19:37:53 +03:00
Henry Jameson
b599407b67 Shadows work now 2024-09-29 19:18:25 +03:00
Henry Jameson
9753db1c67 it works! 2024-09-29 03:20:14 +03:00
Henry Jameson
6230edcbec small fixes 2024-09-29 00:57:33 +03:00
Henry Jameson
487d9c447d fallback values 2024-09-28 15:22:59 +03:00
Henry Jameson
aa922faf62 small cleanup 2024-09-27 16:37:57 +03:00
Henry Jameson
415180e8fa Adding rules now works 2024-09-27 16:25:39 +03:00
Henry Jameson
fb40694e8e basic colors / settings present 2024-09-26 22:31:28 +03:00
Henry Jameson
ef795becf6 shadow editor now can display shadow information 2024-09-26 01:06:14 +03:00
Henry Jameson
e7eb1059c3 better display and also temporary fallback for lowerLevelBackground 2024-09-25 00:46:58 +03:00
Henry Jameson
e1d3ebc943 some initial drafts of component editor 2024-09-24 21:32:13 +03:00
Henry Jameson
22d3c13135 Merge branch 'shadow-control-2.0' into themes3-grand-finale-maybe 2024-09-24 18:09:44 +03:00
Henry Jameson
144d426864 some initial work on theme editor 2024-09-24 03:07:27 +03:00
tusooa
b14ba17256
Support displaying time in absolute format
This adds two config items: useAbsoluteTimeFormat (boolean) and
absoluteTimeFormatMinAge (string, number + unit ('d'|'h'|'m'|'s')).

When `useAbsoluteTimeFormat` is true, the Timeago component will display
absolute time if the time is at least `absoluteTimeFormatMinAge`
from now. If `longFormat` prop is true, the fully formatted time
is displayed. Otherwise, the format is determined by the `time` prop:
(1) if `time` is on the same day of now, display hour and minute;
(2) if `time` is in the same month of now, display day and hour;
(3) if `time` is in the same year of now, display month and day;
(4) otherwise, display year and month.

If it should display relative time, the format is the same as before.
2024-09-17 19:18:51 -04:00