Skip to content

Commit

Permalink
style(next): define the dark mode colors
Browse files Browse the repository at this point in the history
  • Loading branch information
adoriandoran committed Jan 8, 2025
1 parent 4ce2fb7 commit ffd626d
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 13 deletions.
10 changes: 10 additions & 0 deletions src/public/stylesheets/theme-next-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,16 @@
--tooltip-background-color: rgba(67, 67, 67, 0.86);
--tooltip-foreground-color: #ffffffeb;
--tooltip-shadow-color: rgba(0, 0, 0, 0.4);

--help-background-color: #00000059;
--help-card-background: var(--card-background-color);
--help-card-shadow: 2px 2px 2px rgba(0, 0, 0, .2);
--help-card-heading-color: #959595;
--help-kbd-shortcut-color: white;
--help-kbd-shortcut-background: #676767;
--help-kbd-shortcut-shadow: 1px 1px 2px rgba(0, 0, 0, .7);
--help-code-color: inherit;
--help-code-background: #565656;
}

/*
Expand Down
10 changes: 10 additions & 0 deletions src/public/stylesheets/theme-next-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,14 @@
--tooltip-background-color: rgba(255, 255, 255, 0.85);
--tooltip-foreground-color: #000000ba;
--tooltip-shadow-color: rgba(0, 0, 0, .15);

--help-background-color: #fffc;
--help-card-background: var(--card-background-color);
--help-card-shadow: 2px 2px 2px rgba(0, 0, 0, .10);
--help-card-heading-color: #797979;
--help-kbd-shortcut-color: #3f3f3f;
--help-kbd-shortcut-background: white;
--help-kbd-shortcut-shadow: 1px 1px 2px rgba(0, 0, 0, .3);
--help-code-color: black;
--help-code-background: #d7d5d5;
}
2 changes: 2 additions & 0 deletions src/public/stylesheets/theme-next/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@
--timeline-bullet-vertical-pos: .75em;
--timeline-connector-size: 4px;

--help-backdrop-blur: 10px;

/* Theme capabilities */
--tab-note-icons: true;
}
13 changes: 0 additions & 13 deletions src/public/stylesheets/theme-next/shell.css
Original file line number Diff line number Diff line change
Expand Up @@ -1563,19 +1563,6 @@ body .calendar-dropdown-widget .calendar-body a:hover {

/* Help */

.help-dialog {
--help-background-color: #fffc;
--help-backdrop-blur: 10px;
--help-card-background: var(--card-background-color);
--help-card-shadow: 2px 2px 2px rgba(0, 0, 0, .10);
--help-card-heading-color: #797979;
--help-kbd-shortcut-color: #3f3f3f;
--help-kbd-shortcut-background: white;
--help-kbd-shortcut-shadow: 1px 1px 2px rgba(0, 0, 0, .3);
--help-code-color: black;
--help-code-background: #d7d5d5;
}

.help-dialog .modal-content {
--modal-background-color: var(--help-background-color);
backdrop-filter: blur(var(--help-backdrop-blur));
Expand Down

0 comments on commit ffd626d

Please sign in to comment.