Skip to content

Commit

Permalink
[ui] Fix dark mode scrollbars
Browse files Browse the repository at this point in the history
  • Loading branch information
hellendag committed Nov 20, 2024
1 parent 8abf993 commit 7fa4425
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {css} from 'styled-components';

export const darkThemeColors = css`
--browser-color-scheme: 'dark';
--browser-color-scheme: dark;
--color-keyline-default: var(--color-translucent-gray15);
--color-link-default: var(--color-core-blue200);
--color-link-hover: var(--color-core-blue400);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const GlobalStyle = createGlobalStyle`
color-scheme: ${Colors.browserColorScheme()};
background-color: ${Colors.backgroundDefault()};
color: ${Colors.textDefault()};
scrollbar-color: ${Colors.borderDefault()} ${Colors.backgroundDefault()};
width: 100vw;
height: 100vh;
overflow: hidden;
Expand Down

0 comments on commit 7fa4425

Please sign in to comment.