UX: add new wiki color as a site-level color variable

This commit is contained in:
Régis Hanol
2014-10-13 19:43:24 +02:00
parent 0555b84e4d
commit 199896a607
3 changed files with 6 additions and 2 deletions
@@ -117,7 +117,7 @@ aside.quote {
} }
.wiki .topic-body { .wiki .topic-body {
background-color: rgba(64, 128, 64, .05); background-color: scale-color($wiki, $lightness: 95%);
} }
.post-info { .post-info {
@@ -129,7 +129,7 @@ aside.quote {
} }
&.wiki { &.wiki {
cursor: pointer; cursor: pointer;
color: rgb(64, 128, 64); color: $wiki;
} }
&.via-email { &.via-email {
color: scale-color($primary, $lightness: 70%); color: scale-color($primary, $lightness: 70%);
@@ -8,3 +8,4 @@ $highlight: #ffff4d !default;
$danger: #e45735 !default; $danger: #e45735 !default;
$success: #009900 !default; $success: #009900 !default;
$love: #fa6c8d !default; $love: #fa6c8d !default;
$wiki: #408040 !default;
+3
View File
@@ -1723,6 +1723,9 @@ en:
love: love:
name: 'love' name: 'love'
description: "The like button's color." description: "The like button's color."
wiki:
name: 'wiki'
description: "Base color used for the background of wiki posts."
email: email: