* 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
22 lines
756 B
TypeScript
22 lines
756 B
TypeScript
import { ACCENT_DARK } from '@/ui/theme/constants/AccentDark';
|
|
import { BACKGROUND_DARK } from '@/ui/theme/constants/BackgroundDark';
|
|
import { BORDER_DARK } from '@/ui/theme/constants/BorderDark';
|
|
import { BOX_SHADOW_DARK } from '@/ui/theme/constants/BoxShadowDark';
|
|
import { FONT_DARK } from '@/ui/theme/constants/FontDark';
|
|
import { TAG_DARK } from '@/ui/theme/constants/TagDark';
|
|
import { THEME_COMMON } from '@/ui/theme/constants/ThemeCommon';
|
|
import { ThemeType } from '@/ui/theme/constants/ThemeLight';
|
|
|
|
export const THEME_DARK: ThemeType = {
|
|
...THEME_COMMON,
|
|
...{
|
|
accent: ACCENT_DARK,
|
|
background: BACKGROUND_DARK,
|
|
border: BORDER_DARK,
|
|
tag: TAG_DARK,
|
|
boxShadow: BOX_SHADOW_DARK,
|
|
font: FONT_DARK,
|
|
name: 'dark',
|
|
},
|
|
};
|