mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-10 01:10:28 +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:
parent
bd4b3e4107
commit
28167adc22
12
core/palette-templates/TwentyTwentiesAutoDark.tid
Normal file
12
core/palette-templates/TwentyTwentiesAutoDark.tid
Normal file
@ -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]]
|
Loading…
Reference in New Issue
Block a user