mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-01 09:39:51 -04:00
UX: add new wiki color as a site-level color variable
This commit is contained in:
parent
0555b84e4d
commit
199896a607
3 changed files with 6 additions and 2 deletions
|
@ -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%);
|
||||
|
|
|
@ -8,3 +8,4 @@ $highlight: #ffff4d !default;
|
|||
$danger: #e45735 !default;
|
||||
$success: #009900 !default;
|
||||
$love: #fa6c8d !default;
|
||||
$wiki: #408040 !default;
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue