1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-10 09:20:26 +00:00
Commit Graph

4849 Commits

Author SHA1 Message Date
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
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
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
Michael McDermott
81a972dc46
Create setting for default type of draft tiddlers (#8783)
* Proof of concept to change type of tiddlers created by editing missing.

* Adding a setting for default type so that it can be overridden for other wikis.

* Incorporating PR feedback.

* Adding documentation tiddler for new setting.

* Added documentation to the markdown plugin documentation.

* Added documentation to the markdown plugin documentation.

* Added notice to markdown edition.
2024-11-27 16:26:53 +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
cd5bbcda8d Add contrast checks to TwentyTwenties palette
I think I might be building a programming language for writing palettes...
2024-11-18 18:15:53 +00:00
Jeremy Ruston
aa69c3ae91 Add colour-contrast operator 2024-11-18 18:15:20 +00:00
Jeremy Ruston
76f2decf8b Start fixing the TwentyTwenties palettes 2024-11-18 16:40:49 +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
32ac67166a Add alert preview 2024-11-17 14:45:52 +00:00
Jeremy Ruston
b2d0c22d75 Componentise more preview components 2024-11-17 14:45:41 +00:00
Jeremy Ruston
cfabc92945 Update contrastcolour macro to use color.js 2024-11-16 14:37:14 +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
8b59b6166e Palette tweaks
These filtered palettes are still just experiments with the techniques, and not yet a serious palette
2024-11-14 17:45:10 +00:00
Jeremy Ruston
3faf9bae5c Fix previews of filtered palettes 2024-11-14 17:40:58 +00:00
Jeremy Ruston
ad1b0fdddd Palette tweaks 2024-11-12 19:26:20 +00:00
Jeremy Ruston
1db8cf7fe5 Merge branch 'master' into colour-improvements 2024-11-12 19:18:54 +00:00
Jeremy Ruston
e43cccc432 Do not wikify "TiddlyWiki" in social media card UI 2024-11-12 11:55:40 +00:00