* feat: configure eslint rules by replicating those in the twenty-front package and introduce scripts for linting, formatting code and removing build output * fix: ensure each file of the extension package satisfies linting rules and disable some rules where necessary * fix: update relative imports to absolute imports throughout extension code with the defined tilde and at symbols * fix: import the updated ui module from the front package to the chrome extension package to prevent eslint rules from breaking subject to the recent merged changes into main * fix: commit the case change for files that were missed by Git in the earlier commits due to default configuration
19 lines
600 B
TypeScript
19 lines
600 B
TypeScript
import { GRAY_SCALE } from '@/ui/theme/constants/GrayScale';
|
|
import { RGBA } from '@/ui/theme/constants/Rgba';
|
|
|
|
export const BOX_SHADOW_DARK = {
|
|
light: `0px 2px 4px 0px ${RGBA(
|
|
GRAY_SCALE.gray100,
|
|
0.04,
|
|
)}, 0px 0px 4px 0px ${RGBA(GRAY_SCALE.gray100, 0.08)}`,
|
|
strong: `2px 4px 16px 0px ${RGBA(
|
|
GRAY_SCALE.gray100,
|
|
0.16,
|
|
)}, 0px 2px 4px 0px ${RGBA(GRAY_SCALE.gray100, 0.08)}`,
|
|
underline: `0px 1px 0px 0px ${RGBA(GRAY_SCALE.gray100, 0.32)}`,
|
|
superHeavy: `2px 4px 16px 0px ${RGBA(
|
|
GRAY_SCALE.gray100,
|
|
0.12,
|
|
)}, 0px 2px 4px 0px ${RGBA(GRAY_SCALE.gray100, 0.04)}`,
|
|
};
|