Create variants for workflow visualizer nodes (#10006)
Closes https://github.com/twentyhq/core-team-issues/issues/332 - Create the success and failed variants - Introduce the first responsive color - Creating stories for the new variants These components are not yet in use in the source code. If you want to see them, launch Storybook. | Success | Failure | |--------|--------| |  |  | |  |  |
This commit is contained in:
committed by
GitHub
parent
5be22413c9
commit
125a0c3419
@ -0,0 +1,8 @@
|
||||
import { THEME_COMMON } from '@ui/theme/constants/ThemeCommon';
|
||||
|
||||
export const ADAPTIVE_COLORS_DARK = {
|
||||
turquoise1: THEME_COMMON.color.turquoise80,
|
||||
turquoise2: THEME_COMMON.color.turquoise70,
|
||||
turquoise3: THEME_COMMON.color.turquoise60,
|
||||
turquoise4: THEME_COMMON.color.turquoise50,
|
||||
};
|
||||
@ -0,0 +1,8 @@
|
||||
import { THEME_COMMON } from '@ui/theme/constants/ThemeCommon';
|
||||
|
||||
export const ADAPTIVE_COLORS_LIGHT = {
|
||||
turquoise1: THEME_COMMON.color.turquoise10,
|
||||
turquoise2: THEME_COMMON.color.turquoise20,
|
||||
turquoise3: THEME_COMMON.color.turquoise30,
|
||||
turquoise4: THEME_COMMON.color.turquoise40,
|
||||
};
|
||||
@ -1,3 +1,4 @@
|
||||
import { ADAPTIVE_COLORS_DARK } from '@ui/theme/constants/AdaptiveColorsDark';
|
||||
import { BLUR_DARK } from '@ui/theme/constants/BlurDark';
|
||||
import { ILLUSTRATION_ICON_DARK } from '@ui/theme/constants/IllustrationIconDark';
|
||||
import { SNACK_BAR_DARK, ThemeType } from '..';
|
||||
@ -24,5 +25,6 @@ export const THEME_DARK: ThemeType = {
|
||||
tag: TAG_DARK,
|
||||
code: CODE_DARK,
|
||||
IllustrationIcon: ILLUSTRATION_ICON_DARK,
|
||||
adaptiveColors: ADAPTIVE_COLORS_DARK,
|
||||
},
|
||||
};
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
import { ADAPTIVE_COLORS_LIGHT } from '@ui/theme/constants/AdaptiveColorsLight';
|
||||
import { BLUR_LIGHT } from '@ui/theme/constants/BlurLight';
|
||||
import { ILLUSTRATION_ICON_LIGHT } from '@ui/theme/constants/IllustrationIconLight';
|
||||
import { SNACK_BAR_LIGHT } from '@ui/theme/constants/SnackBarLight';
|
||||
@ -24,5 +25,6 @@ export const THEME_LIGHT = {
|
||||
tag: TAG_LIGHT,
|
||||
code: CODE_LIGHT,
|
||||
IllustrationIcon: ILLUSTRATION_ICON_LIGHT,
|
||||
adaptiveColors: ADAPTIVE_COLORS_LIGHT,
|
||||
},
|
||||
};
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
export * from './constants/AccentDark';
|
||||
export * from './constants/AccentLight';
|
||||
export * from './constants/AdaptiveColorsDark';
|
||||
export * from './constants/AdaptiveColorsLight';
|
||||
export * from './constants/Animation';
|
||||
export * from './constants/BackgroundDark';
|
||||
export * from './constants/BackgroundLight';
|
||||
|
||||
Reference in New Issue
Block a user