Skip to content

Commit

Permalink
Remove --gray-6 and update btn border color in dark mode
Browse files Browse the repository at this point in the history
The --gray-6 color variable was removed from base.css, indicating it is no longer needed or has been replaced. Consequently, in darkmode.css, the --bs-btn-border-color for the .btn-outline-accent class was updated from --gray-6 to --bs-border-color to maintain consistency with the new design system or color scheme.
  • Loading branch information
EdiWang committed Sep 15, 2024
1 parent 7bd50ed commit 0cc2e55
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/Moonglade.Web/wwwroot/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
--gray-2: #EEE;
--gray-3: #CCC;
--gray-4: #777;
--gray-6: #555;
}

::selection {
Expand Down
2 changes: 1 addition & 1 deletion src/Moonglade.Web/wwwroot/css/darkmode.css
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@

[data-bs-theme=dark] .btn-outline-accent {
--bs-btn-color: var(--gray-3);
--bs-btn-border-color: var(--gray-6);
--bs-btn-border-color: var(--bs-border-color);
--bs-btn-hover-color: #fff;
--bs-btn-hover-bg: #343a40;
--bs-btn-hover-border-color: #212529;
Expand Down

0 comments on commit 0cc2e55

Please sign in to comment.