add some theme values

This commit is contained in:
Eric Bailey
2023-09-14 20:18:54 -05:00
parent bf8c1bb947
commit 2a6bea462c
+22 -3
View File
@@ -10,8 +10,17 @@ export const light = create({
l: 24, l: 24,
}, },
color: { color: {
theme: 'blue', surface: '#fff',
// Text
text: '#000', text: '#000',
textInverted: '#fff',
// Interactive elements
textLink: '#0085ff',
// UI
border: '#f0e9e9',
}, },
fontSize: { fontSize: {
xxs: 10, xxs: 10,
@@ -66,6 +75,7 @@ export const light = create({
fw: ['fontWeight'], fw: ['fontWeight'],
lh: ['lineHeight'], lh: ['lineHeight'],
ta: ['textAlign'], ta: ['textAlign'],
radius: ['borderRadius'],
}, },
macros: { macros: {
inline: (_: boolean) => ({flexDirection: 'row'}), inline: (_: boolean) => ({flexDirection: 'row'}),
@@ -108,8 +118,17 @@ export const dark: typeof light = create({
tokens: { tokens: {
...light.config.tokens, ...light.config.tokens,
color: { color: {
theme: 'blue', surface: '#000',
text: '#333',
// Text
text: '#fff',
textInverted: '#000',
// Interactive elements
textLink: '#0085ff',
// UI
border: '#f0e9e9',
}, },
}, },
}) })