Skip to content

Commit

Permalink
Palette tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Jermolene committed Apr 28, 2015
1 parent ea9f8a4 commit 28050fb
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 21 deletions.
32 changes: 16 additions & 16 deletions core/palettes/Contrast.tid
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ message-border: #000
message-foreground: #000
modal-backdrop: <<colour foreground>>
modal-background: <<colour background>>
modal-border: #000
modal-footer-background: #fff
modal-footer-border: #000
modal-header-border: #000
modal-border: #fff
modal-footer-background: #000
modal-footer-border: #fff
modal-header-border: #fff
muted-foreground: #999
notification-background: #fff
notification-border: #000
page-background: #000000
notification-background: #000
notification-border: #fff
page-background: #000
pre-background: #000
pre-border: #fff
primary: #00f
Expand All @@ -56,24 +56,24 @@ sidebar-foreground-shadow: rgba(255,0,0, 0.5)
sidebar-foreground: #ffffff
sidebar-muted-foreground-hover: #444444
sidebar-muted-foreground: #fff
sidebar-tab-background-selected: #fff
sidebar-tab-background-selected: #000
sidebar-tab-background: <<colour tab-background>>
sidebar-tab-border-selected: <<colour tab-border-selected>>
sidebar-tab-border: <<colour tab-border>>
sidebar-tab-divider: <<colour tab-divider>>
sidebar-tab-foreground-selected: #000
sidebar-tab-foreground-selected: #fff
sidebar-tab-foreground: <<colour tab-foreground>>
sidebar-tiddler-link-foreground-hover: #fff
sidebar-tiddler-link-foreground: <<colour primary>>
site-title-foreground: <<colour tiddler-title-foreground>>
static-alert-foreground: #aaaaaa
tab-background-selected: #fff
tab-background: #000
tab-background-selected: #000
tab-background: #fff
tab-border-selected: #fff
tab-border: #fff
tab-divider: #fff
tab-foreground-selected: #000
tab-foreground: #fff
tab-foreground-selected: #fff
tab-foreground: #000
table-border: #dddddd
table-footer-background: #a8a8a8
table-header-background: #f0f0f0
Expand All @@ -89,9 +89,9 @@ tiddler-editor-border-image: #fff
tiddler-editor-border: #cccccc
tiddler-editor-fields-even: #000
tiddler-editor-fields-odd: #000
tiddler-info-background: #f8f8f8
tiddler-info-border: #dddddd
tiddler-info-tab-background: #f8f8f8
tiddler-info-background: #000
tiddler-info-border: #fff
tiddler-info-tab-background: #000
tiddler-link-background: <<colour background>>
tiddler-link-foreground: <<colour primary>>
tiddler-subtitle-foreground: #c0c0c0
Expand Down
9 changes: 4 additions & 5 deletions core/palettes/DarkPhotos.tid
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@@ -0,0 +1,107 @@
created: 20150402111612188
description: Good with dark photo backgrounds
modified: 20150402112344080
Expand All @@ -13,9 +12,9 @@ alert-highlight: #881122
alert-muted-foreground: #b99e2f
background: #ffffff
blockquote-bar: <<colour muted-foreground>>
button-background:
button-foreground:
button-border:
button-background:
button-foreground:
button-border:
code-background: #f7f7f9
code-border: #e1e1e8
code-foreground: #dd1144
Expand Down Expand Up @@ -48,7 +47,7 @@ modal-header-border: #eeeeee
muted-foreground: #ddd
notification-background: #ffffdd
notification-border: #999999
page-background: #f4f4f4
page-background: #336438
pre-background: #f5f5f5
pre-border: #cccccc
primary: #5778d8
Expand Down
5 changes: 5 additions & 0 deletions themes/tiddlywiki/vanilla/base.tid
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ dl dt {

textarea,
input[type=text],
input[type=search],
input[type=""],
input:not([type]) {
color: <<colour foreground>>;
Expand All @@ -120,6 +121,10 @@ input:not([type]) {
color: <<colour muted-foreground>>;
}

svg {
fill: <<colour foreground>>;

This comment has been minimized.

Copy link
@pmario

pmario May 13, 2015

Contributor

IMO html elements should never be styled. CSS like this has very high priority and overwrites classes from covering elements. .. see: #1720 (comment)

We should use classes only for styling.

This comment has been minimized.

Copy link
@Jermolene

Jermolene May 13, 2015

Owner

Hmm we could put the fill definition on the body. I'll try it.

This comment has been minimized.

Copy link
@tobibeer

tobibeer Sep 19, 2015

Contributor

@pmario, that doesn't sound true...

IMO html elements should never be styled. CSS like this has very high priority and overwrites classes from covering elements.

https://jsfiddle.net/0mafo4n1/

}

svg.tc-image-button {
padding: 0px 1px 1px 0px;
}
Expand Down

0 comments on commit 28050fb

Please sign in to comment.