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

@loadsmart/miranda-tokens

Package Overview
Dependencies
Maintainers
22
Versions
291
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loadsmart/miranda-tokens - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

dist/loadsmart.theme-aa0e7729.js

2

dist/index.js

@@ -1,1 +0,1 @@

"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("./loadsmart.theme-081f0615.js");function t(t){return r.LoadsmartTheme[t]}function e(r){var e=t(r);return null==e?e:"--m-".concat(r)}var o=Object.keys(r.LoadsmartTheme).filter((function(r){return!r.startsWith("brand-")&&!r.startsWith("platform-")}));function n(r){return o.filter((function(t){return t.startsWith(r)}))}var s=n("color-"),a=n("color-background-"),O=n("spacing-"),c=n("font-family-"),i=n("font-size-"),T=n("font-weight-"),u=n("line-height-"),E=n("border-"),p=n("border-radius-"),_=n("opacity-"),l=n("elevation-"),N=n("glow-");exports.BACKGROUND_COLOR_TOKENS=a,exports.BORDER_RADIUS_TOKENS=p,exports.BORDER_TOKENS=E,exports.BORDER_WIDTH_TOKENS=["border-none","border-thin","border-medium","border-thick"],exports.COLOR_TOKENS=s,exports.ELEVATION_TOKENS=l,exports.FONT_FAMILY_TOKENS=c,exports.FONT_SIZE_TOKENS=i,exports.FONT_WEIGHT_TOKENS=T,exports.GLOW_TOKENS=N,exports.LINE_HEIGHT_TOKENS=u,exports.OPACITY_TOKENS=_,exports.SPACING_TOKENS=O,exports.TOKENS=o,exports.getToken=t,exports.toCSSValue=function(r,o){var n=t(r);return null==n?"":r.startsWith("color-")?"rgba(var(".concat(e(r),", ").concat(n,"), ").concat(null!=o?o:1,")"):"var(".concat(e(r),", ").concat(n,")")},exports.toCSSVariable=e;
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("./loadsmart.theme-aa0e7729.js");function t(t){return r.LoadsmartTheme[t]}function e(r){var e=t(r);return null==e?e:"--m-".concat(r)}var o=Object.keys(r.LoadsmartTheme).filter((function(r){return!r.startsWith("brand-")&&!r.startsWith("platform-")}));function n(r){return o.filter((function(t){return t.startsWith(r)}))}var a=n("color-"),s=n("color-background-"),O=n("spacing-"),c=n("font-family-"),i=n("font-size-"),T=n("font-weight-"),u=n("line-height-"),E=n("border-"),p=n("border-radius-"),_=n("opacity-"),l=n("elevation-"),N=n("glow-");exports.BACKGROUND_COLOR_TOKENS=s,exports.BORDER_RADIUS_TOKENS=p,exports.BORDER_TOKENS=E,exports.BORDER_WIDTH_TOKENS=["border-none","border-thin","border-medium","border-thick"],exports.COLOR_TOKENS=a,exports.ELEVATION_TOKENS=l,exports.FONT_FAMILY_TOKENS=c,exports.FONT_SIZE_TOKENS=i,exports.FONT_WEIGHT_TOKENS=T,exports.GLOW_TOKENS=N,exports.LINE_HEIGHT_TOKENS=u,exports.OPACITY_TOKENS=_,exports.SPACING_TOKENS=O,exports.TOKENS=o,exports.getToken=t,exports.toCSSValue=function(r,o){var n=t(r);return null==n?"":r.startsWith("color-")?"rgba(var(".concat(e(r),", ").concat(n,"), ").concat(null!=o?o:1,")"):"var(".concat(e(r),", ").concat(n,")")},exports.toCSSVariable=e;

@@ -1,1 +0,1 @@

"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./loadsmart.theme-081f0615.js");exports.LoadsmartTheme=e.LoadsmartTheme;
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./loadsmart.theme-aa0e7729.js");exports.LoadsmartTheme=e.LoadsmartTheme;
/**
* Do not edit directly
* Generated on Mon, 10 Oct 2022 14:08:09 GMT
* Generated on Mon, 10 Oct 2022 16:20:11 GMT
*/

@@ -5,0 +5,0 @@ declare const _default: {

{
"name": "@loadsmart/miranda-tokens",
"version": "1.1.0",
"version": "1.2.0",
"description": "Design tokens for the Miranda Design System",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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