mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05:00
UX: add new wiki color as a site-level color variable
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user