LoveIt/assets/lib/valine/valine.scss

68 lines
1.6 KiB
SCSS
Raw Normal View History

2020-03-16 05:15:21 +01:00
// Color of the background
$global-background-color: #fff !default;
$global-background-color-dark: #292a2d !default;
// Color of the text
$global-font-color: #161209 !default;
$global-font-color-dark: #a9a9b3 !default;
// Color of the border
$global-border-color: #dcdcdc !default;
$global-border-color-dark: #4a4b50 !default;
// Color of the single link
$single-link-color: #2d96bd !default;
$single-link-color-dark: #55bde2 !default;
// Color of the code background
$code-background-color: #f5f5f5 !default;
$code-background-color-dark: #272C34 !default;
.dark {
2020-02-14 17:38:15 +01:00
// copied from https://github.com/xCss/Valine/issues/221
.v *,
2020-03-16 05:15:21 +01:00
.v .vwrap .vheader .vinput,
.v .vlist .vcard .vh,
.v .vlist .vcard .vquote {
border-color: $global-border-color-dark;
}
.v blockquote {
border-left: .25rem solid #00bfa5;
}
.v *,
2020-02-14 17:38:15 +01:00
.v .vwrap input,
.v .vwrap input::placeholder,
.v .veditor,
.v .veditor::placeholder,
.v a,
.v a:hover {
2020-03-16 05:15:21 +01:00
color: $global-font-color-dark;
2020-02-14 17:38:15 +01:00
}
.v .vbtn {
2020-03-16 05:15:21 +01:00
color: $global-font-color-dark;
background: darken($global-background-color-dark, 3%);
border-color: $global-background-color-dark;
2020-02-14 17:38:15 +01:00
}
.v .vbtn:hover {
2020-03-16 05:15:21 +01:00
color: $single-link-color-dark;
border-color: $single-link-color-dark;
2020-02-14 17:38:15 +01:00
}
.v .vlist .vcard .vhead .vsys {
2020-03-16 05:15:21 +01:00
background: darken($code-background-color-dark, 3%);
2020-02-14 17:38:15 +01:00
}
.v code, .v pre {
2020-03-16 05:15:21 +01:00
background: $code-background-color-dark;
2020-02-14 17:38:15 +01:00
}
.v .vmark .vinput {
2020-03-16 05:15:21 +01:00
color: darken($global-background-color-dark, 3%);
}
2020-02-14 17:38:15 +01:00
}
2020-03-16 05:15:21 +01:00
.v blockquote {
border-left: .25rem solid #00bfa5;
}
2020-02-14 17:38:15 +01:00
.v code, .v pre {
text-align: left;
}