1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-25 09:30:28 +00:00

Add button palette colours

We leave them blank by default so that we get the browser default
button colours
This commit is contained in:
Jermolene 2015-04-27 21:46:07 +01:00
parent df84e93283
commit 16301532bf
7 changed files with 26 additions and 2 deletions

View File

@ -10,6 +10,9 @@ alert-highlight: #881122
alert-muted-foreground: #b99e2f alert-muted-foreground: #b99e2f
background: #ffffff background: #ffffff
blockquote-bar: <<colour muted-foreground>> blockquote-bar: <<colour muted-foreground>>
button-background:
button-foreground:
button-border:
code-background: #f7f7f9 code-background: #f7f7f9
code-border: #e1e1e8 code-border: #e1e1e8
code-foreground: #dd1144 code-foreground: #dd1144

View File

@ -10,6 +10,9 @@ alert-highlight: #881122
alert-muted-foreground: #b99e2f alert-muted-foreground: #b99e2f
background: #fff background: #fff
blockquote-bar: <<colour muted-foreground>> blockquote-bar: <<colour muted-foreground>>
button-background:
button-foreground:
button-border:
code-background: #f7f7f9 code-background: #f7f7f9
code-border: #e1e1e8 code-border: #e1e1e8
code-foreground: #dd1144 code-foreground: #dd1144

View File

@ -10,6 +10,9 @@ alert-highlight: #881122
alert-muted-foreground: #b99e2f alert-muted-foreground: #b99e2f
background: #ffffff background: #ffffff
blockquote-bar: <<colour muted-foreground>> blockquote-bar: <<colour muted-foreground>>
button-background:
button-foreground:
button-border:
code-background: #f7f7f9 code-background: #f7f7f9
code-border: #e1e1e8 code-border: #e1e1e8
code-foreground: #dd1144 code-foreground: #dd1144

View File

@ -13,6 +13,9 @@ alert-highlight: #881122
alert-muted-foreground: #b99e2f alert-muted-foreground: #b99e2f
background: #ffffff background: #ffffff
blockquote-bar: <<colour muted-foreground>> blockquote-bar: <<colour muted-foreground>>
button-background:
button-foreground:
button-border:
code-background: #f7f7f9 code-background: #f7f7f9
code-border: #e1e1e8 code-border: #e1e1e8
code-foreground: #dd1144 code-foreground: #dd1144

View File

@ -10,6 +10,9 @@ alert-highlight: #881122
alert-muted-foreground: #b99e2f alert-muted-foreground: #b99e2f
background: #ffffff background: #ffffff
blockquote-bar: <<colour muted-foreground>> blockquote-bar: <<colour muted-foreground>>
button-background:
button-foreground:
button-border:
code-background: #f7f7f9 code-background: #f7f7f9
code-border: #e1e1e8 code-border: #e1e1e8
code-foreground: #dd1144 code-foreground: #dd1144

View File

@ -10,6 +10,9 @@ alert-highlight: #881122
alert-muted-foreground: #b99e2f alert-muted-foreground: #b99e2f
background: #ffffff background: #ffffff
blockquote-bar: <<colour muted-foreground>> blockquote-bar: <<colour muted-foreground>>
button-background:
button-foreground:
button-border:
code-background: #f7f7f9 code-background: #f7f7f9
code-border: #e1e1e8 code-border: #e1e1e8
code-foreground: #dd1144 code-foreground: #dd1144

View File

@ -37,6 +37,9 @@ background-size:` {{$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize}}`
html button { html button {
line-height: 1.2; line-height: 1.2;
color: <<colour button-foreground>>;
background: <<colour button-background>>;
border-color: <<colour button-border>>;
} }
/* /*
@ -105,9 +108,12 @@ dl dt {
margin-top: 6px; margin-top: 6px;
} }
textarea, input[type=text] { textarea,
input[type=text],
input[type=""],
input:not([type]) {
color: <<colour foreground>>; color: <<colour foreground>>;
background-color: <<colour background>>; background: <<colour background>>;
} }
.tc-muted { .tc-muted {