import { theme as baseTheme } from '../lendi'; import { ThemeMap } from '../../types'; import { ThemeName } from '@lendi-ui/commons/utils'; import tokens from './token.json'; const themeName: ThemeName = 'aussie'; /** * @deprecated Use tokens instead */ const typography = { /** * @deprecated Use `asset.font.heading.family` instead */ heading: { fontFamily: tokens.asset.font.heading.family, }, /** * @deprecated Use `asset.font.body.family` instead */ body: { fontFamily: tokens.asset.font.body.family, }, }; type Token = typeof tokens; export const aussieTheme: ThemeMap & Token = { ...baseTheme, typography, ...tokens, name: themeName, };