Files
blitzkit/src/stitches.config.ts
T

40 lines
933 B
TypeScript
Raw Normal View History

2023-09-18 22:32:21 +00:00
import {
amberDark,
2024-01-27 19:06:02 -06:00
amberDarkA,
2023-09-18 22:32:21 +00:00
blueDark,
2023-11-14 12:40:49 -06:00
orangeDark,
2024-01-04 13:37:36 -06:00
purpleDark,
2023-09-18 22:32:21 +00:00
slate,
slateDark,
2023-12-04 19:46:53 -06:00
slateDarkA,
2023-10-10 21:20:01 -05:00
tealDark,
2023-09-18 22:32:21 +00:00
} from '@radix-ui/colors';
2023-09-07 21:25:37 +00:00
import { createBorderStyles, createColors, createSpaces } from 'bepaint';
2023-05-29 18:29:02 +00:00
// this isn't really a stitches config, but the object is compliant
2023-06-21 01:52:26 +00:00
export const theme = {
2023-09-07 21:25:37 +00:00
spaces: createSpaces(),
2023-07-10 17:44:56 +00:00
colors: {
...createColors(slateDark),
2023-12-04 19:46:53 -06:00
...createColors(slateDarkA, 'alpha'),
2023-07-10 17:44:56 +00:00
...createColors(slate, 'light'),
2023-07-10 18:16:33 +00:00
2023-07-10 17:44:56 +00:00
...createColors(amberDark, 'amber'),
2024-01-27 19:06:02 -06:00
...createColors(amberDarkA, 'amberAlpha'),
2023-11-14 12:40:49 -06:00
...createColors(orangeDark, 'orange'),
2024-01-04 13:37:36 -06:00
...createColors(purpleDark, 'purple'),
2023-07-10 18:16:33 +00:00
...createColors(blueDark, 'blue'),
2023-10-10 21:20:01 -05:00
...createColors(tealDark, 'teal'),
2023-07-10 17:44:56 +00:00
},
2023-09-18 22:32:21 +00:00
borderStyles: {
2024-03-15 21:50:19 -05:00
subtle: `1px solid ${slateDark.slate2}`,
2023-09-18 22:32:21 +00:00
...createBorderStyles(slateDark),
...createBorderStyles(blueDark, undefined, 'blue'),
},
2023-09-12 03:05:11 +00:00
durations: {
regular: '0.2s',
},
2023-06-21 01:52:26 +00:00
};