Small tweaks in darkmode (#1976)

* The scss variable $popover-border-color is now also used throughout the internal styles
* Derived css variable is exported only once
* Scss definitions are now organized and structured with descriptive comments
* Fix incorrect styling due to a too dark and at the same time very thick border in the CreateButton component
* Darken $border-light a little, so that it is not brighter than the border in dark mode
This commit is contained in:
Florian Scholdei
2022-04-12 12:45:23 +02:00
committed by GitHub
parent c265383f37
commit 5eacb9da6a
8 changed files with 59 additions and 52 deletions

View File

@@ -42,7 +42,7 @@
--scm-border-color: #{$border};
--scm-border: #{$border-width} solid #{$border};
--scm-popover-border-color: #{$white};
--scm-popover-border-color: #{$popover-border-color};
}
// TODO split into multiple files
@@ -308,6 +308,8 @@ a.has-text-secondary-most:focus {
}
.popover {
border: 1px solid $popover-border-color;
&:before {
border-bottom-color: $popover-background-color;
border-left-color: $popover-background-color;