From f09cc75fb6e59c65182d1588adfd081a7466923f Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Sun, 19 Jul 2026 13:23:45 +0100 Subject: [PATCH] Another palette typo --- core/palettes/AutoToggle.tid | 2 +- .../tiddlers/filters/examples/colour-set-oklch.tid | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 editions/tw5.com/tiddlers/filters/examples/colour-set-oklch.tid diff --git a/core/palettes/AutoToggle.tid b/core/palettes/AutoToggle.tid index fb3b552df..17cab86c5 100644 --- a/core/palettes/AutoToggle.tid +++ b/core/palettes/AutoToggle.tid @@ -6,5 +6,5 @@ type: application/x-tiddler-dictionary color-scheme: [{$:/info/browser/darkmode}!match[yes]then[light]else[dark]] settings: $:/palettes/AutoToggle/Settings palette-import@light: $:/palettes/TwentyTwenties -palette-import@dark: $:/palettes/TwentyTwentiesDark +palette-import@dark: $:/palettes/TwentyTwenties/Dark category: 2026 diff --git a/editions/tw5.com/tiddlers/filters/examples/colour-set-oklch.tid b/editions/tw5.com/tiddlers/filters/examples/colour-set-oklch.tid new file mode 100644 index 000000000..9fb720249 --- /dev/null +++ b/editions/tw5.com/tiddlers/filters/examples/colour-set-oklch.tid @@ -0,0 +1,10 @@ +created: 20260719103738000 +modified: 20260719103738000 +tags: [[colour-set-oklch Operator]] [[Operator Examples]] +title: colour-set-oklch Operator (Examples) +type: text/vnd.tiddlywiki + +<<.operator-example 1 "[[red]colour-set-oklch:h[240]]" "changing the hue of red to 240 degrees gives a blue">> +<<.operator-example 2 "[[red]colour-set-oklch:l[0.9]]" "raising the lightness of red to 0.9 gives a pink">> +<<.operator-example 3 "[[red]colour-set-oklch:c[0.05]]" "lowering the chroma of red to 0.05 gives a muted grey">> +<<.operator-example 4 "[[#79B5C4]colour-set-oklch:l[0.3]]" "setting an absolute lightness of 0.3 darkens this pale blue">>