Jeremy Ruston
7513e4426c
Allow text editor type=color for colours not in hex RGB format
...
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/color#value
2025-01-25 11:03:53 +00:00
Rhys-T
94b325f41f
Fix: Don't set dirty flag when shadow tiddler changes ( #8903 )
...
Adds `shadow` and `normal` flags to each entry in `changedTiddlers`,
indicating whether the corresponding version of the tiddler has changed.
Makes the saver handler ignore any changes that aren't flagged `normal`.
Fixes #8902 .
2025-01-25 10:59:51 +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
407e58f837
Add a basic dark palette
...
Obviously some things are hardcoded at the moment
2025-01-24 11:17:55 +00:00
Jeremy Ruston
9588b7f1a3
Autocompile palettes when they change
2025-01-24 11:16:31 +00:00
Jeremy Ruston
28c1e77b60
Make sure rootwidget is available before background actions start
2025-01-24 11:15:27 +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
62fb916a68
Merge branch 'master' into colour-improvements
2025-01-23 14:37:23 +00:00
Jeremy Ruston
3614236cfc
Paldette and style tweaks
2025-01-21 16:36:00 +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
55d9e92032
Edit text widget shouldn't fully refresh when default attribute changes
2025-01-09 10:51:02 +00:00
Jeremy Ruston
2edcf0f46b
Refactor TwentyTwenties editor
2025-01-09 10:50:37 +00:00
Jeremy Ruston
69363bf7ef
Palette manager should recompile palette on edits
2025-01-08 21:38:08 +00:00
Jeremy Ruston
2b0c634fb8
Refactor actions for recompiling current palette
2025-01-08 21:37:44 +00:00
Jeremy Ruston
28167adc22
Add a palette that automatically switches between dark and light
...
Will requires #7999 to work fully; for the moment when you switch between dark and light you will see the preview change, and then next time you select the palette it will be in the correct mode
2025-01-08 16:02:05 +00:00
Jeremy Ruston
bd4b3e4107
Fix some old-style palette references
2025-01-08 16:00:29 +00:00
Jeremy Ruston
2cbd1080fa
Fix more TwentyTwenties entries
2025-01-08 15:57:39 +00:00
Jeremy Ruston
a4293068bf
Clarify method name
2025-01-08 14:49:19 +00:00
Jeremy Ruston
6b39d6aa43
Fix editing colours that are not in 6 digit hex format
...
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/color#value
2025-01-08 09:59:04 +00:00
Jeremy Ruston
5d1cf251b9
Add best contrast operator
2025-01-07 17:40:23 +00:00
Mario Pietsch
4478f445a5
unusedtitle trim title if needed ( #8882 )
2025-01-07 16:26:02 +00:00
Jeremy Ruston
f8a8f00f52
Update for 2025
2025-01-05 14:35:27 +00:00
Jeremy Ruston
c02c82557b
Add a primitive custom palette editor
2025-01-02 17:10:51 +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
2558dc0b10
TwentyTwenties palette: use interpolation
2024-12-22 19:20:05 +00:00
Jeremy Ruston
664c6fd5d0
Initial commit ( #8843 )
...
Fixes #8842
2024-12-22 18:53:06 +00:00
Leilei332
ec0c91bca6
Further fix html lang attribute ( #8835 )
2024-12-21 11:13:00 +00:00
Jeremy Ruston
2eee3bfcd6
Merge branch 'master' into colour-improvements
2024-12-21 09:48:10 +00:00
Leilei332
49a33ae467
Fix switching language should not make the lang attribute empty ( #8831 )
...
* Fix switching language should not make the lang attribute empty
* Use name field
2024-12-20 14:25:16 +00:00
Théophile Desmedt
e8a23e9bcc
Improve link-dropdown.tid - Replace vars and set with let widget, streamline function usage ( #8821 )
...
* cleanup: Apply substitution more systematically
* change vars and set to let widget
* use attribute substitution instead of a function
2024-12-15 22:11:36 +00:00
Jeremy Ruston
2685fa7c4e
Improvements to TwentyTwenties palettes
...
Still a work in progress, but getting more coherent
2024-12-15 18:55:17 +00:00
Jeremy Ruston
2640406f5b
Include contrast value in contrast errors
2024-12-15 18:48:48 +00:00
Jeremy Ruston
c1e36a1e5f
Add colour-interpolate operator
2024-12-15 18:48:28 +00:00
Jeremy Ruston
ae1d9f5b86
Add colour-get-oklch operator
2024-12-15 13:04:33 +00:00
Jeremy Ruston
1df0ac486b
Refactor colour-oklch operator to colour-set-oklch
2024-12-15 11:56:49 +00:00
Jeremy Ruston
b1fcb18d9e
Refactor for clearer variable names
2024-12-15 11:49:23 +00:00
Leilei332
3ee1b0bd26
Tabindex support ( #8819 )
...
* Tabindex support
* Add docs
* Fix refresh
2024-12-15 07:54:55 +00:00
Jeremy Ruston
5a6eea7fa2
Make the alert and notification previews be optional
...
Via some future UI
2024-12-14 17:33:02 +00:00
Jeremy Ruston
6fe16bc71a
Fix colour for site title
2024-12-14 17:32:43 +00:00
Jeremy Ruston
6a66c49261
Merge branch 'master' into colour-improvements
2024-12-14 17:12:51 +00:00
Leilei332
c886cfe6f5
Add disabled parameter to select widget and browse widget ( #8816 )
...
* Add disabled parameter to select widget and browse widget
* Add disabled attribute to edit-shortcut
2024-12-14 16:40:31 +00:00
Leilei332
1f34c62828
Flexoki palette update ( #8807 )
...
* Flexoki palette update
* Add TiddlyDesktop colors
* Add highlight colors
2024-12-08 09:11:29 +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
dd70e37132
Add DiffTextWidget colors to some palettes ( #8661 )
...
* Add difftextwidget colors to Solarized palettes
* Add diff colors from https://wikilabs.github.io/editions/palette-manager/
* Add diff colors to Solar Flare palette & use yellow color for diff-invisible.
* Update solarized and solar flare palette.
2024-12-05 12:40:48 +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
Mario Pietsch
42b2b9fd20
Add tc-test-case class to testcase-widget ( #8744 )
...
* add tc-tesc-case class to testcase-widget
* add default and custom class to testcase-widget
* Testcase widget update tests for default and custom class definitions
2024-12-05 12:33:27 +00:00
John Robinette
c7f741d4f8
fix: make HTTP Basic Auth aware of path-prefix ( #8789 )
2024-12-05 12:31:32 +00:00