@loadsmart/miranda-tokens
Advanced tools
Comparing version 2.3.2 to 2.3.3
@@ -1,1 +0,1 @@ | ||
"use strict";var r=require("./loadsmart.theme.js");function t(r,t){return r.filter((function(r){return r.startsWith(t)}))}function o(r,t){return r.filter((function(r){return!r.startsWith(t)}))}var e=o(o(Object.keys(r.LoadsmartTheme),"brand-"),"platform-"),n=t(e,"color-background-"),a=t(e,"border-radius-"),s=t(e,"border-"),c=t(e,"color-"),O=t(e,"elevation-"),i=t(e,"font-family-"),l=t(e,"font-size-"),T=t(e,"font-weight-"),p=t(e,"global-"),E=t(e,"glow-"),N=t(e,"line-height-"),u=t(e,"opacity-"),S=t(e,"spacing-"),_=function(r,t,o){if(o||2===arguments.length)for(var e,n=0,a=t.length;n<a;n++)!e&&n in t||(e||(e=Array.prototype.slice.call(t,0,n)),e[n]=t[n]);return r.concat(e||Array.prototype.slice.call(t))}(["none"],S,!0);function x(t){return r.LoadsmartTheme[t]}function f(r){var t=x(r);return null==t?t:"--m-".concat(r)}exports.BACKGROUND_COLOR_TOKENS=n,exports.BORDER_RADIUS_TOKENS=a,exports.BORDER_TOKENS=s,exports.BORDER_WIDTH_TOKENS=["border-none","border-thin","border-medium","border-thick"],exports.COLOR_TOKENS=c,exports.ELEVATION_TOKENS=O,exports.FONT_FAMILY_TOKENS=i,exports.FONT_SIZE_TOKENS=l,exports.FONT_WEIGHT_TOKENS=T,exports.GLOBAL_TOKENS=p,exports.GLOW_TOKENS=E,exports.LINE_HEIGHT_TOKENS=N,exports.OPACITY_TOKENS=u,exports.SPACING_TOKENS=S,exports.SPACING_TOKENS_WITH_NONE=_,exports.TOKENS=e,exports.getToken=x,exports.toCSSValue=function(r,t){var o=x(r);return null==o?"":r.startsWith("color-")?"rgba(var(".concat(f(r),", ").concat(o,"), ").concat(null!=t?t:1,")"):"var(".concat(f(r),", ").concat(o,")")},exports.toCSSVariable=f; | ||
"use strict";var r=require("./themes.js");function t(r,t){return r.filter((function(r){return r.startsWith(t)}))}function o(r,t){return r.filter((function(r){return!r.startsWith(t)}))}var e=o(o(Object.keys(r.LoadsmartTheme),"brand-"),"platform-"),n=t(e,"color-background-"),a=t(e,"border-radius-"),s=t(e,"border-"),c=t(e,"color-"),O=t(e,"elevation-"),i=t(e,"font-family-"),l=t(e,"font-size-"),T=t(e,"font-weight-"),p=t(e,"global-"),E=t(e,"glow-"),N=t(e,"line-height-"),u=t(e,"opacity-"),S=t(e,"spacing-"),_=function(r,t,o){if(o||2===arguments.length)for(var e,n=0,a=t.length;n<a;n++)!e&&n in t||(e||(e=Array.prototype.slice.call(t,0,n)),e[n]=t[n]);return r.concat(e||Array.prototype.slice.call(t))}(["none"],S,!0);function x(t){return r.LoadsmartTheme[t]}function f(r){var t=x(r);return null==t?t:"--m-".concat(r)}exports.BACKGROUND_COLOR_TOKENS=n,exports.BORDER_RADIUS_TOKENS=a,exports.BORDER_TOKENS=s,exports.BORDER_WIDTH_TOKENS=["border-none","border-thin","border-medium","border-thick"],exports.COLOR_TOKENS=c,exports.ELEVATION_TOKENS=O,exports.FONT_FAMILY_TOKENS=i,exports.FONT_SIZE_TOKENS=l,exports.FONT_WEIGHT_TOKENS=T,exports.GLOBAL_TOKENS=p,exports.GLOW_TOKENS=E,exports.LINE_HEIGHT_TOKENS=N,exports.OPACITY_TOKENS=u,exports.SPACING_TOKENS=S,exports.SPACING_TOKENS_WITH_NONE=_,exports.TOKENS=e,exports.getToken=x,exports.toCSSValue=function(r,t){var o=x(r);return null==o?"":r.startsWith("color-")?"rgba(var(".concat(f(r),", ").concat(o,"), ").concat(null!=t?t:1,")"):"var(".concat(f(r),", ").concat(o,")")},exports.toCSSVariable=f; |
@@ -1,1 +0,1 @@ | ||
"use strict";var e=require("./loadsmart.theme.js");exports.LoadsmartTheme=e.LoadsmartTheme; | ||
"use strict";exports.LoadsmartTheme={"brand-color-brand":"20, 214, 77","brand-color-brand-accent-1":"0, 215, 215","brand-color-brand-accent-2":"132, 241, 30","border-radius-none":"0px","border-radius-s":"4px","border-radius-m":"8px","border-radius-l":"16px","border-radius-circle":"50%","border-none":0,"border-thin":"1px","border-medium":"2px","border-thick":"4px","color-background-primary":"252, 252, 255","color-background-secondary":"248, 249, 251","color-background-tertiary":"230, 237, 242","color-background-highlight":"202, 219, 221","color-background-inverted":"32, 41, 49","color-background-secondary-inverted":"61, 74, 85","color-border":"193, 206, 217","color-divider":"230, 237, 242","color-brand":"20, 214, 77","color-brand-accent-1":"0, 215, 215","color-brand-accent-2":"132, 241, 30","color-primary-20":"202, 219, 221","color-primary-60":"0, 84, 84","color-primary-100":"0, 51, 51","color-accent-20":"229, 245, 255","color-accent-60":"0, 98, 159","color-accent-100":"15, 66, 97","color-neutral-0":"252, 252, 255","color-neutral-10":"248, 249, 251","color-neutral-20":"230, 237, 242","color-neutral-40":"193, 206, 217","color-neutral-60":"94, 118, 138","color-neutral-80":"92, 106, 118","color-neutral-90":"61, 74, 85","color-neutral-100":"32, 41, 49","color-success-20":"227, 247, 239","color-success-60":"3, 124, 94","color-success-100":"0, 94, 71","color-danger-20":"255, 233, 230","color-danger-60":"186, 27, 27","color-danger-100":"104, 0, 3","color-warning-20":"255, 243, 214","color-warning-60":"248, 182, 14","color-warning-100":"102, 63, 25","color-text-primary":"32, 41, 49","color-text-secondary":"61, 74, 85","color-text-tertiary":"92, 106, 118","color-text-placeholder":"94, 118, 138","color-text-disabled":"193, 206, 217","color-text-inverted":"252, 252, 255","color-text-secondary-inverted":"193, 206, 217","color-text-error":"186, 27, 27","color-text-highlight":"0, 98, 159","color-text-link":"0, 98, 159","font-family-default":"'Manrope', sans-serif","font-family-title":"'PlusJakartaSans', 'Manrope', sans-serif","font-size-1":"0.625rem","font-size-2":"0.75rem","font-size-3":"0.875rem","font-size-4":"1rem","font-size-5":"1.25rem","font-size-6":"1.625rem","font-size-7":"2.375rem","font-size-8":"3rem","font-size-9":"3.625rem","font-weight-regular":500,"font-weight-medium":600,"font-weight-bold":700,"line-height-1":"100%","line-height-2":"125%","line-height-3":"130%","line-height-4":"140%","line-height-5":"150%","line-height-6":"180%","global-height-small":"1.75rem","global-height-default":"2.5rem","global-height-large":"3rem","opacity-0":"0%","opacity-20":"20%","opacity-40":"40%","opacity-60":"60%","opacity-100":"100%","elevation-1":"0px 0px 2px rgba(94, 118, 138, 0.1), 0px 1px 6px 2px rgba(61, 74, 85, 0.15)","elevation-2":"0px 1px 3px rgba(94, 118, 138, 0.2), 0px 4px 8px 3px rgba(61, 74, 85, 0.15)","elevation-3":"0px 0px 4px rgba(94, 118, 138, 0.2), 0px 6px 12px 6px rgba(61, 74, 85, 0.15)","elevation-4":"0px 5px 6px 4px rgba(94, 118, 138, 0.2), 0px 8px 10px rgba(61, 74, 85, 0.1)","glow-primary":"0.0px 0.0px 4.0px 0px rgb(3, 124, 94, .5)","glow-warning":"0.0px 0.0px 4.0px 0px rgba(255, 206, 79, 1.0)","spacing-1":"4px","spacing-2":"8px","spacing-3":"12px","spacing-4":"16px","spacing-5":"20px","spacing-6":"24px","spacing-8":"32px","spacing-10":"40px","spacing-12":"48px","spacing-14":"56px","spacing-16":"64px","spacing-20":"80px","spacing-30":"120px","spacing-0-5":"2px","platform-font-default":"'Manrope', sans-serif","platform-font-title":"'PlusJakartaSans', 'Manrope', sans-serif"}; |
{ | ||
"name": "@loadsmart/miranda-tokens", | ||
"version": "2.3.2", | ||
"version": "2.3.3", | ||
"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
32151
18
332