aboutsummaryrefslogtreecommitdiffstats
path: root/packages/theme/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/theme/src/index.ts')
-rw-r--r--packages/theme/src/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/theme/src/index.ts b/packages/theme/src/index.ts
index 78d1dcbb9..94df5afd1 100644
--- a/packages/theme/src/index.ts
+++ b/packages/theme/src/index.ts
@@ -1,13 +1,13 @@
1import makeDarkThemeConfig from './themes/dark'; 1import makeDarkThemeConfig from './themes/dark';
2import makeDefaultThemeConfig from './themes/default'; 2import makeDefaultThemeConfig from './themes/default';
3import * as legacyStyles from './themes/legacy'; 3import { themeBrandPrimary } from './themes/legacy';
4 4
5export enum ThemeType { 5export enum ThemeType {
6 default = 'default', 6 default = 'default',
7 dark = 'dark', 7 dark = 'dark',
8} 8}
9 9
10export const DEFAULT_ACCENT_COLOR = legacyStyles.themeBrandPrimary; 10export const DEFAULT_ACCENT_COLOR = themeBrandPrimary;
11 11
12export function theme(themeId: ThemeType, 12export function theme(themeId: ThemeType,
13 brandColor: string = DEFAULT_ACCENT_COLOR) { 13 brandColor: string = DEFAULT_ACCENT_COLOR) {