Skip to content

Commit

Permalink
Tweak tooltip & dialog colors
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePotatoArchivist committed May 28, 2024
1 parent f510492 commit e8069de
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
16 changes: 9 additions & 7 deletions src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,19 @@
font-weight: 400;

color: var(--fg-color);
background-color: #1c1c1c;
background-color: var(--bg-color);

font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;

--fg-color: #fff;
--fg-color: #eee;
--bg-color: #1c1c1c;

--dialog-color: #242424;
--tooltip-color: #242424bf;
--button-color: #383838;
--field-color: #171717;
--field-color: #070707;

--accent-color: #5b1bf0;
--x-color: #ff1f1f;
Expand All @@ -26,13 +27,14 @@

.light {
color: var(--fg-color);
background-color: #ffffff;
background-color: var(--bg-color);

--bg-color: #fff;
--fg-color: #1c1c1c;

--dialog-color: #eeeeee;
--tooltip-color: #eeeeeebf;
--button-color: #ccc;
--field-color: #ddd;
--field-color: #efefef;

--x-color-focus: #ff7f7f3f;
--o-color-focus: #7fbfff3f;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/ui/Dialog.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
position: relative;
padding: 2em;
border-radius: 2em;
background-color: var(--dialog-color);
background-color: var(--bg-color);
border: none;
color: inherit;
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/ui/TooltipButton.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
.tooltip {
position: absolute;
right: 0.5em;
background-color: var(--dialog-color);
background-color: var(--tooltip-color);
padding: 0.5em 1em;
border-radius: 0.5em;
width: max-content;
Expand Down

0 comments on commit e8069de

Please sign in to comment.