Files
blitzkit/src/stitches.config.ts
T

41 lines
933 B
TypeScript

import {
amberDark,
amberDarkA,
blueDark,
orangeDark,
purpleDark,
slate,
slateDark,
slateDarkA,
tealDark,
} from '@radix-ui/colors';
import { createBorderStyles, createColors, createSpaces } from 'bepaint';
// this isn't really a stitches config, but the object is compliant
export const theme = {
spaces: createSpaces(),
colors: {
...createColors(slateDark),
...createColors(slateDarkA, 'alpha'),
...createColors(slate, 'light'),
...createColors(amberDark, 'amber'),
...createColors(amberDarkA, 'amberAlpha'),
...createColors(orangeDark, 'orange'),
...createColors(purpleDark, 'purple'),
...createColors(blueDark, 'blue'),
...createColors(tealDark, 'teal'),
},
borderStyles: {
subtle: `1px solid ${slateDark.slate2}`,
...createBorderStyles(slateDark),
...createBorderStyles(blueDark, undefined, 'blue'),
},
durations: {
regular: '0.2s',
},
};