UNPKG

@mgoodfellow/park-ui-panda-preset

Version:

Panda CSS Preset for Park UI

93 lines (90 loc) 4.26 kB
import { defineSemanticTokens, defineTokens } from '@pandacss/dev' const tokens = defineTokens.colors({ light: { '1': { value: '#fcfcfd' }, '2': { value: '#f9f9fb' }, '3': { value: '#f0f0f3' }, '4': { value: '#e8e8ec' }, '5': { value: '#e0e1e6' }, '6': { value: '#d9d9e0' }, '7': { value: '#cdced6' }, '8': { value: '#b9bbc6' }, '9': { value: '#8b8d98' }, '10': { value: '#80838d' }, '11': { value: '#60646c' }, '12': { value: '#1c2024' }, a1: { value: '#00005503' }, a2: { value: '#00005506' }, a3: { value: '#0000330f' }, a4: { value: '#00002d17' }, a5: { value: '#0009321f' }, a6: { value: '#00002f26' }, a7: { value: '#00062e32' }, a8: { value: '#00083046' }, a9: { value: '#00051d74' }, a10: { value: '#00071b7f' }, a11: { value: '#0007149f' }, a12: { value: '#000509e3' }, }, dark: { '1': { value: '#111113' }, '2': { value: '#18191b' }, '3': { value: '#212225' }, '4': { value: '#272a2d' }, '5': { value: '#2e3135' }, '6': { value: '#363a3f' }, '7': { value: '#43484e' }, '8': { value: '#5a6169' }, '9': { value: '#696e77' }, '10': { value: '#777b84' }, '11': { value: '#b0b4ba' }, '12': { value: '#edeef0' }, a1: { value: '#00000000' }, a2: { value: '#d8f4f609' }, a3: { value: '#ddeaf814' }, a4: { value: '#d3edf81d' }, a5: { value: '#d9edfe25' }, a6: { value: '#d6ebfd30' }, a7: { value: '#d9edff40' }, a8: { value: '#d9edff5d' }, a9: { value: '#dfebfd6d' }, a10: { value: '#e5edfd7b' }, a11: { value: '#f1f7feb5' }, a12: { value: '#fcfdffef' }, }, }) const semanticTokens = defineSemanticTokens.colors({ '1': { value: { _light: '{colors.slate.light.1}', _dark: '{colors.slate.dark.1}' } }, '2': { value: { _light: '{colors.slate.light.2}', _dark: '{colors.slate.dark.2}' } }, '3': { value: { _light: '{colors.slate.light.3}', _dark: '{colors.slate.dark.3}' } }, '4': { value: { _light: '{colors.slate.light.4}', _dark: '{colors.slate.dark.4}' } }, '5': { value: { _light: '{colors.slate.light.5}', _dark: '{colors.slate.dark.5}' } }, '6': { value: { _light: '{colors.slate.light.6}', _dark: '{colors.slate.dark.6}' } }, '7': { value: { _light: '{colors.slate.light.7}', _dark: '{colors.slate.dark.7}' } }, '8': { value: { _light: '{colors.slate.light.8}', _dark: '{colors.slate.dark.8}' } }, '9': { value: { _light: '{colors.slate.light.9}', _dark: '{colors.slate.dark.9}' } }, '10': { value: { _light: '{colors.slate.light.10}', _dark: '{colors.slate.dark.10}' } }, '11': { value: { _light: '{colors.slate.light.11}', _dark: '{colors.slate.dark.11}' } }, '12': { value: { _light: '{colors.slate.light.12}', _dark: '{colors.slate.dark.12}' } }, a1: { value: { _light: '{colors.slate.light.a1}', _dark: '{colors.slate.dark.a1}' } }, a2: { value: { _light: '{colors.slate.light.a2}', _dark: '{colors.slate.dark.a2}' } }, a3: { value: { _light: '{colors.slate.light.a3}', _dark: '{colors.slate.dark.a3}' } }, a4: { value: { _light: '{colors.slate.light.a4}', _dark: '{colors.slate.dark.a4}' } }, a5: { value: { _light: '{colors.slate.light.a5}', _dark: '{colors.slate.dark.a5}' } }, a6: { value: { _light: '{colors.slate.light.a6}', _dark: '{colors.slate.dark.a6}' } }, a7: { value: { _light: '{colors.slate.light.a7}', _dark: '{colors.slate.dark.a7}' } }, a8: { value: { _light: '{colors.slate.light.a8}', _dark: '{colors.slate.dark.a8}' } }, a9: { value: { _light: '{colors.slate.light.a9}', _dark: '{colors.slate.dark.a9}' } }, a10: { value: { _light: '{colors.slate.light.a10}', _dark: '{colors.slate.dark.a10}' } }, a11: { value: { _light: '{colors.slate.light.a11}', _dark: '{colors.slate.dark.a11}' } }, a12: { value: { _light: '{colors.slate.light.a12}', _dark: '{colors.slate.dark.a12}' } }, default: { value: { _light: '{colors.slate.light.9}', _dark: '{colors.slate.dark.9}' } }, emphasized: { value: { _light: '{colors.slate.light.10}', _dark: '{colors.slate.dark.10}' } }, fg: { value: { _light: 'white', _dark: 'white' } }, text: { value: { _light: '{colors.slate.light.12}', _dark: '{colors.slate.dark.12}' } }, }) export default { name: 'slate', tokens, semanticTokens, }