Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit b0358e5

Browse files
committed
fix(css-variables.ts): Relaxed type restrictions at CSSVariableKey
1 parent edccf3a commit b0358e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_internal/types/common/css-variables.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { CSSColorNames } from './colors';
22

3-
type CSSVariableKey = `--${string}-${string}`;
3+
type CSSVariableKey = `--${string}`;
44
export type CSSVariableValue = `var(${CSSVariableKey})`;
55

66
export type CSSColorValue = CSSColorNames | CSSVariableValue;

0 commit comments

Comments
 (0)