1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-21 10:43:35 +00:00

Cleanup of the SCSS Variables (#1255)

* Clean up variable names and comments

* Fix Option Colour - issue #1338

* Update old scss variable name

Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
This commit is contained in:
Danny Murphy
2022-01-26 04:54:15 +00:00
committed by GitHub
parent f387a4d469
commit 2ffe3bd6ad
9 changed files with 65 additions and 66 deletions

View File

@@ -14,7 +14,7 @@ body {
}
@include themify($themes) {
background-color: themed("layoutFrontendColor");
color: themed("headingColor");
color: themed("textHeadingColor");
}
}
@@ -53,7 +53,7 @@ body {
h4 {
margin: 0;
@include themify($themes) {
color: themed("headingColor");
color: themed("textHeadingColor");
}
}
}
@@ -114,7 +114,7 @@ h3,
h4,
h5 {
@include themify($themes) {
color: themed("headingColor");
color: themed("textHeadingColor");
}
small {
@@ -123,7 +123,7 @@ h5 {
&.spaced-header {
@include themify($themes) {
color: themed("headingColor");
color: themed("textHeadingColor");
}
}
}
@@ -135,7 +135,7 @@ a {
&.text-body {
@include themify($themes) {
color: themed("headingColor") !important;
color: themed("textHeadingColor") !important;
font-weight: themed("linkWeight");
}
}
@@ -190,14 +190,14 @@ code {
.bg-success {
@include themify($themes) {
background-color: themed("success") !important;
color: themed("successTextColor") !important;
color: themed("textSuccessColor") !important;
}
}
.bg-warning {
@include themify($themes) {
background-color: themed("warning") !important;
color: themed("warningTextColor") !important;
color: themed("textWarningColor") !important;
}
}
@@ -205,14 +205,14 @@ code {
.bg-danger {
@include themify($themes) {
background-color: themed("danger") !important;
color: themed("dangerTextColor") !important;
color: themed("textDangerColor") !important;
}
}
.bg-info {
@include themify($themes) {
background-color: themed("info") !important;
color: themed("infoTextColor") !important;
color: themed("textInfoColor") !important;
}
}