it-tools/src/ui/c-select/c-select.theme.ts
Corentin THOMASSET dfa1ba8554
feat(ui): added c-select in the ui lib (#550)
* feat(ui): added c-select in the ui lib

* refactor(ui): switched n-select to c-select
2023-08-07 15:30:00 +00:00

60 lines
1 KiB
TypeScript

import { defineThemes } from '../theme/theme.models';
import { appThemes } from '../theme/themes';
const sizes = {
small: {
height: '28px',
fontSize: '12px',
},
medium: {
height: '34px',
fontSize: '14px',
},
large: {
height: '40px',
fontSize: '16px',
},
};
export const { useTheme } = defineThemes({
dark: {
sizes,
backgroundColor: '#333333',
borderColor: '#333333',
dropdownShadow: 'rgba(0, 0, 0, 0.2) 0px 8px 24px',
option: {
hover: {
backgroundColor: '#444444',
},
active: {
textColor: appThemes.dark.primary.color,
},
},
focus: {
backgroundColor: '#1ea54c1a',
},
},
light: {
sizes,
backgroundColor: '#ffffff',
borderColor: '#e0e0e69e',
dropdownShadow: 'rgba(149, 157, 165, 0.2) 0px 8px 24px',
option: {
hover: {
backgroundColor: '#eee',
},
active: {
textColor: appThemes.light.primary.color,
},
},
focus: {
backgroundColor: '#ffffff',
},
},
});