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

@twilio-paste/theme-tokens

Package Overview
Dependencies
Maintainers
5
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twilio-paste/theme-tokens - npm Package Compare versions

Comparing version 3.0.3 to 3.0.4

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [3.0.4](https://github.com/twilio-labs/paste/compare/@twilio-paste/theme-tokens@3.0.3...@twilio-paste/theme-tokens@3.0.4) (2020-02-26)
### Bug Fixes
* package dependencies and deprecation warnings ([#334](https://github.com/twilio-labs/paste/issues/334)) ([0e88338](https://github.com/twilio-labs/paste/commit/0e88338511e6835a79eb0a9cea8d5b3a1cdf0a88))
## [3.0.3](https://github.com/twilio-labs/paste/compare/@twilio-paste/theme-tokens@3.0.2...@twilio-paste/theme-tokens@3.0.3) (2020-02-13)

@@ -8,0 +19,0 @@

2

dist/index.js

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

"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var designTokens=require("@twilio-paste/design-tokens"),breakpoints=[designTokens.sizings.size40,designTokens.sizings.size100,designTokens.sizings.size120],DefaultTheme={shadows:designTokens.boxShadows,backgroundColors:designTokens.backgroundColors,borderColors:designTokens.borderColors,borderWidths:designTokens.borderWidths,radii:designTokens.radii,breakpoints:breakpoints,colors:designTokens.colors,fonts:designTokens.fonts,fontSizes:designTokens.fontSizes,fontWeights:designTokens.fontWeights,lineHeights:designTokens.lineHeights,widths:designTokens.sizings,maxWidths:designTokens.sizings,minWidths:designTokens.sizings,heights:designTokens.sizings,maxHeights:designTokens.sizings,minHeights:designTokens.sizings,sizes:designTokens.sizings,iconSizes:{sizeIcon10:designTokens.sizings.sizeIcon10,sizeIcon20:designTokens.sizings.sizeIcon20,sizeIcon30:designTokens.sizings.sizeIcon30,sizeIcon40:designTokens.sizings.sizeIcon40},space:designTokens.spacings,textColors:designTokens.textColors,zIndices:designTokens.zIndices};const borderRadius0="0",borderRadius10="3px",borderRadius20="4px",borderRadius30="8px",borderRadiusCircle="50%",borderWidth0="0",borderWidth10="1px",borderWidth20="2px",colorBackground="#f3f4f6",colorBackgroundBody="#ffffff",colorBackgroundBrand="#233659",colorBackgroundBrandHighlight="#f22f46",colorBackgroundDestructive="#ce241a",colorBackgroundDestructiveDark="#700600",colorBackgroundDestructiveDarker="#470500",colorBackgroundDestructiveLight="#ff8c85",colorBackgroundDestructiveLighter="#ffb9b3",colorBackgroundDestructiveLightest="#ffe9e7",colorBackgroundError="#ac1e16",colorBackgroundErrorLightest="#ffe9e7",colorBackgroundInverse="#08152c",colorBackgroundNeutralLightest="#f5f8ff",colorBackgroundPrimary="#3368fa",colorBackgroundPrimaryDark="#002ca6",colorBackgroundPrimaryDarker="#001f75",colorBackgroundPrimaryLight="#baccff",colorBackgroundPrimaryLighter="#dbe6ff",colorBackgroundPrimaryLightest="#f5f8ff",colorBackgroundRowStriped="#f9fafb",colorBackgroundSuccess="#00994a",colorBackgroundSuccessLightest="#e0ffef",colorBackgroundWarning="#e46216",colorBackgroundWarningLightest="#ffecd8",colorBorder="#b6bfce",colorBorderDark="#9ca7ba",colorBorderDestructive="#ce241a",colorBorderDestructiveDark="#700600",colorBorderDestructiveDarker="#470500",colorBorderDestructiveLight="#ff8c85",colorBorderDestructiveLighter="#ffb9b3",colorBorderError="#ac1e16",colorBorderErrorLight="#e8534a",colorBorderErrorLightest="#ffe9e7",colorBorderInput="#8894aa",colorBorderInputFocus="#003adb",colorBorderInputHover="#003adb",colorBorderLight="#ccd2dc",colorBorderNeutralLight="#b6bfce",colorBorderPrimary="#3368fa",colorBorderPrimaryDark="#002ca6",colorBorderPrimaryDarker="#001f75",colorBorderPrimaryLight="#baccff",colorBorderPrimaryLighter="#dbe6ff",colorBorderSuccess="#00994a",colorBorderSuccessLightest="#e0ffef",colorBorderWarning="#e46216",colorBorderWarningLight="#fa9c66",colorBorderWarningLightest="#ffecd8",colorBrand="#08152c",colorBrandHighlight="#3368fa",colorGray0="#ffffff",colorGray10="#f9fafb",colorGray100="#08152c",colorGray20="#f3f4f6",colorGray30="#e5e7ec",colorGray40="#ccd2dc",colorGray50="#b6bfce",colorGray60="#9ca7ba",colorGray70="#8894aa",colorGray80="#475672",colorGray90="#1d2944",colorText="#08152c",colorTextBrandHighlight="#f22f46",colorTextBrandInverse="#ffffff",colorTextError="#ac1e16",colorTextErrorDark="#940800",colorTextIcon="#8894aa",colorTextInverse="#ffffff",colorTextInverseWeak="#9ca7ba",colorTextLabel="#08152c",colorTextLink="#003adb",colorTextLinkDark="#002ca6",colorTextLinkDarker="#001f75",colorTextLinkDestructive="#ce241a",colorTextLinkDestructiveDark="#700600",colorTextLinkDestructiveDarker="#470500",colorTextLinkDestructiveLight="#e8534a",colorTextLinkLight="#85a5ff",colorTextPlaceholder="#8894aa",colorTextSuccess="#00994a",colorTextWarning="#e46216",colorTextWarningDark="#a83e00",colorTextWeak="#475672",fontFamilyCode="'Fira Mono', 'Courier New', Courier, monospace",fontFamilyText="'Colfax', Helvetica, Arial, sans-serif",fontSize10="0.625rem",fontSize100="2.5rem",fontSize110="3rem",fontSize20="0.75rem",fontSize30="0.875rem",fontSize40="1rem",fontSize50="1.125rem",fontSize60="1.25rem",fontSize70="1.5rem",fontSize80="1.75rem",fontSize90="2rem",fontWeightBold="700",fontWeightLight="300",fontWeightMedium="500",fontWeightNormal="400",fontWeightSemibold="600",lineHeight10="1rem",lineHeight100="3.25rem",lineHeight110="3.75rem",lineHeight20="1.25rem",lineHeight30="1.5rem",lineHeight40="1.75rem",lineHeight50="1.75rem",lineHeight60="1.75rem",lineHeight70="2rem",lineHeight80="2.25rem",lineHeight90="2.5rem",shadowCard="0 2px 4px 0 rgba(18, 28, 45, 0.3)",shadowFocus="0 0 0 4px rgba(51, 104, 250, 0.8)",size0="0",size10="5.5rem",size100="64rem",size110="70.5rem",size120="77rem",size20="12rem",size30="18.5rem",size40="25rem",size50="31.5rem",size60="38rem",size70="44.5rem",size80="51rem",size90="57.5rem",sizeIcon10="1rem",sizeIcon20="1.25rem",sizeIcon30="1.5rem",sizeIcon40="2rem",space0="0",space10="0.125rem",space100="2.25rem",space110="2.5rem",space120="2.75rem",space130="3rem",space140="3.25rem",space150="3.5rem",space160="3.75rem",space170="4rem",space180="4.25rem",space190="4.5rem",space20="0.25rem",space200="4.75rem",space30="0.5rem",space40="0.75rem",space50="1rem",space60="1.25rem",space70="1.5rem",space80="1.75rem",space90="2rem",zIndex0="0",zIndex10="10",zIndex20="20",zIndex30="30",zIndex40="40",zIndex50="50",zIndex60="60",zIndex70="70",zIndex80="80",zIndex90="90",backgroundColors={colorBackground:"#f3f4f6",colorBackgroundBody:"#ffffff",colorBackgroundBrand:"#233659",colorBackgroundBrandHighlight:"#f22f46",colorBackgroundDestructive:"#ce241a",colorBackgroundDestructiveDark:"#700600",colorBackgroundDestructiveDarker:"#470500",colorBackgroundDestructiveLight:"#ff8c85",colorBackgroundDestructiveLighter:"#ffb9b3",colorBackgroundDestructiveLightest:"#ffe9e7",colorBackgroundError:"#ac1e16",colorBackgroundErrorLightest:"#ffe9e7",colorBackgroundInverse:"#08152c",colorBackgroundNeutralLightest:"#f5f8ff",colorBackgroundPrimary:"#3368fa",colorBackgroundPrimaryDark:"#002ca6",colorBackgroundPrimaryDarker:"#001f75",colorBackgroundPrimaryLight:"#baccff",colorBackgroundPrimaryLighter:"#dbe6ff",colorBackgroundPrimaryLightest:"#f5f8ff",colorBackgroundRowStriped:"#f9fafb",colorBackgroundSuccess:"#00994a",colorBackgroundSuccessLightest:"#e0ffef",colorBackgroundWarning:"#e46216",colorBackgroundWarningLightest:"#ffecd8"},borderColors={colorBorder:"#b6bfce",colorBorderDark:"#9ca7ba",colorBorderDestructive:"#ce241a",colorBorderDestructiveDark:"#700600",colorBorderDestructiveDarker:"#470500",colorBorderDestructiveLight:"#ff8c85",colorBorderDestructiveLighter:"#ffb9b3",colorBorderError:"#ac1e16",colorBorderErrorLight:"#e8534a",colorBorderErrorLightest:"#ffe9e7",colorBorderInput:"#8894aa",colorBorderInputFocus:"#003adb",colorBorderInputHover:"#003adb",colorBorderLight:"#ccd2dc",colorBorderNeutralLight:"#b6bfce",colorBorderPrimary:"#3368fa",colorBorderPrimaryDark:"#002ca6",colorBorderPrimaryDarker:"#001f75",colorBorderPrimaryLight:"#baccff",colorBorderPrimaryLighter:"#dbe6ff",colorBorderSuccess:"#00994a",colorBorderSuccessLightest:"#e0ffef",colorBorderWarning:"#e46216",colorBorderWarningLight:"#fa9c66",colorBorderWarningLightest:"#ffecd8"},borderWidths={borderWidth0:"0",borderWidth10:"1px",borderWidth20:"2px"},boxShadows={shadowCard:shadowCard,shadowFocus:shadowFocus},colors={colorBrand:"#08152c",colorBrandHighlight:"#3368fa",colorGray0:"#ffffff",colorGray10:"#f9fafb",colorGray100:"#08152c",colorGray20:"#f3f4f6",colorGray30:"#e5e7ec",colorGray40:"#ccd2dc",colorGray50:"#b6bfce",colorGray60:"#9ca7ba",colorGray70:"#8894aa",colorGray80:"#475672",colorGray90:"#1d2944"},fonts={fontFamilyCode:fontFamilyCode,fontFamilyText:fontFamilyText},fontSizes={fontSize10:"0.625rem",fontSize100:"2.5rem",fontSize110:"3rem",fontSize20:"0.75rem",fontSize30:"0.875rem",fontSize40:"1rem",fontSize50:"1.125rem",fontSize60:"1.25rem",fontSize70:"1.5rem",fontSize80:"1.75rem",fontSize90:"2rem"},fontWeights={fontWeightBold:"700",fontWeightLight:"300",fontWeightMedium:"500",fontWeightNormal:"400",fontWeightSemibold:"600"},lineHeights={lineHeight10:"1rem",lineHeight100:"3.25rem",lineHeight110:"3.75rem",lineHeight20:"1.25rem",lineHeight30:"1.5rem",lineHeight40:"1.75rem",lineHeight50:"1.75rem",lineHeight60:"1.75rem",lineHeight70:"2rem",lineHeight80:"2.25rem",lineHeight90:"2.5rem"},radii={borderRadius0:"0",borderRadius10:"3px",borderRadius20:"4px",borderRadius30:"8px",borderRadiusCircle:"50%"},sizings={size0:"0",size10:size10,size100:"64rem",size110:size110,size120:"77rem",size20:size20,size30:size30,size40:size40,size50:size50,size60:size60,size70:size70,size80:size80,size90:size90,sizeIcon10:"1rem",sizeIcon20:"1.25rem",sizeIcon30:"1.5rem",sizeIcon40:"2rem"},spacings={space0:"0",space10:space10,space100:space100,space110:"2.5rem",space120:space120,space130:"3rem",space140:space140,space150:"3.5rem",space160:space160,space170:"4rem",space180:space180,space190:"4.5rem",space20:space20,space200:space200,space30:space30,space40:space40,space50:"1rem",space60:space60,space70:space70,space80:space80,space90:"2rem"},textColors={colorText:"#08152c",colorTextBrandHighlight:"#f22f46",colorTextBrandInverse:"#ffffff",colorTextError:"#ac1e16",colorTextErrorDark:"#940800",colorTextIcon:"#8894aa",colorTextInverse:"#ffffff",colorTextInverseWeak:"#9ca7ba",colorTextLabel:"#08152c",colorTextLink:"#003adb",colorTextLinkDark:"#002ca6",colorTextLinkDarker:"#001f75",colorTextLinkDestructive:"#ce241a",colorTextLinkDestructiveDark:"#700600",colorTextLinkDestructiveDarker:"#470500",colorTextLinkDestructiveLight:"#e8534a",colorTextLinkLight:"#85a5ff",colorTextPlaceholder:"#8894aa",colorTextSuccess:"#00994a",colorTextWarning:"#e46216",colorTextWarningDark:"#a83e00",colorTextWeak:"#475672"},zIndices={zIndex0:"0",zIndex10:"10",zIndex20:"20",zIndex30:"30",zIndex40:"40",zIndex50:"50",zIndex60:"60",zIndex70:"70",zIndex80:"80",zIndex90:"90"};var breakpoints$1=[sizings.size40,sizings.size100,sizings.size120],SendGridTheme={shadows:boxShadows,backgroundColors:backgroundColors,borderColors:borderColors,borderWidths:borderWidths,radii:radii,breakpoints:breakpoints$1,colors:colors,fonts:fonts,fontSizes:fontSizes,fontWeights:fontWeights,lineHeights:lineHeights,widths:sizings,maxWidths:sizings,minWidths:sizings,heights:sizings,maxHeights:sizings,minHeights:sizings,sizes:sizings,iconSizes:{sizeIcon10:sizings.sizeIcon10,sizeIcon20:sizings.sizeIcon20,sizeIcon30:sizings.sizeIcon30,sizeIcon40:sizings.sizeIcon40},space:spacings,textColors:textColors,zIndices:zIndices};const borderRadius0$1="0",borderRadius10$1="3px",borderRadius20$1="4px",borderRadius30$1="8px",borderRadiusCircle$1="50%",borderWidth0$1="0",borderWidth10$1="1px",borderWidth20$1="2px",colorBackground$1="#f8f8f9",colorBackgroundBody$1="#ffffff",colorBackgroundBrand$1="#233659",colorBackgroundBrandHighlight$1="#f22f46",colorBackgroundDestructive$1="#e22525",colorBackgroundDestructiveDark$1="#921200",colorBackgroundDestructiveDarker$1="#600101",colorBackgroundDestructiveLight$1="#ecb6b6",colorBackgroundDestructiveLighter$1="#f5dddd",colorBackgroundDestructiveLightest$1="#ffe9e7",colorBackgroundError$1="#e22525",colorBackgroundErrorLightest$1="#ffe9e7",colorBackgroundInverse$1="#4f5355",colorBackgroundNeutralLightest$1="#f5f8ff",colorBackgroundPrimary$1="#027ac5",colorBackgroundPrimaryDark$1="#003e82",colorBackgroundPrimaryDarker$1="#032c5e",colorBackgroundPrimaryLight$1="#b3d3e9",colorBackgroundPrimaryLighter$1="#dceaf4",colorBackgroundPrimaryLightest$1="#f5f8ff",colorBackgroundRowStriped$1="#f8f8f9",colorBackgroundSuccess$1="#00994a",colorBackgroundSuccessLightest$1="#e0ffef",colorBackgroundWarning$1="#e46216",colorBackgroundWarningLightest$1="#ffecd8",colorBorder$1="#c8cccf",colorBorderDark$1="#888c8e",colorBorderDestructive$1="#e22525",colorBorderDestructiveDark$1="#921200",colorBorderDestructiveDarker$1="#600101",colorBorderDestructiveLight$1="#ecb6b6",colorBorderDestructiveLighter$1="#f5dddd",colorBorderError$1="#e22525",colorBorderErrorLight$1="#de5858",colorBorderErrorLightest$1="#ffe9e7",colorBorderInput$1="#888c8e",colorBorderInputFocus$1="#027ac5",colorBorderInputHover$1="#027ac5",colorBorderLight$1="#e4e7e9",colorBorderNeutralLight$1="#c8cccf",colorBorderPrimary$1="#027ac5",colorBorderPrimaryDark$1="#003e82",colorBorderPrimaryDarker$1="#032c5e",colorBorderPrimaryLight$1="#b3d3e9",colorBorderPrimaryLighter$1="#dceaf4",colorBorderSuccess$1="#00994a",colorBorderSuccessLightest$1="#e0ffef",colorBorderWarning$1="#e46216",colorBorderWarningLight$1="#f28510",colorBorderWarningLightest$1="#ffecd8",colorBrand$1="#233659",colorBrandHighlight$1="#f22f46",colorGray0$1="#ffffff",colorGray10$1="#f9fafb",colorGray100$1="#282a2b",colorGray20$1="#f8f8f9",colorGray30$1="#f2f3f4",colorGray40$1="#e4e7e9",colorGray50$1="#c8cccf",colorGray60$1="#888c8e",colorGray70$1="#666a6d",colorGray80$1="#4f5355",colorGray90$1="#424547",colorText$1="#282a2b",colorTextBrandHighlight$1="#f22f46",colorTextBrandInverse$1="#ffffff",colorTextError$1="#e22525",colorTextErrorDark$1="#921200",colorTextIcon$1="#666a6d",colorTextInverse$1="#ffffff",colorTextInverseWeak$1="#c8cccf",colorTextLabel$1="#282a2b",colorTextLink$1="#005ea6",colorTextLinkDark$1="#003e82",colorTextLinkDarker$1="#032c5e",colorTextLinkDestructive$1="#e22525",colorTextLinkDestructiveDark$1="#b20600",colorTextLinkDestructiveDarker$1="#921200",colorTextLinkDestructiveLight$1="#ecb6b6",colorTextLinkLight$1="#b3d3e9",colorTextPlaceholder$1="#666a6d",colorTextSuccess$1="#00994a",colorTextWarning$1="#e46216",colorTextWarningDark$1="#a83e00",colorTextWeak$1="#666a6d",fontFamilyCode$1="'Fira Mono', 'Courier New', Courier, monospace",fontFamilyText$1="'Whitney SSm A', 'Whitney SSm B', 'Helvetica Neue', Helvetica, Arial, sans-serif",fontSize10$1="0.625rem",fontSize100$1="2.5rem",fontSize110$1="3rem",fontSize20$1="0.75rem",fontSize30$1="0.875rem",fontSize40$1="1rem",fontSize50$1="1.125rem",fontSize60$1="1.25rem",fontSize70$1="1.5rem",fontSize80$1="1.75rem",fontSize90$1="2rem",fontWeightBold$1="700",fontWeightLight$1="300",fontWeightMedium$1="500",fontWeightNormal$1="400",fontWeightSemibold$1="500",lineHeight10$1="1rem",lineHeight100$1="3.25rem",lineHeight110$1="3.75rem",lineHeight20$1="1.25rem",lineHeight30$1="1.5rem",lineHeight40$1="1.75rem",lineHeight50$1="1.75rem",lineHeight60$1="1.75rem",lineHeight70$1="2rem",lineHeight80$1="2.25rem",lineHeight90$1="2.5rem",shadowCard$1="0 2px 4px 0 rgba(40, 42, 43, 0.3)",shadowFocus$1="0 0 0 4px rgba(2, 122, 197, 0.8)",size0$1="0",size10$1="5.5rem",size100$1="64rem",size110$1="70.5rem",size120$1="77rem",size20$1="12rem",size30$1="18.5rem",size40$1="25rem",size50$1="31.5rem",size60$1="38rem",size70$1="44.5rem",size80$1="51rem",size90$1="57.5rem",sizeIcon10$1="1rem",sizeIcon20$1="1.25rem",sizeIcon30$1="1.5rem",sizeIcon40$1="2rem",space0$1="0",space10$1="0.125rem",space100$1="2.25rem",space110$1="2.5rem",space120$1="2.75rem",space130$1="3rem",space140$1="3.25rem",space150$1="3.5rem",space160$1="3.75rem",space170$1="4rem",space180$1="4.25rem",space190$1="4.5rem",space20$1="0.25rem",space200$1="4.75rem",space30$1="0.5rem",space40$1="0.75rem",space50$1="1rem",space60$1="1.25rem",space70$1="1.5rem",space80$1="1.75rem",space90$1="2rem",zIndex0$1="0",zIndex10$1="10",zIndex20$1="20",zIndex30$1="30",zIndex40$1="40",zIndex50$1="50",zIndex60$1="60",zIndex70$1="70",zIndex80$1="80",zIndex90$1="90",backgroundColors$1={colorBackground:"#f8f8f9",colorBackgroundBody:"#ffffff",colorBackgroundBrand:"#233659",colorBackgroundBrandHighlight:"#f22f46",colorBackgroundDestructive:"#e22525",colorBackgroundDestructiveDark:"#921200",colorBackgroundDestructiveDarker:"#600101",colorBackgroundDestructiveLight:"#ecb6b6",colorBackgroundDestructiveLighter:"#f5dddd",colorBackgroundDestructiveLightest:"#ffe9e7",colorBackgroundError:"#e22525",colorBackgroundErrorLightest:"#ffe9e7",colorBackgroundInverse:"#4f5355",colorBackgroundNeutralLightest:"#f5f8ff",colorBackgroundPrimary:"#027ac5",colorBackgroundPrimaryDark:"#003e82",colorBackgroundPrimaryDarker:"#032c5e",colorBackgroundPrimaryLight:"#b3d3e9",colorBackgroundPrimaryLighter:"#dceaf4",colorBackgroundPrimaryLightest:"#f5f8ff",colorBackgroundRowStriped:"#f8f8f9",colorBackgroundSuccess:"#00994a",colorBackgroundSuccessLightest:"#e0ffef",colorBackgroundWarning:"#e46216",colorBackgroundWarningLightest:"#ffecd8"},borderColors$1={colorBorder:"#c8cccf",colorBorderDark:"#888c8e",colorBorderDestructive:"#e22525",colorBorderDestructiveDark:"#921200",colorBorderDestructiveDarker:"#600101",colorBorderDestructiveLight:"#ecb6b6",colorBorderDestructiveLighter:"#f5dddd",colorBorderError:"#e22525",colorBorderErrorLight:"#de5858",colorBorderErrorLightest:"#ffe9e7",colorBorderInput:"#888c8e",colorBorderInputFocus:"#027ac5",colorBorderInputHover:"#027ac5",colorBorderLight:"#e4e7e9",colorBorderNeutralLight:"#c8cccf",colorBorderPrimary:"#027ac5",colorBorderPrimaryDark:"#003e82",colorBorderPrimaryDarker:"#032c5e",colorBorderPrimaryLight:"#b3d3e9",colorBorderPrimaryLighter:"#dceaf4",colorBorderSuccess:"#00994a",colorBorderSuccessLightest:"#e0ffef",colorBorderWarning:"#e46216",colorBorderWarningLight:"#f28510",colorBorderWarningLightest:"#ffecd8"},borderWidths$1={borderWidth0:"0",borderWidth10:"1px",borderWidth20:"2px"},boxShadows$1={shadowCard:shadowCard$1,shadowFocus:shadowFocus$1},colors$1={colorBrand:"#233659",colorBrandHighlight:"#f22f46",colorGray0:"#ffffff",colorGray10:"#f9fafb",colorGray100:"#282a2b",colorGray20:"#f8f8f9",colorGray30:"#f2f3f4",colorGray40:"#e4e7e9",colorGray50:"#c8cccf",colorGray60:"#888c8e",colorGray70:"#666a6d",colorGray80:"#4f5355",colorGray90:"#424547"},fonts$1={fontFamilyCode:fontFamilyCode$1,fontFamilyText:fontFamilyText$1},fontSizes$1={fontSize10:"0.625rem",fontSize100:"2.5rem",fontSize110:"3rem",fontSize20:"0.75rem",fontSize30:"0.875rem",fontSize40:"1rem",fontSize50:"1.125rem",fontSize60:"1.25rem",fontSize70:"1.5rem",fontSize80:"1.75rem",fontSize90:"2rem"},fontWeights$1={fontWeightBold:"700",fontWeightLight:"300",fontWeightMedium:"500",fontWeightNormal:"400",fontWeightSemibold:"500"},lineHeights$1={lineHeight10:"1rem",lineHeight100:"3.25rem",lineHeight110:"3.75rem",lineHeight20:"1.25rem",lineHeight30:"1.5rem",lineHeight40:"1.75rem",lineHeight50:"1.75rem",lineHeight60:"1.75rem",lineHeight70:"2rem",lineHeight80:"2.25rem",lineHeight90:"2.5rem"},radii$1={borderRadius0:"0",borderRadius10:"3px",borderRadius20:"4px",borderRadius30:"8px",borderRadiusCircle:"50%"},sizings$1={size0:"0",size10:"5.5rem",size100:"64rem",size110:"70.5rem",size120:"77rem",size20:"12rem",size30:size30$1,size40:"25rem",size50:size50$1,size60:"38rem",size70:size70$1,size80:"51rem",size90:size90$1,sizeIcon10:"1rem",sizeIcon20:"1.25rem",sizeIcon30:"1.5rem",sizeIcon40:"2rem"},spacings$1={space0:"0",space10:space10$1,space100:"2.25rem",space110:"2.5rem",space120:"2.75rem",space130:"3rem",space140:"3.25rem",space150:"3.5rem",space160:"3.75rem",space170:"4rem",space180:"4.25rem",space190:"4.5rem",space20:"0.25rem",space200:"4.75rem",space30:"0.5rem",space40:"0.75rem",space50:"1rem",space60:"1.25rem",space70:"1.5rem",space80:"1.75rem",space90:"2rem"},textColors$1={colorText:"#282a2b",colorTextBrandHighlight:"#f22f46",colorTextBrandInverse:"#ffffff",colorTextError:"#e22525",colorTextErrorDark:"#921200",colorTextIcon:"#666a6d",colorTextInverse:"#ffffff",colorTextInverseWeak:"#c8cccf",colorTextLabel:"#282a2b",colorTextLink:"#005ea6",colorTextLinkDark:"#003e82",colorTextLinkDarker:"#032c5e",colorTextLinkDestructive:"#e22525",colorTextLinkDestructiveDark:"#b20600",colorTextLinkDestructiveDarker:"#921200",colorTextLinkDestructiveLight:"#ecb6b6",colorTextLinkLight:"#b3d3e9",colorTextPlaceholder:"#666a6d",colorTextSuccess:"#00994a",colorTextWarning:"#e46216",colorTextWarningDark:"#a83e00",colorTextWeak:"#666a6d"},zIndices$1={zIndex0:"0",zIndex10:"10",zIndex20:"20",zIndex30:"30",zIndex40:"40",zIndex50:"50",zIndex60:"60",zIndex70:"70",zIndex80:"80",zIndex90:"90"};var breakpoints$2=[sizings$1.size40,sizings$1.size100,sizings$1.size120],ConsoleTheme={shadows:boxShadows$1,backgroundColors:backgroundColors$1,borderColors:borderColors$1,borderWidths:borderWidths$1,radii:radii$1,breakpoints:breakpoints$2,colors:colors$1,fonts:fonts$1,fontSizes:fontSizes$1,fontWeights:fontWeights$1,lineHeights:lineHeights$1,widths:sizings$1,maxWidths:sizings$1,minWidths:sizings$1,heights:sizings$1,maxHeights:sizings$1,minHeights:sizings$1,sizes:sizings$1,iconSizes:{sizeIcon10:sizings$1.sizeIcon10,sizeIcon20:sizings$1.sizeIcon20,sizeIcon30:sizings$1.sizeIcon30,sizeIcon40:sizings$1.sizeIcon40},space:spacings$1,textColors:textColors$1,zIndices:zIndices$1};exports.ConsoleTheme=ConsoleTheme,exports.DefaultTheme=DefaultTheme,exports.SendGridTheme=SendGridTheme;
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("@twilio-paste/design-tokens"),e=[r.sizings.size40,r.sizings.size100,r.sizings.size120],o={shadows:r.boxShadows,backgroundColors:r.backgroundColors,borderColors:r.borderColors,borderWidths:r.borderWidths,radii:r.radii,breakpoints:e,colors:r.colors,fonts:r.fonts,fontSizes:r.fontSizes,fontWeights:r.fontWeights,lineHeights:r.lineHeights,widths:r.sizings,maxWidths:r.sizings,minWidths:r.sizings,heights:r.sizings,maxHeights:r.sizings,minHeights:r.sizings,sizes:r.sizings,iconSizes:{sizeIcon10:r.sizings.sizeIcon10,sizeIcon20:r.sizings.sizeIcon20,sizeIcon30:r.sizings.sizeIcon30,sizeIcon40:r.sizings.sizeIcon40},space:r.spacings,textColors:r.textColors,zIndices:r.zIndices};const c={size0:"0",size10:"5.5rem",size100:"64rem",size110:"70.5rem",size120:"77rem",size20:"12rem",size30:"18.5rem",size40:"25rem",size50:"31.5rem",size60:"38rem",size70:"44.5rem",size80:"51rem",size90:"57.5rem",sizeIcon10:"1rem",sizeIcon20:"1.25rem",sizeIcon30:"1.5rem",sizeIcon40:"2rem"};var i={shadows:{shadowCard:"0 2px 4px 0 rgba(18, 28, 45, 0.3)",shadowFocus:"0 0 0 4px rgba(51, 104, 250, 0.8)"},backgroundColors:{colorBackground:"#f3f4f6",colorBackgroundBody:"#ffffff",colorBackgroundBrand:"#233659",colorBackgroundBrandHighlight:"#f22f46",colorBackgroundDestructive:"#ce241a",colorBackgroundDestructiveDark:"#700600",colorBackgroundDestructiveDarker:"#470500",colorBackgroundDestructiveLight:"#ff8c85",colorBackgroundDestructiveLighter:"#ffb9b3",colorBackgroundDestructiveLightest:"#ffe9e7",colorBackgroundError:"#ac1e16",colorBackgroundErrorLightest:"#ffe9e7",colorBackgroundInverse:"#08152c",colorBackgroundNeutralLightest:"#f5f8ff",colorBackgroundPrimary:"#3368fa",colorBackgroundPrimaryDark:"#002ca6",colorBackgroundPrimaryDarker:"#001f75",colorBackgroundPrimaryLight:"#baccff",colorBackgroundPrimaryLighter:"#dbe6ff",colorBackgroundPrimaryLightest:"#f5f8ff",colorBackgroundRowStriped:"#f9fafb",colorBackgroundSuccess:"#00994a",colorBackgroundSuccessLightest:"#e0ffef",colorBackgroundWarning:"#e46216",colorBackgroundWarningLightest:"#ffecd8"},borderColors:{colorBorder:"#b6bfce",colorBorderDark:"#9ca7ba",colorBorderDestructive:"#ce241a",colorBorderDestructiveDark:"#700600",colorBorderDestructiveDarker:"#470500",colorBorderDestructiveLight:"#ff8c85",colorBorderDestructiveLighter:"#ffb9b3",colorBorderError:"#ac1e16",colorBorderErrorLight:"#e8534a",colorBorderErrorLightest:"#ffe9e7",colorBorderInput:"#8894aa",colorBorderInputFocus:"#003adb",colorBorderInputHover:"#003adb",colorBorderLight:"#ccd2dc",colorBorderNeutralLight:"#b6bfce",colorBorderPrimary:"#3368fa",colorBorderPrimaryDark:"#002ca6",colorBorderPrimaryDarker:"#001f75",colorBorderPrimaryLight:"#baccff",colorBorderPrimaryLighter:"#dbe6ff",colorBorderSuccess:"#00994a",colorBorderSuccessLightest:"#e0ffef",colorBorderWarning:"#e46216",colorBorderWarningLight:"#fa9c66",colorBorderWarningLightest:"#ffecd8"},borderWidths:{borderWidth0:"0",borderWidth10:"1px",borderWidth20:"2px"},radii:{borderRadius0:"0",borderRadius10:"3px",borderRadius20:"4px",borderRadius30:"8px",borderRadiusCircle:"50%"},breakpoints:[c.size40,c.size100,c.size120],colors:{colorBrand:"#08152c",colorBrandHighlight:"#3368fa",colorGray0:"#ffffff",colorGray10:"#f9fafb",colorGray100:"#08152c",colorGray20:"#f3f4f6",colorGray30:"#e5e7ec",colorGray40:"#ccd2dc",colorGray50:"#b6bfce",colorGray60:"#9ca7ba",colorGray70:"#8894aa",colorGray80:"#475672",colorGray90:"#1d2944"},fonts:{fontFamilyCode:"'Fira Mono', 'Courier New', Courier, monospace",fontFamilyText:"'Colfax', Helvetica, Arial, sans-serif"},fontSizes:{fontSize10:"0.625rem",fontSize100:"2.5rem",fontSize110:"3rem",fontSize20:"0.75rem",fontSize30:"0.875rem",fontSize40:"1rem",fontSize50:"1.125rem",fontSize60:"1.25rem",fontSize70:"1.5rem",fontSize80:"1.75rem",fontSize90:"2rem"},fontWeights:{fontWeightBold:"700",fontWeightLight:"300",fontWeightMedium:"500",fontWeightNormal:"400",fontWeightSemibold:"600"},lineHeights:{lineHeight10:"1rem",lineHeight100:"3.25rem",lineHeight110:"3.75rem",lineHeight20:"1.25rem",lineHeight30:"1.5rem",lineHeight40:"1.75rem",lineHeight50:"1.75rem",lineHeight60:"1.75rem",lineHeight70:"2rem",lineHeight80:"2.25rem",lineHeight90:"2.5rem"},widths:c,maxWidths:c,minWidths:c,heights:c,maxHeights:c,minHeights:c,sizes:c,iconSizes:{sizeIcon10:c.sizeIcon10,sizeIcon20:c.sizeIcon20,sizeIcon30:c.sizeIcon30,sizeIcon40:c.sizeIcon40},space:{space0:"0",space10:"0.125rem",space100:"2.25rem",space110:"2.5rem",space120:"2.75rem",space130:"3rem",space140:"3.25rem",space150:"3.5rem",space160:"3.75rem",space170:"4rem",space180:"4.25rem",space190:"4.5rem",space20:"0.25rem",space200:"4.75rem",space30:"0.5rem",space40:"0.75rem",space50:"1rem",space60:"1.25rem",space70:"1.5rem",space80:"1.75rem",space90:"2rem"},textColors:{colorText:"#08152c",colorTextBrandHighlight:"#f22f46",colorTextBrandInverse:"#ffffff",colorTextError:"#ac1e16",colorTextErrorDark:"#940800",colorTextIcon:"#8894aa",colorTextInverse:"#ffffff",colorTextInverseWeak:"#9ca7ba",colorTextLabel:"#08152c",colorTextLink:"#003adb",colorTextLinkDark:"#002ca6",colorTextLinkDarker:"#001f75",colorTextLinkDestructive:"#ce241a",colorTextLinkDestructiveDark:"#700600",colorTextLinkDestructiveDarker:"#470500",colorTextLinkDestructiveLight:"#e8534a",colorTextLinkLight:"#85a5ff",colorTextPlaceholder:"#8894aa",colorTextSuccess:"#00994a",colorTextWarning:"#e46216",colorTextWarningDark:"#a83e00",colorTextWeak:"#475672"},zIndices:{zIndex0:"0",zIndex10:"10",zIndex20:"20",zIndex30:"30",zIndex40:"40",zIndex50:"50",zIndex60:"60",zIndex70:"70",zIndex80:"80",zIndex90:"90"}};const t={size0:"0",size10:"5.5rem",size100:"64rem",size110:"70.5rem",size120:"77rem",size20:"12rem",size30:"18.5rem",size40:"25rem",size50:"31.5rem",size60:"38rem",size70:"44.5rem",size80:"51rem",size90:"57.5rem",sizeIcon10:"1rem",sizeIcon20:"1.25rem",sizeIcon30:"1.5rem",sizeIcon40:"2rem"};var s={shadows:{shadowCard:"0 2px 4px 0 rgba(40, 42, 43, 0.3)",shadowFocus:"0 0 0 4px rgba(2, 122, 197, 0.8)"},backgroundColors:{colorBackground:"#f8f8f9",colorBackgroundBody:"#ffffff",colorBackgroundBrand:"#233659",colorBackgroundBrandHighlight:"#f22f46",colorBackgroundDestructive:"#e22525",colorBackgroundDestructiveDark:"#921200",colorBackgroundDestructiveDarker:"#600101",colorBackgroundDestructiveLight:"#ecb6b6",colorBackgroundDestructiveLighter:"#f5dddd",colorBackgroundDestructiveLightest:"#ffe9e7",colorBackgroundError:"#e22525",colorBackgroundErrorLightest:"#ffe9e7",colorBackgroundInverse:"#4f5355",colorBackgroundNeutralLightest:"#f5f8ff",colorBackgroundPrimary:"#027ac5",colorBackgroundPrimaryDark:"#003e82",colorBackgroundPrimaryDarker:"#032c5e",colorBackgroundPrimaryLight:"#b3d3e9",colorBackgroundPrimaryLighter:"#dceaf4",colorBackgroundPrimaryLightest:"#f5f8ff",colorBackgroundRowStriped:"#f8f8f9",colorBackgroundSuccess:"#00994a",colorBackgroundSuccessLightest:"#e0ffef",colorBackgroundWarning:"#e46216",colorBackgroundWarningLightest:"#ffecd8"},borderColors:{colorBorder:"#c8cccf",colorBorderDark:"#888c8e",colorBorderDestructive:"#e22525",colorBorderDestructiveDark:"#921200",colorBorderDestructiveDarker:"#600101",colorBorderDestructiveLight:"#ecb6b6",colorBorderDestructiveLighter:"#f5dddd",colorBorderError:"#e22525",colorBorderErrorLight:"#de5858",colorBorderErrorLightest:"#ffe9e7",colorBorderInput:"#888c8e",colorBorderInputFocus:"#027ac5",colorBorderInputHover:"#027ac5",colorBorderLight:"#e4e7e9",colorBorderNeutralLight:"#c8cccf",colorBorderPrimary:"#027ac5",colorBorderPrimaryDark:"#003e82",colorBorderPrimaryDarker:"#032c5e",colorBorderPrimaryLight:"#b3d3e9",colorBorderPrimaryLighter:"#dceaf4",colorBorderSuccess:"#00994a",colorBorderSuccessLightest:"#e0ffef",colorBorderWarning:"#e46216",colorBorderWarningLight:"#f28510",colorBorderWarningLightest:"#ffecd8"},borderWidths:{borderWidth0:"0",borderWidth10:"1px",borderWidth20:"2px"},radii:{borderRadius0:"0",borderRadius10:"3px",borderRadius20:"4px",borderRadius30:"8px",borderRadiusCircle:"50%"},breakpoints:[t.size40,t.size100,t.size120],colors:{colorBrand:"#233659",colorBrandHighlight:"#f22f46",colorGray0:"#ffffff",colorGray10:"#f9fafb",colorGray100:"#282a2b",colorGray20:"#f8f8f9",colorGray30:"#f2f3f4",colorGray40:"#e4e7e9",colorGray50:"#c8cccf",colorGray60:"#888c8e",colorGray70:"#666a6d",colorGray80:"#4f5355",colorGray90:"#424547"},fonts:{fontFamilyCode:"'Fira Mono', 'Courier New', Courier, monospace",fontFamilyText:"'Whitney SSm A', 'Whitney SSm B', 'Helvetica Neue', Helvetica, Arial, sans-serif"},fontSizes:{fontSize10:"0.625rem",fontSize100:"2.5rem",fontSize110:"3rem",fontSize20:"0.75rem",fontSize30:"0.875rem",fontSize40:"1rem",fontSize50:"1.125rem",fontSize60:"1.25rem",fontSize70:"1.5rem",fontSize80:"1.75rem",fontSize90:"2rem"},fontWeights:{fontWeightBold:"700",fontWeightLight:"300",fontWeightMedium:"500",fontWeightNormal:"400",fontWeightSemibold:"500"},lineHeights:{lineHeight10:"1rem",lineHeight100:"3.25rem",lineHeight110:"3.75rem",lineHeight20:"1.25rem",lineHeight30:"1.5rem",lineHeight40:"1.75rem",lineHeight50:"1.75rem",lineHeight60:"1.75rem",lineHeight70:"2rem",lineHeight80:"2.25rem",lineHeight90:"2.5rem"},widths:t,maxWidths:t,minWidths:t,heights:t,maxHeights:t,minHeights:t,sizes:t,iconSizes:{sizeIcon10:t.sizeIcon10,sizeIcon20:t.sizeIcon20,sizeIcon30:t.sizeIcon30,sizeIcon40:t.sizeIcon40},space:{space0:"0",space10:"0.125rem",space100:"2.25rem",space110:"2.5rem",space120:"2.75rem",space130:"3rem",space140:"3.25rem",space150:"3.5rem",space160:"3.75rem",space170:"4rem",space180:"4.25rem",space190:"4.5rem",space20:"0.25rem",space200:"4.75rem",space30:"0.5rem",space40:"0.75rem",space50:"1rem",space60:"1.25rem",space70:"1.5rem",space80:"1.75rem",space90:"2rem"},textColors:{colorText:"#282a2b",colorTextBrandHighlight:"#f22f46",colorTextBrandInverse:"#ffffff",colorTextError:"#e22525",colorTextErrorDark:"#921200",colorTextIcon:"#666a6d",colorTextInverse:"#ffffff",colorTextInverseWeak:"#c8cccf",colorTextLabel:"#282a2b",colorTextLink:"#005ea6",colorTextLinkDark:"#003e82",colorTextLinkDarker:"#032c5e",colorTextLinkDestructive:"#e22525",colorTextLinkDestructiveDark:"#b20600",colorTextLinkDestructiveDarker:"#921200",colorTextLinkDestructiveLight:"#ecb6b6",colorTextLinkLight:"#b3d3e9",colorTextPlaceholder:"#666a6d",colorTextSuccess:"#00994a",colorTextWarning:"#e46216",colorTextWarningDark:"#a83e00",colorTextWeak:"#666a6d"},zIndices:{zIndex0:"0",zIndex10:"10",zIndex20:"20",zIndex30:"30",zIndex40:"40",zIndex50:"50",zIndex60:"60",zIndex70:"70",zIndex80:"80",zIndex90:"90"}};exports.ConsoleTheme=s,exports.DefaultTheme=o,exports.SendGridTheme=i;
{
"name": "@twilio-paste/theme-tokens",
"version": "3.0.3",
"version": "3.0.4",
"description": "",

@@ -25,15 +25,16 @@ "author": "Twilio Inc.",

"peerDependencies": {
"@twilio-paste/design-tokens": "^4.1.1"
"@twilio-paste/design-tokens": "^4.1.2"
},
"devDependencies": {
"@twilio-paste/design-tokens": "^4.1.2",
"@babel/core": "^7.8.4",
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-node-resolve": "^7.1.1",
"@twilio-paste/design-tokens": "^4.1.3",
"rollup": "^1.16.2",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.0.1",
"rollup-plugin-node-resolve": "^5.1.0",
"rollup-plugin-terser": "^5.0.0",
"rollup-plugin-typescript2": "^0.21.2",
"typescript": "^3.5.2"
"typescript": "3.7.5"
},
"gitHead": "0fa741a556aeac091951196823f6c54f96d382aa"
"gitHead": "2cf3ec5e09466356561b22bb22d4402d93ebaabd"
}
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