This commit is contained in:
Jordan Pittman 2024-08-14 17:52:02 -04:00
parent 22ccdebd55
commit 3f112a7c80
2 changed files with 5 additions and 0 deletions

View file

@ -420,6 +420,10 @@ function createCompatabilityConfig(theme: Theme): UserConfig {
transitionTimingFunction: {
DEFAULT: theme.get(['--default-transition-timing-function']) ?? null,
},
fontFamily: {
DEFAULT: theme.get(['--default-font-family']) ?? null,
mono: theme.get(['--default-mono-font-family']) ?? null,
},
zIndex: {
[BARE_VALUE]: (value: string) => {

View file

@ -270,6 +270,7 @@ export type ThemeKey =
| '--translate'
| '--width'
| '--z-index'
| `--default-${string}`
export type ColorThemeKey =
| '--color'