From 97d31aa5494a24d73f4a70e365e1dd226219b46f Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Wed, 7 Feb 2018 19:06:17 -0700 Subject: [PATCH] Add themes, standardize format --- themes/blue/extra.css | 26 ++++++++++++++++++++++++++ themes/blue/info.json | 5 +++++ themes/blue/pub.css | 1 + themes/blue/vars.json | 10 ++++++++++ themes/flowers/extra.css | 2 +- themes/flowers/vars.json | 8 +++++--- themes/harvest/vars.json | 8 +++++--- themes/plain/extra.css | 3 +++ themes/plain/info.json | 2 +- themes/plain/vars.json | 8 ++++++++ themes/sepia/extra.css | 24 ++++++++++++++++++++++++ themes/sepia/info.json | 6 ++++++ themes/sepia/pub.css | 1 + themes/sepia/vars.json | 10 ++++++++++ 14 files changed, 106 insertions(+), 8 deletions(-) create mode 100644 themes/blue/extra.css create mode 100644 themes/blue/info.json create mode 100644 themes/blue/pub.css create mode 100644 themes/blue/vars.json create mode 100644 themes/plain/vars.json create mode 100644 themes/sepia/extra.css create mode 100644 themes/sepia/info.json create mode 100644 themes/sepia/pub.css create mode 100644 themes/sepia/vars.json diff --git a/themes/blue/extra.css b/themes/blue/extra.css new file mode 100644 index 0000000..7fc30a0 --- /dev/null +++ b/themes/blue/extra.css @@ -0,0 +1,26 @@ +.tile-html h1,h2,h3,h4,h5,h6 { + color: var(--headings); +} + +p, li, blockquote, pre{ + color: var(--text); +} + +dd, dfn{ + color: var(--text2); +} + +.tile-html blockquote { + background-color: var(--light); + border-left: 3px solid var(--secondary); + padding: 5px 10px; + display: inline-block; +} + +.tile-html pre { + background-color: var(--light); + border: 1px solid var(--secondary); + border-left: 3px solid var(--secondary); + padding: 5px 10px; + display: inline-block; +} diff --git a/themes/blue/info.json b/themes/blue/info.json new file mode 100644 index 0000000..22a8a4e --- /dev/null +++ b/themes/blue/info.json @@ -0,0 +1,5 @@ +{ + "name": "Blue", + "colors": ["#284a5c", "#bc9e52", "#ff9e01"], + "credit": "3dudle" +} diff --git a/themes/blue/pub.css b/themes/blue/pub.css new file mode 100644 index 0000000..2521ad2 --- /dev/null +++ b/themes/blue/pub.css @@ -0,0 +1 @@ +background-color: var(--background); \ No newline at end of file diff --git a/themes/blue/vars.json b/themes/blue/vars.json new file mode 100644 index 0000000..a520da3 --- /dev/null +++ b/themes/blue/vars.json @@ -0,0 +1,10 @@ +{ + "primary": "#1EB1FF", + "secondary": "#bc9e52", + "medium": "#1685BF", + "headings": "#eef0f1", + "background": "#083045", + "text": "#eef0f1", + "text2": "#dbdfe1", + "light": "#284a5c" +} \ No newline at end of file diff --git a/themes/flowers/extra.css b/themes/flowers/extra.css index 81f403f..b3f61b4 100644 --- a/themes/flowers/extra.css +++ b/themes/flowers/extra.css @@ -1,5 +1,5 @@ .tile-html h1,h2,h3,h4,h5,h6 { - color: var(--text); + color: var(--headings); } .tile-html pre { diff --git a/themes/flowers/vars.json b/themes/flowers/vars.json index 8660250..dfc3476 100644 --- a/themes/flowers/vars.json +++ b/themes/flowers/vars.json @@ -1,9 +1,11 @@ { "primary": "#008000", "secondary": "#77ff77", + "medium": "#fc8a5b", + "headings": "#008000", + "background": "#ffffff", + "text": "#000000", "secondary-alpha": "rgba(119,255,119,.25)", - "text": "#008000", "light": "#ffd5d5", - "light-alpha": "rgba(255,213,213,.25)", - "medium": "#fc8a5b" + "light-alpha": "rgba(255,213,213,.25)" } \ No newline at end of file diff --git a/themes/harvest/vars.json b/themes/harvest/vars.json index 8cca502..8a040fb 100644 --- a/themes/harvest/vars.json +++ b/themes/harvest/vars.json @@ -1,8 +1,10 @@ { "primary": "#973b01", "secondary": "#bc525b", - "text": "#2f0701", + "medium": "#ff9e01", + "headings": "#2f0701", + "background": "#ffffff", + "text": "#000000", "light": "#ffe46f", - "light-alpha": "rgba(255,228,111,.25)", - "medium": "#ff9e01" + "light-alpha": "rgba(255,228,111,.25)" } \ No newline at end of file diff --git a/themes/plain/extra.css b/themes/plain/extra.css index e69de29..ebe4b87 100644 --- a/themes/plain/extra.css +++ b/themes/plain/extra.css @@ -0,0 +1,3 @@ +.tile-html h1,h2,h3,h4,h5,h6 { + color: var(--headings); +} \ No newline at end of file diff --git a/themes/plain/info.json b/themes/plain/info.json index 689ffb9..b5c6b63 100644 --- a/themes/plain/info.json +++ b/themes/plain/info.json @@ -1,4 +1,4 @@ { "name": "Plain", - "colors": ["#ffffff", "#000000", "#2196F3"] + "colors": ["#000000", "#ffffff", "#2196F3"] } diff --git a/themes/plain/vars.json b/themes/plain/vars.json new file mode 100644 index 0000000..9d8da3b --- /dev/null +++ b/themes/plain/vars.json @@ -0,0 +1,8 @@ +{ + "primary": "#2196F3", + "secondary": "#448AFF", + "medium": "#90CAF9", + "headings": "#2979FF", + "background": "#ffffff", + "text": "#000000" +} \ No newline at end of file diff --git a/themes/sepia/extra.css b/themes/sepia/extra.css new file mode 100644 index 0000000..6df1a7b --- /dev/null +++ b/themes/sepia/extra.css @@ -0,0 +1,24 @@ +.tile-html h1,h2,h3,h4,h5,h6 { + color: var(--text); +} + +.tile-html blockquote { + background-color: var(--light2); + border-left: 3px solid var(--secondary); + padding: 5px 10px; + display: inline-block; +} + +mark { + background: #f8edba +} + +.tile-html pre { + background-color: var(--light2); + border: 1px solid var(--secondary); + border-left: 3px solid var(--secondary); + padding: 5px 10px; + display: inline-block; +} + + diff --git a/themes/sepia/info.json b/themes/sepia/info.json new file mode 100644 index 0000000..8ae9639 --- /dev/null +++ b/themes/sepia/info.json @@ -0,0 +1,6 @@ +{ + "name": "Sepia", + "background": "#d4c69f", + "colors": ["#bc7652", "#ffe46f", "#ff9e01"], + "credit": "3dudle" +} diff --git a/themes/sepia/pub.css b/themes/sepia/pub.css new file mode 100644 index 0000000..2521ad2 --- /dev/null +++ b/themes/sepia/pub.css @@ -0,0 +1 @@ +background-color: var(--background); \ No newline at end of file diff --git a/themes/sepia/vars.json b/themes/sepia/vars.json new file mode 100644 index 0000000..374e695 --- /dev/null +++ b/themes/sepia/vars.json @@ -0,0 +1,10 @@ +{ + "primary": "#d4c69f", + "secondary": "#bc7652", + "medium": "#ff9e01", + "headings": "#2f0701", + "background": "#d4c69f", + "text": "#000000", + "light": "#ffe46f", + "light2": "#e7dab6" +} \ No newline at end of file