aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorLibravatar Dominik Guzei <dominik.guzei@gmail.com>2019-03-21 15:40:50 +0100
committerLibravatar Dominik Guzei <dominik.guzei@gmail.com>2019-03-21 15:40:50 +0100
commit95d378239e72387759306b629e200a9d52234f20 (patch)
tree022a3194eaa6de4b547db819be610587ce01e910 /packages
parentimprove workspace switching ux (diff)
downloadferdium-app-95d378239e72387759306b629e200a9d52234f20.tar.gz
ferdium-app-95d378239e72387759306b629e200a9d52234f20.tar.zst
ferdium-app-95d378239e72387759306b629e200a9d52234f20.zip
style add workspace icon in drawer like the sidebar icons
Diffstat (limited to 'packages')
-rw-r--r--packages/theme/src/themes/dark/index.ts6
-rw-r--r--packages/theme/src/themes/default/index.ts6
2 files changed, 8 insertions, 4 deletions
diff --git a/packages/theme/src/themes/dark/index.ts b/packages/theme/src/themes/dark/index.ts
index eaa552961..cb7ffc1cf 100644
--- a/packages/theme/src/themes/dark/index.ts
+++ b/packages/theme/src/themes/dark/index.ts
@@ -66,9 +66,11 @@ export const colorModalOverlayBackground = color(legacyStyles.darkThemeBlack).al
66 66
67// Workspace Drawer 67// Workspace Drawer
68export const workspaceDrawerBackground = color(colorBackground).lighten(0.3).hex(); 68export const workspaceDrawerBackground = color(colorBackground).lighten(0.3).hex();
69export const workspaceDrawerAddButtonColor = legacyStyles.darkThemeGrayLighter;
70export const workspaceDrawerAddButtonHoverColor = legacyStyles.darkThemeGraySmoke;
69export const workspaceDrawerItemBorder = color(workspaceDrawerBackground).lighten(0.2).hex(); 71export const workspaceDrawerItemBorder = color(workspaceDrawerBackground).lighten(0.2).hex();
70export const workspaceDrawerItemActiveBackground = defaultStyles.brandPrimary; 72export const workspaceDrawerItemActiveBackground = defaultStyles.brandPrimary;
71export const workspaceDrawerNameColor = colorText; 73export const workspaceDrawerItemNameColor = colorText;
72export const workspaceDrawerNameActiveColor = 'white'; 74export const workspaceDrawerItemNameActiveColor = 'white';
73export const workspaceDrawerServicesColor = color(colorText).darken(0.5).hex(); 75export const workspaceDrawerServicesColor = color(colorText).darken(0.5).hex();
74export const workspaceDrawerServicesActiveColor = color(defaultStyles.brandPrimary).lighten(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 fc03b67de..e6785ec5e 100644
--- a/packages/theme/src/themes/default/index.ts
+++ b/packages/theme/src/themes/default/index.ts
@@ -144,9 +144,11 @@ export const colorModalOverlayBackground = color('#000').alpha(0.5).rgb().string
144// Workspace Drawer 144// Workspace Drawer
145export const workspaceDrawerWidth = '220px'; 145export const workspaceDrawerWidth = '220px';
146export const workspaceDrawerBackground = color(colorBackground).lighten(0.1).hex(); 146export const workspaceDrawerBackground = color(colorBackground).lighten(0.1).hex();
147export const workspaceDrawerAddButtonColor = legacyStyles.themeGrayLight;
148export const workspaceDrawerAddButtonHoverColor = color(legacyStyles.themeGrayLight).lighten(0.1).hex();
147export const workspaceDrawerItemActiveBackground = legacyStyles.themeGrayLightest; 149export const workspaceDrawerItemActiveBackground = legacyStyles.themeGrayLightest;
148export const workspaceDrawerItemBorder = color(workspaceDrawerBackground).darken(0.05).hex(); 150export const workspaceDrawerItemBorder = color(workspaceDrawerBackground).darken(0.05).hex();
149export const workspaceDrawerNameColor = colorText; 151export const workspaceDrawerItemNameColor = colorText;
150export const workspaceDrawerNameActiveColor = colorText; 152export const workspaceDrawerItemNameActiveColor = colorText;
151export const workspaceDrawerServicesColor = color(colorText).lighten(1.5).hex(); 153export const workspaceDrawerServicesColor = color(colorText).lighten(1.5).hex();
152export const workspaceDrawerServicesActiveColor = workspaceDrawerServicesColor; 154export const workspaceDrawerServicesActiveColor = workspaceDrawerServicesColor;