aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorLibravatar Dominik Guzei <dominik.guzei@gmail.com>2019-03-19 19:38:56 +0100
committerLibravatar Dominik Guzei <dominik.guzei@gmail.com>2019-03-19 19:40:08 +0100
commite4f1862644d5921e2ee77078c10e16efa3e58c7b (patch)
treeff7f23eb83ee974a9f719ed6f58647ce7f0a1175 /packages
parentfix conflicts with latest develop (diff)
downloadferdium-app-e4f1862644d5921e2ee77078c10e16efa3e58c7b.tar.gz
ferdium-app-e4f1862644d5921e2ee77078c10e16efa3e58c7b.tar.zst
ferdium-app-e4f1862644d5921e2ee77078c10e16efa3e58c7b.zip
add workspace drawer
Diffstat (limited to 'packages')
-rw-r--r--packages/theme/src/themes/dark/index.ts9
-rw-r--r--packages/theme/src/themes/default/index.ts10
2 files changed, 19 insertions, 0 deletions
diff --git a/packages/theme/src/themes/dark/index.ts b/packages/theme/src/themes/dark/index.ts
index 3a56719b2..eaa552961 100644
--- a/packages/theme/src/themes/dark/index.ts
+++ b/packages/theme/src/themes/dark/index.ts
@@ -63,3 +63,12 @@ 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 workspaceDrawerItemBorder = color(workspaceDrawerBackground).lighten(0.2).hex();
70export const workspaceDrawerItemActiveBackground = defaultStyles.brandPrimary;
71export const workspaceDrawerNameColor = colorText;
72export const workspaceDrawerNameActiveColor = 'white';
73export const workspaceDrawerServicesColor = color(colorText).darken(0.5).hex();
74export 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 8a71e61cf..fc03b67de 100644
--- a/packages/theme/src/themes/default/index.ts
+++ b/packages/theme/src/themes/default/index.ts
@@ -140,3 +140,13 @@ export const badgeBorderRadius = 50;
140 140
141// Modal 141// Modal
142export const colorModalOverlayBackground = color('#000').alpha(0.5).rgb().string(); 142export const colorModalOverlayBackground = color('#000').alpha(0.5).rgb().string();
143
144// Workspace Drawer
145export const workspaceDrawerWidth = '220px';
146export const workspaceDrawerBackground = color(colorBackground).lighten(0.1).hex();
147export const workspaceDrawerItemActiveBackground = legacyStyles.themeGrayLightest;
148export const workspaceDrawerItemBorder = color(workspaceDrawerBackground).darken(0.05).hex();
149export const workspaceDrawerNameColor = colorText;
150export const workspaceDrawerNameActiveColor = colorText;
151export const workspaceDrawerServicesColor = color(colorText).lighten(1.5).hex();
152export const workspaceDrawerServicesActiveColor = workspaceDrawerServicesColor;