mirror of
https://github.com/zhigang1992/react.git
synced 2026-04-30 13:12:24 +08:00
chore: migrate to geist ui
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { CardTypes } from '../utils/prop-types'
|
||||
import { ZeitUIThemesPalette } from '../styles/themes'
|
||||
import { GeistUIThemesPalette } from '../styles/themes'
|
||||
|
||||
export type CardStyles = {
|
||||
color: string
|
||||
@@ -9,7 +9,7 @@ export type CardStyles = {
|
||||
|
||||
export const getStyles = (
|
||||
type: CardTypes,
|
||||
palette: ZeitUIThemesPalette,
|
||||
palette: GeistUIThemesPalette,
|
||||
isShadow?: boolean,
|
||||
): CardStyles => {
|
||||
const colors: { [key in CardTypes]: Omit<CardStyles, 'borderColor'> } = {
|
||||
|
||||
Reference in New Issue
Block a user