Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@operational/theme

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@operational/theme - npm Package Compare versions

Comparing version 0.1.0-38 to 0.1.0-39

3

lib/index.d.ts
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc