Jeremy Ruston
6e4d7aa7f1
Give the AutoToggle palette a custom editor
2025-02-04 21:03:13 +00:00
Jeremy Ruston
998d5c8d8f
The lingo macro shouldn't mess with currentTiddler
2025-02-04 21:02:47 +00:00
Jeremy Ruston
38865a40ad
Palette should autocompile when the palette tiddler itself changes
2025-02-04 20:00:17 +00:00
Jeremy Ruston
a5c4d90154
Refactor palette switcher a little
2025-02-04 19:59:39 +00:00
Jeremy Ruston
2e5a988bb3
Clarify comment
2025-02-04 16:44:07 +00:00
Jeremy Ruston
c7f9dbfc29
Compile colour scheme handling
2025-02-04 16:26:15 +00:00
Jeremy Ruston
a053f03818
Remove logging
2025-02-04 16:10:38 +00:00
Jeremy Ruston
431149d20c
Introduce dynamic colour scheme mechanism
...
Also introduces palette inheritance
This finally allows us to have a palette that automatically switches between dark and light variants. The mechanism is more flexible that that, and allows for multiple colour schemes (night, morning, day, evening, for example) with automatic switching between them.
2025-02-03 13:26:25 +00:00
Jeremy Ruston
139b61fff1
Proper recursion detection for palettes
2025-01-28 19:18:58 +00:00
Jeremy Ruston
c1fd82f50f
Minor cleanups
2025-01-28 15:44:42 +00:00
Jeremy Ruston
effeed7ade
Remove extraneous logging
2025-01-27 21:47:03 +00:00
Jeremy Ruston
546e438943
Allow background actions to be scoped by platform
2025-01-27 21:45:17 +00:00
Jeremy Ruston
efcd23993e
Merge branch 'master' into colour-improvements
2025-01-27 16:55:03 +00:00
Leilei332
67e8670c73
Extend copy to clipborad function to support customized mime types ( #8912 )
...
* Extend copy to clipborad function to support customized mime types
* Remove function default parameter syntax
* Add plainText option
* Use plainText name
* Set "text/plain" data only when it exists
* Docs update
* Docs update
2025-01-27 16:45:26 +00:00
Jeremy Ruston
0c8aad49f9
Replace accumulate-palette-entries with new changecount filter
...
Much more direct and efficient
2025-01-27 11:09:18 +00:00
Jeremy Ruston
317e1245c8
Introduce an improved but temporary cache invalidation method for palettes
2025-01-26 17:54:47 +00:00
Jeremy Ruston
8957424e55
Start adding tests for palette operations
2025-01-25 17:28:00 +00:00
Jeremy Ruston
0dfde0660a
Detect darkmode at startup
2025-01-24 18:34:55 +00:00
Jeremy Ruston
8c619fd86e
Compile palette at startup
2025-01-24 18:32:00 +00:00
Jeremy Ruston
9588b7f1a3
Autocompile palettes when they change
2025-01-24 11:16:31 +00:00
Jeremy Ruston
0baf395030
Merge background actions and media tracker from #8555
...
The changes in #8555 are needed in order to be able to offer the desired user experience for dark mode changes.
2025-01-23 18:16:10 +00:00
Jeremy Ruston
c75f50e99a
Fix palette switcher used in the sidebar
...
by adding a new "thumbnails" parameter to the template
2025-01-09 14:51:48 +00:00
Jeremy Ruston
2b0c634fb8
Refactor actions for recompiling current palette
2025-01-08 21:37:44 +00:00
Jeremy Ruston
bd4b3e4107
Fix some old-style palette references
2025-01-08 16:00:29 +00:00
Jeremy Ruston
b90b449ceb
Use interpolation to derive colours
2025-01-02 17:10:29 +00:00
Jeremy Ruston
6a06df79c4
Fix palette switcher
2024-12-27 12:00:50 +00:00
Jeremy Ruston
2640406f5b
Include contrast value in contrast errors
2024-12-15 18:48:48 +00:00
Jeremy Ruston
fc695e7a50
Merge branch 'master' into colour-improvements
2024-12-05 17:38:50 +00:00
Leilei332
a9940506cf
Extend rendered-plain-text template to support more languages. ( #8780 )
2024-12-05 12:41:24 +00:00
Leilei332
2801eee905
Migrate some old macros to new syntax ( #8768 )
...
* Migrate some old macros to new syntax
* Rewrite more macros.
* Update image-picker
* Rewrite tabs macro
* Use more new syntax
* Revert thumbnail macro
* Avoid duplicated whitespace pragma
* Revert tabs macro
2024-12-05 12:40:13 +00:00
Jeremy Ruston
9efcad9360
Display test results at the bottom of the palette switcher
2024-11-19 09:09:11 +00:00
Jeremy Ruston
3507b0f952
Fix filtered palette previews
2024-11-17 16:11:10 +00:00
Jeremy Ruston
b0828cc099
Add notification preview
2024-11-17 16:10:57 +00:00
Jeremy Ruston
b2d0c22d75
Componentise more preview components
2024-11-17 14:45:41 +00:00
Jeremy Ruston
809465b6e2
Merge branch 'master' into colour-improvements
2024-11-16 14:22:19 +00:00
Jeremy Ruston
de9a12b8f9
Preparing for v5.3.7
2024-11-15 17:21:22 +00:00
Jeremy Ruston
3faf9bae5c
Fix previews of filtered palettes
2024-11-14 17:40:58 +00:00
Jeremy Ruston
46da1619af
Add aria labels to palette switcher
...
Co-authored-by: Mario Pietsch <pmariojo@gmail.com>
2024-11-11 15:52:55 +00:00
Jeremy Ruston
bad9517153
Another fix for filtered palette previews
2024-11-10 16:52:49 +00:00
Jeremy Ruston
297ae7eccb
Fix preview of filtered palettes
2024-11-10 09:52:43 +00:00
Jeremy Ruston
b54d56ec47
Support for imported palettes
...
Also consolidate the palette entries into a temporary palette before compiling them
Note that imported palettes is not currently recursive
2024-11-09 19:03:54 +00:00
Jeremy Ruston
4e2f2bebd0
Avoid redefining the colour function by adding a configuration variable
2024-11-09 17:02:00 +00:00
Jeremy Ruston
f88915728f
Introduce new static palette architecture
2024-11-09 16:15:33 +00:00
Jeremy Ruston
1be89a28bf
Make preview templates tag driven and extensible
2024-11-08 09:12:48 +00:00
Jeremy Ruston
250e57cd79
Remove wikify operator and refactor palette preview
...
The implementation of the palette preview is much less elegant like this, but it does work
2024-11-07 18:30:39 +00:00
Jeremy Ruston
ff5c846130
Indentation for palette switcher
2024-11-04 18:12:00 +00:00
Jeremy Ruston
4445111a08
Merge branch 'master' into colour-improvements
2024-10-30 20:38:58 +00:00
Jeremy Ruston
151f61adc0
Palette chooser styling tweaks
2024-10-25 11:03:21 +01:00
Jeremy Ruston
fc369415e4
Improve colour palette switcher with previews
2024-10-25 09:28:33 +01:00
Jeremy Ruston
b5a22e3e9e
Remove obsolete comment
2024-10-25 09:28:17 +01:00