@operational/theme
Advanced tools
Comparing version 0.1.0-38 to 0.1.0-39
export { expandColor } from "./utils"; | ||
export declare type TextTransform = "capitalize" | "full-width" | "lowercase" | "none" | "uppercase"; | ||
export declare type ThemeColorName = "brand" | "info" | "success" | "warning" | "error" | "white" | "black" | "gray" | "lightGray" | "text" | "lightText" | "linkText" | "navBackground" | "background" | "lighterBackground" | "border" | "separator"; | ||
@@ -33,3 +34,3 @@ export interface ThemeColors { | ||
fontWeight: 100 | 300 | 400 | 600 | 700 | "normal" | "bold" | "bolder" | "lighter" | "initial" | "inherit"; | ||
textTransform: string; | ||
textTransform: TextTransform; | ||
letterSpacing: number | "normal"; | ||
@@ -36,0 +37,0 @@ lineHeight: string; |
{ | ||
"name": "@operational/theme", | ||
"version": "0.1.0-38", | ||
"version": "0.1.0-39", | ||
"description": "Customization theme for the Operational UI packages.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -5,2 +5,4 @@ // Type definitions | ||
export type TextTransform = "capitalize" | "full-width" | "lowercase" | "none" | "uppercase" | ||
export type ThemeColorName = | ||
@@ -57,3 +59,3 @@ | "brand" | ||
fontWeight: 100 | 300 | 400 | 600 | 700 | "normal" | "bold" | "bolder" | "lighter" | "initial" | "inherit" | ||
textTransform: string | ||
textTransform: TextTransform | ||
letterSpacing: number | "normal" | ||
@@ -130,3 +132,3 @@ lineHeight: string | ||
const baseTypography: { lineHeight: string; textTransform: string; letterSpacing: number | "normal" } = { | ||
const baseTypography: { lineHeight: string; textTransform: TextTransform; letterSpacing: number | "normal" } = { | ||
lineHeight: "1.5", | ||
@@ -133,0 +135,0 @@ textTransform: "none", |
Sorry, the diff of this file is not supported yet
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
15354
400