Comparing version 0.1.1 to 0.1.2
@@ -733,2 +733,6 @@ "use strict" | ||
}) | ||
const fontSmoothing = style({ | ||
propsKeys: ["fontSmoothing", "fsm"], | ||
styleKeys: ["WebkitFontSmoothing"] | ||
}) | ||
const fontStyle = style({ | ||
@@ -773,2 +777,3 @@ propsKeys: ["fontStyle", "fst"] | ||
fontSize, | ||
fontSmoothing, | ||
fontStyle, | ||
@@ -890,2 +895,3 @@ fontWeight, | ||
exports.fontSize = fontSize | ||
exports.fontSmoothing = fontSmoothing | ||
exports.fontStyle = fontStyle | ||
@@ -892,0 +898,0 @@ exports.fontWeight = fontWeight |
@@ -729,2 +729,6 @@ const PX_SCALE = [0, 2, 4, 8, 16, 32, 64, 128, 256, 512] | ||
}) | ||
const fontSmoothing = style({ | ||
propsKeys: ["fontSmoothing", "fsm"], | ||
styleKeys: ["WebkitFontSmoothing"] | ||
}) | ||
const fontStyle = style({ | ||
@@ -769,2 +773,3 @@ propsKeys: ["fontStyle", "fst"] | ||
fontSize, | ||
fontSmoothing, | ||
fontStyle, | ||
@@ -887,2 +892,3 @@ fontWeight, | ||
fontSize, | ||
fontSmoothing, | ||
fontStyle, | ||
@@ -889,0 +895,0 @@ fontWeight, |
{ | ||
"name": "onno", | ||
"license": "MIT", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Responsive style props for building themed design systems", | ||
@@ -33,3 +33,3 @@ "homepage": "https://github.com/wagerfield/onno/tree/master/packages/onno#readme", | ||
}, | ||
"gitHead": "4676df533538c17c1d8b05f61177f586fa004878" | ||
"gitHead": "5f2759828c790ef6ff9eb09a6c8587f80a5ba528" | ||
} |
@@ -27,2 +27,20 @@ import * as C from "csstype" | ||
export declare const fontSize: T.RenderFunction<FontSizeProps, FontSizeStyle> | ||
export declare type FontSmoothingValue = | ||
| C.Globals | ||
| "auto" | ||
| "none" | ||
| "antialiased" | ||
| "subpixel-antialiased" | ||
export declare type FontSmoothingProp = T.Prop<FontSmoothingValue> | ||
export interface FontSmoothingProps extends T.ThemeProps { | ||
fontSmoothing?: FontSmoothingProp | ||
fsm?: FontSmoothingProp | ||
} | ||
export interface FontSmoothingStyle extends T.Style { | ||
WebkitFontSmoothing?: FontSmoothingValue | ||
} | ||
export declare const fontSmoothing: T.RenderFunction< | ||
FontSmoothingProps, | ||
FontSmoothingStyle | ||
> | ||
export declare type FontStyleValue = C.FontStyleProperty | ||
@@ -117,2 +135,3 @@ export declare type FontStyleProp = T.Prop<FontStyleValue> | ||
FontSizeProps & | ||
FontSmoothingProps & | ||
FontStyleProps & | ||
@@ -128,2 +147,3 @@ FontWeightProps & | ||
FontSizeStyle & | ||
FontSmoothingStyle & | ||
FontStyleStyle & | ||
@@ -130,0 +150,0 @@ FontWeightStyle & |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
110230
3789