Add color-scheme: dark/light to the root element ... (#5720)

publishing-framework
Simon Huber 2021-05-25 23:22:21 +02:00 zatwierdzone przez GitHub
rodzic c6ed4aa84e
commit eaf1da66b6
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
19 zmienionych plików z 22 dodań i 0 usunięć

Wyświetl plik

@ -1,5 +1,6 @@
title: $:/palettes/Blanca
name: Blanca
color-scheme: light
description: A clean white palette to let you focus
tags: $:/tags/Palette
type: application/x-tiddler-dictionary

Wyświetl plik

@ -1,5 +1,6 @@
title: $:/palettes/Blue
name: Blue
color-scheme: light
description: A blue theme
tags: $:/tags/Palette
type: application/x-tiddler-dictionary

Wyświetl plik

@ -1,5 +1,6 @@
title: $:/palettes/Muted
name: Muted
color-scheme: light
description: Bright tiddlers on a muted background
tags: $:/tags/Palette
type: application/x-tiddler-dictionary

Wyświetl plik

@ -1,5 +1,6 @@
title: $:/palettes/ContrastLight
name: Contrast (Light)
color-scheme: light
description: High contrast and unambiguous (light version)
tags: $:/tags/Palette
type: application/x-tiddler-dictionary

Wyświetl plik

@ -1,5 +1,6 @@
title: $:/palettes/ContrastDark
name: Contrast (Dark)
color-scheme: dark
description: High contrast and unambiguous (dark version)
tags: $:/tags/Palette
type: application/x-tiddler-dictionary

Wyświetl plik

@ -1,5 +1,6 @@
title: $:/palettes/CupertinoDark
tags: $:/tags/Palette
color-scheme: dark
name: Cupertino Dark
description: A macOS inspired dark palette
type: application/x-tiddler-dictionary

Wyświetl plik

@ -5,6 +5,7 @@ name: DarkPhotos
tags: $:/tags/Palette
title: $:/palettes/DarkPhotos
type: application/x-tiddler-dictionary
color-scheme: light
alert-background: #ffe476
alert-border: #b99e2f

Wyświetl plik

@ -1,5 +1,6 @@
title: $:/palettes/DesertSand
tags: $:/tags/Palette
color-scheme: light
name: Desert Sand
description: A desert sand palette
type: application/x-tiddler-dictionary

Wyświetl plik

@ -1,5 +1,6 @@
title: $:/palettes/GruvboxDark
name: Gruvbox Dark
color-scheme: dark
description: Retro groove color scheme
tags: $:/tags/Palette
type: application/x-tiddler-dictionary

Wyświetl plik

@ -1,5 +1,6 @@
title: $:/palettes/Nord
name: Nord
color-scheme: dark
description: An arctic, north-bluish color palette.
tags: $:/tags/Palette
type: application/x-tiddler-dictionary

Wyświetl plik

@ -1,5 +1,6 @@
title: $:/palettes/Rocker
name: Rocker
color-scheme: dark
description: A dark theme
tags: $:/tags/Palette
type: application/x-tiddler-dictionary

Wyświetl plik

@ -1,5 +1,6 @@
title: $:/palettes/SolarFlare
name: Solar Flare
color-scheme: light
description: Warm, relaxing earth colours
tags: $:/tags/Palette
type: application/x-tiddler-dictionary

Wyświetl plik

@ -4,6 +4,7 @@ type: application/x-tiddler-dictionary
description: Precision dark colors for machines and people
license: MIT, Ethan Schoonover, https://github.com/altercation/solarized/blob/master/LICENSE
name: SolarizedDark
color-scheme: dark
alert-background: #073642
alert-border: #93a1a1

Wyświetl plik

@ -4,6 +4,7 @@ type: application/x-tiddler-dictionary
description: Precision colors for machines and people
license: MIT, Ethan Schoonover, https://github.com/altercation/solarized/blob/master/LICENSE
name: SolarizedLight
color-scheme: light
alert-background: #eee8d5
alert-border: #586e75

Wyświetl plik

@ -3,6 +3,7 @@ tags: $:/tags/Palette
type: application/x-tiddler-dictionary
description: Cold, spartan day colors
name: Spartan Day
color-scheme: light
alert-background: <<colour background>>
alert-border: <<colour very-muted-foreground>>

Wyświetl plik

@ -3,6 +3,7 @@ tags: $:/tags/Palette
type: application/x-tiddler-dictionary
description: Dark spartan colors
name: Spartan Night
color-scheme: dark
alert-background: <<colour background>>
alert-border: <<colour very-muted-foreground>>

Wyświetl plik

@ -4,6 +4,7 @@ author: Thomas Elmiger
type: application/x-tiddler-dictionary
name: Twilight
description: Delightful, soft darkness.
color-scheme: dark
alert-background: rgb(255, 255, 102)
alert-border: rgb(232, 232, 125)

Wyświetl plik

@ -3,6 +3,7 @@ name: Vanilla
description: Pale and unobtrusive
tags: $:/tags/Palette
type: application/x-tiddler-dictionary
color-scheme: light
alert-background: #ffe476
alert-border: #b99e2f

Wyświetl plik

@ -333,6 +333,10 @@ table tfoot tr td {
height: 600px;
}
:root {
color-scheme: {{{ [{$:/palette}get[color-scheme]] }}};
}
/*
** Links
*/