mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-08-30 14:48:54 +00:00
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
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
title: $:/palettes/TwentyTwenties/AutoDark
|
||||
name: TwentyTwenties (Automatic Darkmode)
|
||||
description: Modern and flexible, Automatically Darkish
|
||||
tags: $:/tags/Palette
|
||||
type: application/x-tiddler-dictionary
|
||||
color-scheme: dark
|
||||
palette-type: modern
|
||||
palette-import: $:/palettes/TwentyTwenties
|
||||
|
||||
base-paper: [{$:/info/darkmode}match[yes]then[#111122]else[#FCFFF0]]
|
||||
base-background: [{$:/info/darkmode}match[yes]then[#f5f0f9]else[#875ea9]]
|
||||
base-ink: [{$:/info/darkmode}match[yes]then[#FCFFF0]else[#111122]]
|
||||
Reference in New Issue
Block a user