Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
Combine dark color variables
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomAshes committed Apr 20, 2022
1 parent 04fce22 commit 981fed5
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion ui/src/App/Team/Header/Header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
}

.horizontal-separator {
background-color: main.$count-separator-background-dark;
background-color: rgba($black, 0.22);
opacity: 1;
}

Expand Down
2 changes: 1 addition & 1 deletion ui/src/App/Team/Header/Settings/Settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,6 @@
}

.tab {
background-color: main.$header-background-color-dark;
background-color: rgba($black, 0.22);
}
}
2 changes: 1 addition & 1 deletion ui/src/Common/AuthTemplate/Contributors/Contributors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@

@include main.dark-theme {
.contributors {
background-color: main.$header-background-color-dark;
background-color: rgba($black, 0.22);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,16 @@ $opacity: 0.25;
}

@include main.dark-theme {
$dark-border: rgba(main.$black, 0.08);

.column-item-button-group {
border-top-color: main.$task-footer-separator-dark;
border-top-color: $dark-border;

.column-item-button {
color: main.$gray;

background-color: inherit;
border-color: main.$task-footer-separator-dark;
border-color: $dark-border;

&.button-secondary {
&:hover,
Expand Down
2 changes: 1 addition & 1 deletion ui/src/Common/CountSeparator/CountSeparator.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
color: main.$gray;

.separator {
background: main.$count-separator-background-dark none;
background: rgba($black, 0.22) none;
}
}
}
5 changes: 0 additions & 5 deletions ui/src/Styles/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,3 @@ $dark-turquoise: #16a085;

$purple: #a56de2;
$dark-purple: #8e44ad;

$temp-count-separator-color: #111;
$count-separator-background-dark: rgba($temp-count-separator-color, 0.25);
$task-footer-separator-dark: rgba($black, 0.08);
$header-background-color-dark: rgba($black, 0.22);
2 changes: 1 addition & 1 deletion ui/src/Styles/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
}

.dark-theme & {
background-color: colors.$header-background-color-dark;
background-color: colors.$black-opaque;
}
}

Expand Down

0 comments on commit 981fed5

Please sign in to comment.