@mekari/pixel3-styled-system 0.1.0-dev.1 → 0.1.0-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/types/prop-type.d.ts +1 -1
- package/types/style-props.d.ts +3 -3
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/types/prop-type.d.ts
CHANGED
|
@@ -75,7 +75,7 @@ export interface UtilityValues {
|
|
|
75
75
|
maxHeight: "auto" | Tokens["sizes"] | "svh" | "lvh" | "dvh" | "screen" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6";
|
|
76
76
|
maxBlockSize: "auto" | Tokens["sizes"] | "svh" | "lvh" | "dvh" | "screen" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6";
|
|
77
77
|
color: Tokens["colors"];
|
|
78
|
-
fontFamily: Tokens["fonts"];
|
|
78
|
+
fontFamily: Tokens["fonts"] | "Inter";
|
|
79
79
|
fontSize: Tokens["fontSizes"];
|
|
80
80
|
fontWeight: Tokens["fontWeights"];
|
|
81
81
|
fontSmoothing: "antialiased" | "subpixel-antialiased";
|
package/types/style-props.d.ts
CHANGED
|
@@ -5,10 +5,10 @@ import type { CssProperties } from './system-types';
|
|
|
5
5
|
import type { Token } from '../tokens/index';
|
|
6
6
|
|
|
7
7
|
type AnyString = (string & {})
|
|
8
|
-
type CssVars =
|
|
9
|
-
type CssVarValue = ConditionalValue<Token | AnyString | (number & {})>
|
|
8
|
+
type CssVars = "var(--font-inter)"
|
|
9
|
+
type CssVarValue = ConditionalValue<Token | CssVars | AnyString | (number & {})>
|
|
10
10
|
|
|
11
|
-
type CssVarName =
|
|
11
|
+
type CssVarName = "font-inter" | AnyString
|
|
12
12
|
type CssVarKeys = `--${CssVarName}`
|
|
13
13
|
|
|
14
14
|
export type CssVarProperties = {
|