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
app/assets/stylesheets/common
config/locales

View file

@ -117,7 +117,7 @@ aside.quote {
}
.wiki .topic-body {
background-color: rgba(64, 128, 64, .05);
background-color: scale-color($wiki, $lightness: 95%);
}
.post-info {
@ -129,7 +129,7 @@ aside.quote {
}
&.wiki {
cursor: pointer;
color: rgb(64, 128, 64);
color: $wiki;
}
&.via-email {
color: scale-color($primary, $lightness: 70%);

View file

@ -8,3 +8,4 @@ $highlight: #ffff4d !default;
$danger: #e45735 !default;
$success: #009900 !default;
$love: #fa6c8d !default;
$wiki: #408040 !default;

View file

@ -1723,6 +1723,9 @@ en:
love:
name: 'love'
description: "The like button's color."
wiki:
name: 'wiki'
description: "Base color used for the background of wiki posts."
email: