feat(system): add mention and pin to colors
This commit is contained in:
parent
26e4f0d91e
commit
e3312450de
|
@ -5,9 +5,16 @@ import type { CSS as StitchesCSS } from '@stitches/react'
|
||||||
export type { VariantProps } from '@stitches/react'
|
export type { VariantProps } from '@stitches/react'
|
||||||
export type CSS = StitchesCSS<typeof config>
|
export type CSS = StitchesCSS<typeof config>
|
||||||
|
|
||||||
export const { styled, css, keyframes, theme, createTheme, config } =
|
export const {
|
||||||
createStitches({
|
styled,
|
||||||
prefix: 'status',
|
css,
|
||||||
|
keyframes,
|
||||||
|
theme,
|
||||||
|
createTheme,
|
||||||
|
config,
|
||||||
|
getCssText,
|
||||||
|
} = createStitches({
|
||||||
|
// prefix: 'status',
|
||||||
theme: {
|
theme: {
|
||||||
fonts: {
|
fonts: {
|
||||||
sans: 'Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',
|
sans: 'Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',
|
||||||
|
@ -41,6 +48,15 @@ export const { styled, css, keyframes, theme, createTheme, config } =
|
||||||
'success-1': 'rgba(78, 188, 96, 1)',
|
'success-1': 'rgba(78, 188, 96, 1)',
|
||||||
'success-2': 'rgba(78, 188, 96, 0.1)',
|
'success-2': 'rgba(78, 188, 96, 0.1)',
|
||||||
|
|
||||||
|
'mention-1': 'rgba(13, 164, 201, 1)',
|
||||||
|
'mention-2': 'rgba(7, 188, 233, 0.3)',
|
||||||
|
'mention-3': 'rgba(7, 188, 233, 0.2)',
|
||||||
|
'mention-4': 'rgba(7, 188, 233, 0.1)',
|
||||||
|
|
||||||
|
'pin-1': 'rgba(254, 143, 89, 1)',
|
||||||
|
'pin-2': 'rgba(255, 159, 15, 0.2)',
|
||||||
|
'pin-3': 'rgba(255, 159, 15, 0.1)',
|
||||||
|
|
||||||
'accent-1': 'rgba(0, 0, 0, 1)',
|
'accent-1': 'rgba(0, 0, 0, 1)',
|
||||||
'accent-2': 'rgba(0, 0, 0, 0.9)',
|
'accent-2': 'rgba(0, 0, 0, 0.9)',
|
||||||
'accent-3': 'rgba(0, 0, 0, 0.8)',
|
'accent-3': 'rgba(0, 0, 0, 0.8)',
|
||||||
|
@ -76,6 +92,8 @@ export const { styled, css, keyframes, theme, createTheme, config } =
|
||||||
9: '80px',
|
9: '80px',
|
||||||
},
|
},
|
||||||
radii: {
|
radii: {
|
||||||
|
1: '4px',
|
||||||
|
2: '8px',
|
||||||
8: '8px',
|
8: '8px',
|
||||||
full: '100%',
|
full: '100%',
|
||||||
},
|
},
|
||||||
|
@ -106,6 +124,15 @@ export const darkTheme = createTheme({
|
||||||
'success-1': 'rgba(96, 195, 112, 1)',
|
'success-1': 'rgba(96, 195, 112, 1)',
|
||||||
'success-2': 'rgba(96, 195, 112, 0.2)',
|
'success-2': 'rgba(96, 195, 112, 0.2)',
|
||||||
|
|
||||||
|
'mention-1': 'rgba(123, 229, 255, 1)',
|
||||||
|
'mention-2': 'rgba(13, 164, 201, 0.3)',
|
||||||
|
'mention-3': 'rgba(13, 164, 201, 0.2)',
|
||||||
|
'mention-4': 'rgba(13, 164, 201, 0.1)',
|
||||||
|
|
||||||
|
'pin-1': 'rgba(255, 166, 123, 1)',
|
||||||
|
'pin-2': 'rgba(254, 143, 89, 0.2)',
|
||||||
|
'pin-3': 'rgba(254, 143, 89, 0.1)',
|
||||||
|
|
||||||
'accent-1': 'rgba(255, 255, 255, 1)',
|
'accent-1': 'rgba(255, 255, 255, 1)',
|
||||||
'accent-2': 'rgba(255, 255, 255, 0.9)',
|
'accent-2': 'rgba(255, 255, 255, 0.9)',
|
||||||
'accent-3': 'rgba(255, 255, 255, 0.8)',
|
'accent-3': 'rgba(255, 255, 255, 0.8)',
|
||||||
|
|
Loading…
Reference in New Issue