aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2019-04-12 19:05:59 +0200
committerLibravatar Stefan Malzner <stefan@adlk.io>2019-04-12 19:05:59 +0200
commit821a3192801eb86a06373054e90150f73473d30c (patch)
treef7f3417d05108787636fbe8371f3babb40fe47f3 /packages
parentadd locale on signup (diff)
parentlink to in-app changelog on new update notification (diff)
downloadferdium-app-821a3192801eb86a06373054e90150f73473d30c.tar.gz
ferdium-app-821a3192801eb86a06373054e90150f73473d30c.tar.zst
ferdium-app-821a3192801eb86a06373054e90150f73473d30c.zip
Merge branch 'feature/announcements' into develop
Diffstat (limited to 'packages')
-rw-r--r--packages/theme/src/themes/dark/index.ts26
-rw-r--r--packages/theme/src/themes/default/index.ts25
2 files changed, 13 insertions, 38 deletions
diff --git a/packages/theme/src/themes/dark/index.ts b/packages/theme/src/themes/dark/index.ts
index fd04b106c..d48dbf916 100644
--- a/packages/theme/src/themes/dark/index.ts
+++ b/packages/theme/src/themes/dark/index.ts
@@ -1,5 +1,5 @@
1import color from 'color'; 1import color from 'color';
2import { merge, cloneDeep } from 'lodash'; 2import { cloneDeep, merge } from 'lodash';
3 3
4import * as defaultStyles from '../default'; 4import * as defaultStyles from '../default';
5import * as legacyStyles from '../legacy'; 5import * as legacyStyles from '../legacy';
@@ -112,21 +112,9 @@ export const workspaces = merge({}, defaultStyles.workspaces, {
112 }, 112 },
113}); 113});
114 114
115// // Workspace settings 115// Announcements
116// export const workspaceSettings = merge({}, defaultStyles.workspaceSettings, { 116export const announcements = merge({}, defaultStyles.workspaces, {
117// listItemBorderColor: legacyStyles.darkThemeGrayDarker, 117 spotlight: {
118// listItemHoverBgColor: legacyStyles.darkThemeGrayDarker, 118 background: legacyStyles.darkThemeGrayDark,
119// }); 119 },
120// 120});
121// // Workspace Drawer
122// export const workspaceDrawerBackground = color(colorBackground).lighten(0.3).hex();
123// export const workspaceDrawerAddButtonColor = legacyStyles.darkThemeGrayLighter;
124// export const workspaceDrawerAddButtonHoverColor = legacyStyles.darkThemeGraySmoke;
125// export const workspaceDrawerItemBorder = color(workspaceDrawerBackground).lighten(0.2).hex();
126// export const workspaceDrawerItemHoverBackground = color(workspaceDrawerBackground).lighten(0.2).hex();
127// export const workspaceDrawerItemActiveBackground = defaultStyles.brandPrimary;
128// export const workspaceDrawerItemNameColor = colorText;
129// export const workspaceDrawerItemNameActiveColor = 'white';
130// export const workspaceDrawerServicesColor = color(colorText).darken(0.5).hex();
131// export const workspaceDrawerServicesActiveColor = color(defaultStyles.brandPrimary).lighten(0.5).hex();
132//
diff --git a/packages/theme/src/themes/default/index.ts b/packages/theme/src/themes/default/index.ts
index d0493b82f..0f02fa3c8 100644
--- a/packages/theme/src/themes/default/index.ts
+++ b/packages/theme/src/themes/default/index.ts
@@ -201,22 +201,9 @@ export const workspaces = {
201 }, 201 },
202}; 202};
203 203
204// export const workspaceSettings = { 204// Announcements
205// listItemHeight: 57, 205export const announcements = {
206// listItemBorderColor: legacyStyles.themeGrayLightest, 206 spotlight: {
207// listItemHoverBgColor: legacyStyles.themeGrayLightest, 207 background: legacyStyles.themeGrayLightest,
208// }; 208 },
209// 209};
210// // Workspace Drawer
211// export const workspaceDrawerWidth = 300;
212// export const workspaceDrawerPadding = 20;
213// export const workspaceDrawerBackground = color(colorBackground).lighten(0.1).hex();
214// export const workspaceDrawerAddButtonColor = legacyStyles.themeGrayLight;
215// export const workspaceDrawerAddButtonHoverColor = color(legacyStyles.themeGrayLight).lighten(0.1).hex();
216// export const workspaceDrawerItemHoverBackground = color(workspaceDrawerBackground).darken(0.01).hex();
217// export const workspaceDrawerItemActiveBackground = legacyStyles.themeGrayLightest;
218// export const workspaceDrawerItemBorder = color(workspaceDrawerBackground).darken(0.05).hex();
219// export const workspaceDrawerItemNameColor = colorText;
220// export const workspaceDrawerItemNameActiveColor = colorText;
221// export const workspaceDrawerServicesColor = color(colorText).lighten(1.5).hex();
222// export const workspaceDrawerServicesActiveColor = workspaceDrawerServicesColor;