@loadsmart/miranda-tokens
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -1,1 +0,1 @@ | ||
"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; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("./loadsmart.theme-d11a5302.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-aa0e7729.js");exports.LoadsmartTheme=e.LoadsmartTheme; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./loadsmart.theme-d11a5302.js");exports.LoadsmartTheme=e.LoadsmartTheme; |
/** | ||
* Do not edit directly | ||
* Generated on Mon, 10 Oct 2022 16:20:11 GMT | ||
* Generated on Fri, 04 Nov 2022 16:40:40 GMT | ||
*/ | ||
@@ -5,0 +5,0 @@ declare const _default: { |
{ | ||
"name": "@loadsmart/miranda-tokens", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"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
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