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 title: $:/palettes/Blanca
name: Blanca name: Blanca
color-scheme: light
description: A clean white palette to let you focus description: A clean white palette to let you focus
tags: $:/tags/Palette tags: $:/tags/Palette
type: application/x-tiddler-dictionary type: application/x-tiddler-dictionary

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

@ -1,5 +1,6 @@
title: $:/palettes/SolarFlare title: $:/palettes/SolarFlare
name: Solar Flare name: Solar Flare
color-scheme: light
description: Warm, relaxing earth colours description: Warm, relaxing earth colours
tags: $:/tags/Palette tags: $:/tags/Palette
type: application/x-tiddler-dictionary 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 description: Precision dark colors for machines and people
license: MIT, Ethan Schoonover, https://github.com/altercation/solarized/blob/master/LICENSE license: MIT, Ethan Schoonover, https://github.com/altercation/solarized/blob/master/LICENSE
name: SolarizedDark name: SolarizedDark
color-scheme: dark
alert-background: #073642 alert-background: #073642
alert-border: #93a1a1 alert-border: #93a1a1

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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