mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 16:35:45 +01:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user