Skip to content

Commit 6040dfb

Browse files
committed
refactor: remove useless tokens
1 parent 0470463 commit 6040dfb

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

shared/utils/constants.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -137,21 +137,6 @@ export const BACKGROUND_THEMES = {
137137
black: 'oklch(0.4 0 0)',
138138
} as const
139139

140-
export type BackgroundThemeId = 'neutral' | 'stone' | 'zinc' | 'slate' | 'black'
141-
142-
export interface BackgroundThemeToken {
143-
oklch: string
144-
hex: string
145-
}
146-
147-
export const BACKGROUND_THEME_TOKENS = {
148-
neutral: { oklch: 'oklch(0.555 0 0)', hex: '#737373' },
149-
stone: { oklch: 'oklch(0.555 0.013 58.123)', hex: '#79716c' },
150-
zinc: { oklch: 'oklch(0.555 0.016 285.931)', hex: '#72727c' },
151-
slate: { oklch: 'oklch(0.555 0.046 257.407)', hex: '#62748e' },
152-
black: { oklch: 'oklch(0.4 0 0)', hex: '#484848' },
153-
} as const satisfies Record<BackgroundThemeId, BackgroundThemeToken>
154-
155140
/**
156141
* Static theme tokens for the share card OG image.
157142
* Must use hex/rgb — satori (the OG image renderer) does not support oklch.

0 commit comments

Comments
 (0)