Skip to content

Commit 2e75a01

Browse files
committed
feat: migrate to primer design tokens
Signed-off-by: Adam Setch <[email protected]>
1 parent 9afefeb commit 2e75a01

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

src/renderer/App.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
@import "@primer/primitives/dist/css/functional/typography/typography.css";
1010

1111
/* Themes and Colors */
12+
/* TODO Add support for setting color modes (dark_dimmed) - see #1748 */
1213
@import "@primer/primitives/dist/css/functional/themes/light.css";
1314
@import "@primer/primitives/dist/css/functional/themes/dark.css";
14-
@import "@primer/primitives/dist/css/functional/themes/dark-dimmed.css";
1515

1616
html,
1717
body,

src/renderer/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function RequireAuth({ children }) {
3535

3636
export const App = () => {
3737
return (
38-
// TODO - Add support for setting color modes (dark_dimmed)
38+
// TODO Add support for setting color modes (dark_dimmed) - see #1748
3939
<ThemeProvider dayScheme="light" nightScheme="dark">
4040
<BaseStyles>
4141
<AppProvider>

src/renderer/utils/theme.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import type { ColorModeWithAuto } from '@primer/react/lib/ThemeProvider';
22
import { Theme } from '../types';
33

4+
// TODO Add support for setting color modes (dark_dimmed) - see #1748
5+
46
// TODO - Replace fully with Octicon primer theme provider
57
/**
68
* @deprecated

0 commit comments

Comments
 (0)