aboutsummaryrefslogtreecommitdiffstats
path: root/packages/theme
diff options
context:
space:
mode:
Diffstat (limited to 'packages/theme')
-rw-r--r--packages/theme/src/themes/dark/index.ts11
-rw-r--r--packages/theme/src/themes/default/index.ts13
2 files changed, 24 insertions, 0 deletions
diff --git a/packages/theme/src/themes/dark/index.ts b/packages/theme/src/themes/dark/index.ts
index 3a56719b2..cb7ffc1cf 100644
--- a/packages/theme/src/themes/dark/index.ts
+++ b/packages/theme/src/themes/dark/index.ts
@@ -63,3 +63,14 @@ export const selectSearchColor = inputBackground;
63 63
64// Modal 64// Modal
65export const colorModalOverlayBackground = color(legacyStyles.darkThemeBlack).alpha(0.8).rgb().string(); 65export const colorModalOverlayBackground = color(legacyStyles.darkThemeBlack).alpha(0.8).rgb().string();
66
67// Workspace Drawer
68export const workspaceDrawerBackground = color(colorBackground).lighten(0.3).hex();
69export const workspaceDrawerAddButtonColor = legacyStyles.darkThemeGrayLighter;
70export const workspaceDrawerAddButtonHoverColor = legacyStyles.darkThemeGraySmoke;
71export const workspaceDrawerItemBorder = color(workspaceDrawerBackground).lighten(0.2).hex();
72export const workspaceDrawerItemActiveBackground = defaultStyles.brandPrimary;
73export const workspaceDrawerItemNameColor = colorText;
74export const workspaceDrawerItemNameActiveColor = 'white';
75export const workspaceDrawerServicesColor = color(colorText).darken(0.5).hex();
76export const workspaceDrawerServicesActiveColor = color(defaultStyles.brandPrimary).lighten(0.5).hex();
diff --git a/packages/theme/src/themes/default/index.ts b/packages/theme/src/themes/default/index.ts
index 273792d46..f2632ee20 100644
--- a/packages/theme/src/themes/default/index.ts
+++ b/packages/theme/src/themes/default/index.ts
@@ -142,3 +142,16 @@ export const badgeBorderRadius = 50;
142 142
143// Modal 143// Modal
144export const colorModalOverlayBackground = color('#000').alpha(0.5).rgb().string(); 144export const colorModalOverlayBackground = color('#000').alpha(0.5).rgb().string();
145
146// Workspace Drawer
147export const workspaceDrawerWidth = 300;
148export const workspaceDrawerPadding = 20;
149export const workspaceDrawerBackground = color(colorBackground).lighten(0.1).hex();
150export const workspaceDrawerAddButtonColor = legacyStyles.themeGrayLight;
151export const workspaceDrawerAddButtonHoverColor = color(legacyStyles.themeGrayLight).lighten(0.1).hex();
152export const workspaceDrawerItemActiveBackground = legacyStyles.themeGrayLightest;
153export const workspaceDrawerItemBorder = color(workspaceDrawerBackground).darken(0.05).hex();
154export const workspaceDrawerItemNameColor = colorText;
155export const workspaceDrawerItemNameActiveColor = colorText;
156export const workspaceDrawerServicesColor = color(colorText).lighten(1.5).hex();
157export const workspaceDrawerServicesActiveColor = workspaceDrawerServicesColor;