Permalink
Browse files

Added new color picker support for console theme

  • Loading branch information...
davidmerfield committed Nov 16, 2018
1 parent e6f888e commit c19d28cb6c0f625865d1f5daf74dfb0e32e0de7d
Showing with 23 additions and 59 deletions.
  1. +3 −40 app/templates/console/package.json
  2. +7 −6 app/templates/console/plugin.css
  3. +13 −13 app/templates/console/style.css
@@ -2,46 +2,9 @@
"name": "Console",
"isPublic": true,
"locals": {
"page_size": 36
},
"locals": {
"page_size": 36,
"background_color": "#ffffff",
"dark_text": "#000000",
"light_text": "#ababab",
"light_background": "rgba(236, 236, 236, 0.37)",
"medium_text": "#696969",
"highlight_color": "blue"
},
"black": {
"background_color": "#000",
"dark_text": "#bbb",
"light_text": "#777",
"light_background": "rgba(255,255,255,0.12)",
"medium_text": "#ddd",
"highlight_color": "#fff"
},
"mint": {
"background_color": "#dfeeeb",
"dark_text": "#005240",
"light_text": "#839E99",
"light_background": "rgba(155, 188, 181, 0.18)",
"medium_text": "#397A6C",
"highlight_color": "#09AF8B"
},
"yellow": {
"background_color": "rgb(255, 250, 243)",
"dark_text": "rgb(0, 0, 77)",
"light_text": "#A3A3C7",
"light_background": "rgba(236, 236, 236, 0.37)",
"medium_text": "#4D4C80",
"highlight_color": "blue"
},
"balfron": {
"background_color": "#F6EFDE",
"light_background": "rgba(41, 0, 0, 0.05)",
"dark_text": "#000000",
"light_text": "rgb(150, 137, 104)",
"medium_text": "#6D5E3B",
"highlight_color": "#EF0006"
"body_text_color": "#000000",
"body_text_link_color": "blue"
}
}
@@ -50,7 +50,7 @@ pre, code {font: inherit;}
.hljs-keyword,
.hljs-selector-tag,
.hljs-subst {
color: {{dark_text}};
color: {{body_text_color}};
font-weight: bold;
}
@@ -69,7 +69,7 @@ pre, code {font: inherit;}
.hljs-title,
.hljs-section,
.hljs-selector-id {
color: {{dark_text}};
color: {{body_text_color}};
font-weight: bold;
}
@@ -96,18 +96,19 @@ pre, code {font: inherit;}
.hljs-symbol,
.hljs-bullet,
.hljs-link {
color: {{dark_text}};
color: {{body_text_color}};
background: {{light_background}}
}
.hljs-built_in,
.hljs-builtin-name {
color: {{dark_text}};
color: {{body_text_color}};
text-decoration: underline;
}
.hljs-meta {
color: {{light_text}};
color: {{body_text_color}};
opactity:0.5;
font-weight: bold;
}
@@ -117,7 +118,7 @@ pre, code {font: inherit;}
}
.hljs-addition {
color: {{dark_text}};
color: {{body_text_color}};
background: {{light_background}}
}
@@ -1,6 +1,6 @@
body {
font: 14px / 1.7 Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, monospace;
color: {{dark_text}};
color: {{bodycopy-color}};
background: {{background_color}};
padding: 3em 4em 5em;
word-wrap: break-word; /* for long words & urls */
@@ -18,30 +18,30 @@ h2, h3 {margin-top: 2em}
h1 {font-family: Helvetica;font-size: 21px;line-height: 1.4}
a {color: {{highlight_color}};text-decoration: none;}
a {color: {{body_text_link_color}};text-decoration: none;}
a:hover {background: {{highlight_color}};color: white}
a:hover {background: {{body_text_link_color}};color: white}
.logo {float: left;}
.nav {float: right;}
.nav a {margin: 0 0 0 2em}
.small, .light {color: {{light_text}}}
.small, .light {color: {{body_text_color}}}
.small {font-size: 12px}
hr {
width: 200px;
margin: 1.5em auto;
border: none;
border-top: 1px solid {{light_text}};
border-top: 1px solid {{body_text_color}};
display: block;
}
.caption, blockquote {color: {{medium_text}}}
.caption, blockquote {color: {{body_text_color}}}
blockquote {font-style: italic;margin:0;padding: 0 0 0 1em;border-left: 1px solid {{light_text}}}
blockquote {font-style: italic;margin:0;padding: 0 0 0 1em;border-left: 1px solid {{body_text_color}}}
table {
word-break: normal;
@@ -53,8 +53,8 @@ table {
line-height: 24px;
}
tr {box-sizing: border-box;border-top: 1px solid {{light_text}};padding: 0}
th, td {box-sizing: border-box;border: 1px solid {{light_text}};padding: 5px 12px 6px}
tr {box-sizing: border-box;border-top: 1px solid {{body_text_color}};padding: 0}
th, td {box-sizing: border-box;border: 1px solid {{body_text_color}};padding: 5px 12px 6px}
/* Date spacing for entry */
h1 + .light {margin-top: -0.75em;margin-bottom: 1.5em}
@@ -65,7 +65,7 @@ input[type="submit"] {
font-family: Helvetica;
font-size:20px;padding: 3px 6px;
margin: 1em 0;
border: 1px solid {{light_text}};
border: 1px solid {{body_text_color}};
}
input[type="text"] {
@@ -77,9 +77,9 @@ input[type="text"] {
input[type="submit"] {
padding: 3px 12px;
color: {{highlight_color}};
color: {{body_text_link_color}};
background: none;
border: 1px solid {{highlight_color}};
border: 1px solid {{body_text_link_color}};
cursor: pointer;
}
@@ -123,5 +123,5 @@ input[type="submit"] {
input[type="text"] {min-width: 200px;}
.nav {float: none;display: block;margin: 0;width: 100%}
.nav a {margin: 0 1em 0 0;color:{{light_text}};}
.nav a {margin: 0 1em 0 0;color:{{body_text_color}};}
}

0 comments on commit c19d28c

Please sign in to comment.