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

@cavilha/theme

Package Overview
Dependencies
Maintainers
5
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cavilha/theme - npm Package Compare versions

Comparing version 0.0.0-alpha.3 to 0.0.0-alpha.4

2

dist/index.cjs.js

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

"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n,r={theme:{colors:{hiContrast:"hsl(206,10%,5%)",loContrast:"hsl(206,22%,99%)",canvas:"hsl(0,0%,100%)",brandPrimary:"#F58220",brandSecondary:"#004ABE",success:"#207F33",error:"#D91620",warning:"#F5EB64",info:"#0096CD",facebook:"#3C5A9A",instagram:"#9c429f",youtube:"#FF0000",linkedin:"#0077b5",pinterest:"#CB2027",twitter:"#1D9BF0",neutral:"#F9F9F9",white:"#ffffff",black:"#000000",primary1:"#FFAA50",primary2:"#F58220",primary3:"#DD8438",primary4:"#DD3906",secondary1:"#A3D5FF",secondary2:"#4B9DE4",secondary3:"#1B78CD",secondary3RGB:"27,120,205",secondary4:"#004ABE",secondary2Opacity:"rgba(75, 157, 228, 0.1)",success1:"#2AA843",success2:"#207F33",success3:"#165623",success4:"#0B2E12",danger1:"#FF4751",danger2:"#D91620",danger3:"#A91717",danger4:"#7C1111",warning1:"#F9F39F",warning2:"#F5EB64",warning3:"#E6D80F",warning4:"#726B08",info1:"#85C5DD",info2:"#40ADD5",info3:"#0096CD",info4:"#005E80",neutral1:"#F9F9F9",neutral2:"#E6E6E6",neutral3:"#CCCCCC",neutral4:"#747474",neutral5:"#333333",neutral6:"#1F1F1F",defaultBorderColor:"$neutral4",yellow100:"hsl(42,100%,98%)",yellow200:"hsl(50,98%,95%)",yellow300:"hsl(52,92%,86%)",yellow400:"hsl(52,92%,74%)",yellow500:"hsl(52,100%,49%)",yellow600:"hsl(42,54%,36%)",purple100:"hsl(252,100%,99%)",purple200:"hsl(252,100%,98%)",purple300:"hsl(252,100%,94%)",purple400:"hsl(252,75%,84%)",purple500:"hsl(252,78%,60%)",purple600:"hsl(252,80%,53%)",secondaryHover0:"rgba(75, 157, 228, 0.1)"},fonts:{untitled:"Open Sans, sans-serif",mono:"Söhne Mono, menlo, monospace"},space:{none:"0px",small1:"4px",small2:"8px",small3:"12px",medium1:"16px",medium2:"20px",medium3:"24px",large1:"32px",large2:"40px",large3:"48px",xlarge1:"64px",xlarge2:"80px",xlarge3:"96px",gridGutter:"24px",gridMobileGutter:"16px"},sizes:{small1:"4px",small2:"8px",small3:"12px",medium1:"16px",medium2:"20px",medium3:"24px",large1:"32px",large2:"40px",large3:"48px",xlarge1:"64px",xlarge2:"80px",xlarge3:"96px",gridColumns:"12"},fontSizes:{bodyXSmall:"12px",bodySmall:"14px",bodyMedium:"16px",h5:"18px",h4:"20px",h3:"24px",h2:"28px",h1:"32px",hero:"48px",mobileHero:"36px",mobileH1:"28px",mobileH2:"24px",mobileH3:"22px",mobileH4:"20px",mobileH5:"18px"},fontWeights:{light:"300",regular:"400",semibold:"600",bold:"700"},letterSpacings:{none:"0px",small:"0.4px",medium:"1.2px",large:"2px"},radii:{none:"0px",small:"4px",medium:"8px",large:"16px",xlarge:"28px",circle:"50%"},shadows:{focus:"0px 0px 0px 2px $colors$white, 0px 0px 2px 4px $colors$info",shadowNone:"none",shadowXSmall:"0 1px 4px 0 rgba(0,0,0,0.12)",shadowSmall:"0 2px 8px 0 rgba(0,0,0,0.12)",shadowMedium:"0 4px 16px 0 rgba(0,0,0,0.12)",shadowLarge:"0 6px 24px 0 rgba(0,0,0,0.12)"},zIndices:{1:"100",2:"200",3:"300",4:"400",max:"9999999999"}},media:{sm:"(min-width: 320px)",md:"(min-width: 700px)",lg:"(min-width: 1224px)"},utils:{p:function(){return function(n){return{padding:n}}},pt:function(){return function(n){return{paddingTop:n}}},pr:function(){return function(n){return{paddingRight:n}}},pb:function(){return function(n){return{paddingBottom:n}}},pl:function(){return function(n){return{paddingLeft:n}}},px:function(){return function(n){return{paddingLeft:n,paddingRight:n}}},py:function(){return function(n){return{paddingTop:n,paddingBottom:n}}},m:function(){return function(n){return{margin:n}}},mt:function(){return function(n){return{marginTop:n}}},mr:function(){return function(n){return{marginRight:n}}},mb:function(){return function(n){return{marginBottom:n}}},ml:function(){return function(n){return{marginLeft:n}}},mx:function(){return function(n){return{marginLeft:n,marginRight:n}}},my:function(){return function(n){return{marginTop:n,marginBottom:n}}},ta:function(){return function(n){return{textAlign:n}}},fd:function(){return function(n){return{flexDirection:n}}},fw:function(){return function(n){return{flexWrap:n}}},ai:function(){return function(n){return{alignItems:n}}},ac:function(){return function(n){return{alignContent:n}}},jc:function(){return function(n){return{justifyContent:n}}},as:function(){return function(n){return{alignSelf:n}}},fg:function(){return function(n){return{flexGrow:n}}},fs:function(){return function(n){return{flexShrink:n}}},fb:function(){return function(n){return{flexBasis:n}}},bc:function(n){return function(n){return{backgroundColor:n}}},br:function(n){return function(n){return{borderRadius:n}}},btrr:function(n){return function(n){return{borderTopRightRadius:n}}},bbrr:function(n){return function(n){return{borderBottomRightRadius:n}}},bblr:function(n){return function(n){return{borderBottomLeftRadius:n}}},btlr:function(n){return function(n){return{borderTopLeftRadius:n}}},bs:function(){return function(n){return{boxShadow:n}}},lh:function(){return function(n){return{lineHeight:n}}},ox:function(){return function(n){return{overflowX:n}}},oy:function(){return function(n){return{overflowY:n}}},pe:function(){return function(n){return{pointerEvents:n}}},us:function(){return function(n){return{userSelect:n}}},size:function(n){return function(n){return{width:n,height:n}}},linearGradient:function(){return function(n){return{backgroundImage:"linear-gradient("+n+")"}}}}},e=require("@stitches/react").createCss({insertionMethod:"prepend",prefix:"cav-",theme:r.theme,utils:r.utils,media:r.media}),t=e.styled,o=e.css;e.theme;var i=e.getCssString,u=e.global,a=e.keyframes,s=e.config,l=(n=s.theme).space,p=n.colors,c=n.radii,f=n.zIndices,x=n.fonts,d=n.fontSizes,m=n.letterSpacings,g=n.fontWeights,h=s.media;exports.colors=p,exports.css=o,exports.fontSizes=d,exports.fontWeights=g,exports.fonts=x,exports.getCavilhaCssString=i,exports.globalCavilhaCss=u,exports.keyframes=a,exports.letterSpacings=m,exports.media=h,exports.radii=c,exports.space=l,exports.styled=t,exports.themeConfig=e,exports.zIndices=f;
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n,r={theme:{colors:{hiContrast:"hsl(206,10%,5%)",loContrast:"hsl(206,22%,99%)",canvas:"hsl(0,0%,100%)",brandPrimary:"#F58220",brandSecondary:"#004ABE",success:"#207F33",error:"#D91620",warning:"#F5EB64",info:"#0096CD",facebook:"#3C5A9A",instagram:"#9c429f",youtube:"#FF0000",linkedin:"#0077b5",pinterest:"#CB2027",twitter:"#1D9BF0",neutral:"#F9F9F9",white:"#ffffff",black:"#000000",primary1:"#FFAA50",primary2:"#F58220",primary3:"#DD8438",primary4:"#DD3906",secondary1:"#A3D5FF",secondary2:"#4B9DE4",secondary3:"#1B78CD",secondary3RGB:"27,120,205",secondary4:"#004ABE",secondary1Opacity:"rgba(163, 213, 255, 0.1)",secondary2Opacity:"rgba(75, 157, 228, 0.1)",success1:"#2AA843",success2:"#207F33",success3:"#165623",success4:"#0B2E12",danger1:"#FF4751",danger2:"#D91620",danger3:"#A91717",danger4:"#7C1111",warning1:"#F9F39F",warning2:"#F5EB64",warning3:"#E6D80F",warning4:"#726B08",info1:"#85C5DD",info2:"#40ADD5",info3:"#0096CD",info4:"#005E80",neutral1:"#F9F9F9",neutral2:"#E6E6E6",neutral3:"#CCCCCC",neutral4:"#747474",neutral5:"#333333",neutral6:"#1F1F1F",defaultBorderColor:"$neutral4",yellow100:"hsl(42,100%,98%)",yellow200:"hsl(50,98%,95%)",yellow300:"hsl(52,92%,86%)",yellow400:"hsl(52,92%,74%)",yellow500:"hsl(52,100%,49%)",yellow600:"hsl(42,54%,36%)",purple100:"hsl(252,100%,99%)",purple200:"hsl(252,100%,98%)",purple300:"hsl(252,100%,94%)",purple400:"hsl(252,75%,84%)",purple500:"hsl(252,78%,60%)",purple600:"hsl(252,80%,53%)",secondaryHover0:"rgba(75, 157, 228, 0.1)"},fonts:{untitled:"Open Sans, sans-serif",mono:"Söhne Mono, menlo, monospace"},space:{none:"0px",small1:"4px",small2:"8px",small3:"12px",medium1:"16px",medium2:"20px",medium3:"24px",large1:"32px",large2:"40px",large3:"48px",xlarge1:"64px",xlarge2:"80px",xlarge3:"96px",gridGutter:"24px",gridMobileGutter:"16px"},sizes:{small1:"4px",small2:"8px",small3:"12px",medium1:"16px",medium2:"20px",medium3:"24px",large1:"32px",large2:"40px",large3:"48px",xlarge1:"64px",xlarge2:"80px",xlarge3:"96px",gridColumns:"12"},fontSizes:{bodyXSmall:"12px",bodySmall:"14px",bodyMedium:"16px",h5:"18px",h4:"20px",h3:"24px",h2:"28px",h1:"32px",hero:"48px",mobileHero:"36px",mobileH1:"28px",mobileH2:"24px",mobileH3:"22px",mobileH4:"20px",mobileH5:"18px"},fontWeights:{light:"300",regular:"400",semibold:"600",bold:"700"},letterSpacings:{none:"0px",small:"0.4px",medium:"1.2px",large:"2px"},lineHeights:{small1:"18px",small2:"20px",small3:"24px",medium1:"28px",medium2:"32px",medium3:"36px",large1:"40px",large2:"42px",large3:"56px"},radii:{none:"0px",small:"4px",medium:"8px",large:"16px",xlarge:"28px",circle:"50%"},shadows:{focus:"0px 0px 0px 2px $colors$white, 0px 0px 2px 4px $colors$info",shadowNone:"none",shadowXSmall:"0 1px 4px 0 rgba(0,0,0,0.12)",shadowSmall:"0 2px 8px 0 rgba(0,0,0,0.12)",shadowMedium:"0 4px 16px 0 rgba(0,0,0,0.12)",shadowLarge:"0 6px 24px 0 rgba(0,0,0,0.12)"},zIndices:{1:"100",2:"200",3:"300",4:"400",max:"9999999999"}},media:{sm:"(min-width: 320px)",md:"(min-width: 700px)",lg:"(min-width: 1224px)"},utils:{p:function(){return function(n){return{padding:n}}},pt:function(){return function(n){return{paddingTop:n}}},pr:function(){return function(n){return{paddingRight:n}}},pb:function(){return function(n){return{paddingBottom:n}}},pl:function(){return function(n){return{paddingLeft:n}}},px:function(){return function(n){return{paddingLeft:n,paddingRight:n}}},py:function(){return function(n){return{paddingTop:n,paddingBottom:n}}},m:function(){return function(n){return{margin:n}}},mt:function(){return function(n){return{marginTop:n}}},mr:function(){return function(n){return{marginRight:n}}},mb:function(){return function(n){return{marginBottom:n}}},ml:function(){return function(n){return{marginLeft:n}}},mx:function(){return function(n){return{marginLeft:n,marginRight:n}}},my:function(){return function(n){return{marginTop:n,marginBottom:n}}},ta:function(){return function(n){return{textAlign:n}}},fd:function(){return function(n){return{flexDirection:n}}},fw:function(){return function(n){return{flexWrap:n}}},ai:function(){return function(n){return{alignItems:n}}},ac:function(){return function(n){return{alignContent:n}}},jc:function(){return function(n){return{justifyContent:n}}},as:function(){return function(n){return{alignSelf:n}}},fg:function(){return function(n){return{flexGrow:n}}},fs:function(){return function(n){return{flexShrink:n}}},fb:function(){return function(n){return{flexBasis:n}}},bc:function(n){return function(n){return{backgroundColor:n}}},br:function(n){return function(n){return{borderRadius:n}}},btrr:function(n){return function(n){return{borderTopRightRadius:n}}},bbrr:function(n){return function(n){return{borderBottomRightRadius:n}}},bblr:function(n){return function(n){return{borderBottomLeftRadius:n}}},btlr:function(n){return function(n){return{borderTopLeftRadius:n}}},bs:function(){return function(n){return{boxShadow:n}}},lh:function(){return function(n){return{lineHeight:n}}},ox:function(){return function(n){return{overflowX:n}}},oy:function(){return function(n){return{overflowY:n}}},pe:function(){return function(n){return{pointerEvents:n}}},us:function(){return function(n){return{userSelect:n}}},size:function(n){return function(n){return{width:n,height:n}}},linearGradient:function(){return function(n){return{backgroundImage:"linear-gradient("+n+")"}}}}},e=require("@stitches/react").createCss({insertionMethod:"prepend",prefix:"cav-",theme:r.theme,utils:r.utils,media:r.media}),t=e.styled,i=e.css;e.theme;var o=e.getCssString,u=e.global,a=e.keyframes,l=e.config,s=(n=l.theme).space,p=n.colors,c=n.radii,f=n.zIndices,x=n.fonts,d=n.fontSizes,m=n.letterSpacings,g=n.fontWeights,h=n.lineHeights,b=l.media;exports.colors=p,exports.css=i,exports.fontSizes=d,exports.fontWeights=g,exports.fonts=x,exports.getCavilhaCssString=o,exports.globalCavilhaCss=u,exports.keyframes=a,exports.letterSpacings=m,exports.lineHeights=h,exports.media=b,exports.radii=c,exports.space=s,exports.styled=t,exports.themeConfig=e,exports.zIndices=f;

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

export { styled, getCavilhaCssString, css, themeConfig, space, colors, radii, zIndices, fonts, fontSizes, letterSpacings, fontWeights, keyframes, media, globalCavilhaCss, } from './Theme.provider';
export { styled, getCavilhaCssString, css, themeConfig, space, colors, radii, zIndices, fonts, fontSizes, letterSpacings, fontWeights, lineHeights, keyframes, media, globalCavilhaCss, } from './Theme.provider';
export type { CSS } from './Theme.provider';
export type { StitchesVariants } from '@stitches/react';

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

import{createCss as n}from"@stitches/react";var r,t={theme:{colors:{hiContrast:"hsl(206,10%,5%)",loContrast:"hsl(206,22%,99%)",canvas:"hsl(0,0%,100%)",brandPrimary:"#F58220",brandSecondary:"#004ABE",success:"#207F33",error:"#D91620",warning:"#F5EB64",info:"#0096CD",facebook:"#3C5A9A",instagram:"#9c429f",youtube:"#FF0000",linkedin:"#0077b5",pinterest:"#CB2027",twitter:"#1D9BF0",neutral:"#F9F9F9",white:"#ffffff",black:"#000000",primary1:"#FFAA50",primary2:"#F58220",primary3:"#DD8438",primary4:"#DD3906",secondary1:"#A3D5FF",secondary2:"#4B9DE4",secondary3:"#1B78CD",secondary3RGB:"27,120,205",secondary4:"#004ABE",secondary2Opacity:"rgba(75, 157, 228, 0.1)",success1:"#2AA843",success2:"#207F33",success3:"#165623",success4:"#0B2E12",danger1:"#FF4751",danger2:"#D91620",danger3:"#A91717",danger4:"#7C1111",warning1:"#F9F39F",warning2:"#F5EB64",warning3:"#E6D80F",warning4:"#726B08",info1:"#85C5DD",info2:"#40ADD5",info3:"#0096CD",info4:"#005E80",neutral1:"#F9F9F9",neutral2:"#E6E6E6",neutral3:"#CCCCCC",neutral4:"#747474",neutral5:"#333333",neutral6:"#1F1F1F",defaultBorderColor:"$neutral4",yellow100:"hsl(42,100%,98%)",yellow200:"hsl(50,98%,95%)",yellow300:"hsl(52,92%,86%)",yellow400:"hsl(52,92%,74%)",yellow500:"hsl(52,100%,49%)",yellow600:"hsl(42,54%,36%)",purple100:"hsl(252,100%,99%)",purple200:"hsl(252,100%,98%)",purple300:"hsl(252,100%,94%)",purple400:"hsl(252,75%,84%)",purple500:"hsl(252,78%,60%)",purple600:"hsl(252,80%,53%)",secondaryHover0:"rgba(75, 157, 228, 0.1)"},fonts:{untitled:"Open Sans, sans-serif",mono:"Söhne Mono, menlo, monospace"},space:{none:"0px",small1:"4px",small2:"8px",small3:"12px",medium1:"16px",medium2:"20px",medium3:"24px",large1:"32px",large2:"40px",large3:"48px",xlarge1:"64px",xlarge2:"80px",xlarge3:"96px",gridGutter:"24px",gridMobileGutter:"16px"},sizes:{small1:"4px",small2:"8px",small3:"12px",medium1:"16px",medium2:"20px",medium3:"24px",large1:"32px",large2:"40px",large3:"48px",xlarge1:"64px",xlarge2:"80px",xlarge3:"96px",gridColumns:"12"},fontSizes:{bodyXSmall:"12px",bodySmall:"14px",bodyMedium:"16px",h5:"18px",h4:"20px",h3:"24px",h2:"28px",h1:"32px",hero:"48px",mobileHero:"36px",mobileH1:"28px",mobileH2:"24px",mobileH3:"22px",mobileH4:"20px",mobileH5:"18px"},fontWeights:{light:"300",regular:"400",semibold:"600",bold:"700"},letterSpacings:{none:"0px",small:"0.4px",medium:"1.2px",large:"2px"},radii:{none:"0px",small:"4px",medium:"8px",large:"16px",xlarge:"28px",circle:"50%"},shadows:{focus:"0px 0px 0px 2px $colors$white, 0px 0px 2px 4px $colors$info",shadowNone:"none",shadowXSmall:"0 1px 4px 0 rgba(0,0,0,0.12)",shadowSmall:"0 2px 8px 0 rgba(0,0,0,0.12)",shadowMedium:"0 4px 16px 0 rgba(0,0,0,0.12)",shadowLarge:"0 6px 24px 0 rgba(0,0,0,0.12)"},zIndices:{1:"100",2:"200",3:"300",4:"400",max:"9999999999"}},media:{sm:"(min-width: 320px)",md:"(min-width: 700px)",lg:"(min-width: 1224px)"},utils:{p:function(){return function(n){return{padding:n}}},pt:function(){return function(n){return{paddingTop:n}}},pr:function(){return function(n){return{paddingRight:n}}},pb:function(){return function(n){return{paddingBottom:n}}},pl:function(){return function(n){return{paddingLeft:n}}},px:function(){return function(n){return{paddingLeft:n,paddingRight:n}}},py:function(){return function(n){return{paddingTop:n,paddingBottom:n}}},m:function(){return function(n){return{margin:n}}},mt:function(){return function(n){return{marginTop:n}}},mr:function(){return function(n){return{marginRight:n}}},mb:function(){return function(n){return{marginBottom:n}}},ml:function(){return function(n){return{marginLeft:n}}},mx:function(){return function(n){return{marginLeft:n,marginRight:n}}},my:function(){return function(n){return{marginTop:n,marginBottom:n}}},ta:function(){return function(n){return{textAlign:n}}},fd:function(){return function(n){return{flexDirection:n}}},fw:function(){return function(n){return{flexWrap:n}}},ai:function(){return function(n){return{alignItems:n}}},ac:function(){return function(n){return{alignContent:n}}},jc:function(){return function(n){return{justifyContent:n}}},as:function(){return function(n){return{alignSelf:n}}},fg:function(){return function(n){return{flexGrow:n}}},fs:function(){return function(n){return{flexShrink:n}}},fb:function(){return function(n){return{flexBasis:n}}},bc:function(n){return function(n){return{backgroundColor:n}}},br:function(n){return function(n){return{borderRadius:n}}},btrr:function(n){return function(n){return{borderTopRightRadius:n}}},bbrr:function(n){return function(n){return{borderBottomRightRadius:n}}},bblr:function(n){return function(n){return{borderBottomLeftRadius:n}}},btlr:function(n){return function(n){return{borderTopLeftRadius:n}}},bs:function(){return function(n){return{boxShadow:n}}},lh:function(){return function(n){return{lineHeight:n}}},ox:function(){return function(n){return{overflowX:n}}},oy:function(){return function(n){return{overflowY:n}}},pe:function(){return function(n){return{pointerEvents:n}}},us:function(){return function(n){return{userSelect:n}}},size:function(n){return function(n){return{width:n,height:n}}},linearGradient:function(){return function(n){return{backgroundImage:"linear-gradient("+n+")"}}}}},e=n({insertionMethod:"prepend",prefix:"cav-",theme:t.theme,utils:t.utils,media:t.media}),i=e.styled,u=e.css;e.theme;var o=e.getCssString,a=e.global,l=e.keyframes,c=e.config,p=(r=c.theme).space,f=r.colors,s=r.radii,d=r.zIndices,x=r.fonts,m=r.fontSizes,g=r.letterSpacings,h=r.fontWeights,b=c.media;export{f as colors,u as css,m as fontSizes,h as fontWeights,x as fonts,o as getCavilhaCssString,a as globalCavilhaCss,l as keyframes,g as letterSpacings,b as media,s as radii,p as space,i as styled,e as themeConfig,d as zIndices};
import{createCss as n}from"@stitches/react";var r,e={theme:{colors:{hiContrast:"hsl(206,10%,5%)",loContrast:"hsl(206,22%,99%)",canvas:"hsl(0,0%,100%)",brandPrimary:"#F58220",brandSecondary:"#004ABE",success:"#207F33",error:"#D91620",warning:"#F5EB64",info:"#0096CD",facebook:"#3C5A9A",instagram:"#9c429f",youtube:"#FF0000",linkedin:"#0077b5",pinterest:"#CB2027",twitter:"#1D9BF0",neutral:"#F9F9F9",white:"#ffffff",black:"#000000",primary1:"#FFAA50",primary2:"#F58220",primary3:"#DD8438",primary4:"#DD3906",secondary1:"#A3D5FF",secondary2:"#4B9DE4",secondary3:"#1B78CD",secondary3RGB:"27,120,205",secondary4:"#004ABE",secondary1Opacity:"rgba(163, 213, 255, 0.1)",secondary2Opacity:"rgba(75, 157, 228, 0.1)",success1:"#2AA843",success2:"#207F33",success3:"#165623",success4:"#0B2E12",danger1:"#FF4751",danger2:"#D91620",danger3:"#A91717",danger4:"#7C1111",warning1:"#F9F39F",warning2:"#F5EB64",warning3:"#E6D80F",warning4:"#726B08",info1:"#85C5DD",info2:"#40ADD5",info3:"#0096CD",info4:"#005E80",neutral1:"#F9F9F9",neutral2:"#E6E6E6",neutral3:"#CCCCCC",neutral4:"#747474",neutral5:"#333333",neutral6:"#1F1F1F",defaultBorderColor:"$neutral4",yellow100:"hsl(42,100%,98%)",yellow200:"hsl(50,98%,95%)",yellow300:"hsl(52,92%,86%)",yellow400:"hsl(52,92%,74%)",yellow500:"hsl(52,100%,49%)",yellow600:"hsl(42,54%,36%)",purple100:"hsl(252,100%,99%)",purple200:"hsl(252,100%,98%)",purple300:"hsl(252,100%,94%)",purple400:"hsl(252,75%,84%)",purple500:"hsl(252,78%,60%)",purple600:"hsl(252,80%,53%)",secondaryHover0:"rgba(75, 157, 228, 0.1)"},fonts:{untitled:"Open Sans, sans-serif",mono:"Söhne Mono, menlo, monospace"},space:{none:"0px",small1:"4px",small2:"8px",small3:"12px",medium1:"16px",medium2:"20px",medium3:"24px",large1:"32px",large2:"40px",large3:"48px",xlarge1:"64px",xlarge2:"80px",xlarge3:"96px",gridGutter:"24px",gridMobileGutter:"16px"},sizes:{small1:"4px",small2:"8px",small3:"12px",medium1:"16px",medium2:"20px",medium3:"24px",large1:"32px",large2:"40px",large3:"48px",xlarge1:"64px",xlarge2:"80px",xlarge3:"96px",gridColumns:"12"},fontSizes:{bodyXSmall:"12px",bodySmall:"14px",bodyMedium:"16px",h5:"18px",h4:"20px",h3:"24px",h2:"28px",h1:"32px",hero:"48px",mobileHero:"36px",mobileH1:"28px",mobileH2:"24px",mobileH3:"22px",mobileH4:"20px",mobileH5:"18px"},fontWeights:{light:"300",regular:"400",semibold:"600",bold:"700"},letterSpacings:{none:"0px",small:"0.4px",medium:"1.2px",large:"2px"},lineHeights:{small1:"18px",small2:"20px",small3:"24px",medium1:"28px",medium2:"32px",medium3:"36px",large1:"40px",large2:"42px",large3:"56px"},radii:{none:"0px",small:"4px",medium:"8px",large:"16px",xlarge:"28px",circle:"50%"},shadows:{focus:"0px 0px 0px 2px $colors$white, 0px 0px 2px 4px $colors$info",shadowNone:"none",shadowXSmall:"0 1px 4px 0 rgba(0,0,0,0.12)",shadowSmall:"0 2px 8px 0 rgba(0,0,0,0.12)",shadowMedium:"0 4px 16px 0 rgba(0,0,0,0.12)",shadowLarge:"0 6px 24px 0 rgba(0,0,0,0.12)"},zIndices:{1:"100",2:"200",3:"300",4:"400",max:"9999999999"}},media:{sm:"(min-width: 320px)",md:"(min-width: 700px)",lg:"(min-width: 1224px)"},utils:{p:function(){return function(n){return{padding:n}}},pt:function(){return function(n){return{paddingTop:n}}},pr:function(){return function(n){return{paddingRight:n}}},pb:function(){return function(n){return{paddingBottom:n}}},pl:function(){return function(n){return{paddingLeft:n}}},px:function(){return function(n){return{paddingLeft:n,paddingRight:n}}},py:function(){return function(n){return{paddingTop:n,paddingBottom:n}}},m:function(){return function(n){return{margin:n}}},mt:function(){return function(n){return{marginTop:n}}},mr:function(){return function(n){return{marginRight:n}}},mb:function(){return function(n){return{marginBottom:n}}},ml:function(){return function(n){return{marginLeft:n}}},mx:function(){return function(n){return{marginLeft:n,marginRight:n}}},my:function(){return function(n){return{marginTop:n,marginBottom:n}}},ta:function(){return function(n){return{textAlign:n}}},fd:function(){return function(n){return{flexDirection:n}}},fw:function(){return function(n){return{flexWrap:n}}},ai:function(){return function(n){return{alignItems:n}}},ac:function(){return function(n){return{alignContent:n}}},jc:function(){return function(n){return{justifyContent:n}}},as:function(){return function(n){return{alignSelf:n}}},fg:function(){return function(n){return{flexGrow:n}}},fs:function(){return function(n){return{flexShrink:n}}},fb:function(){return function(n){return{flexBasis:n}}},bc:function(n){return function(n){return{backgroundColor:n}}},br:function(n){return function(n){return{borderRadius:n}}},btrr:function(n){return function(n){return{borderTopRightRadius:n}}},bbrr:function(n){return function(n){return{borderBottomRightRadius:n}}},bblr:function(n){return function(n){return{borderBottomLeftRadius:n}}},btlr:function(n){return function(n){return{borderTopLeftRadius:n}}},bs:function(){return function(n){return{boxShadow:n}}},lh:function(){return function(n){return{lineHeight:n}}},ox:function(){return function(n){return{overflowX:n}}},oy:function(){return function(n){return{overflowY:n}}},pe:function(){return function(n){return{pointerEvents:n}}},us:function(){return function(n){return{userSelect:n}}},size:function(n){return function(n){return{width:n,height:n}}},linearGradient:function(){return function(n){return{backgroundImage:"linear-gradient("+n+")"}}}}},t=n({insertionMethod:"prepend",prefix:"cav-",theme:e.theme,utils:e.utils,media:e.media}),i=t.styled,u=t.css;t.theme;var o=t.getCssString,a=t.global,l=t.keyframes,p=t.config,c=(r=p.theme).space,f=r.colors,s=r.radii,x=r.zIndices,m=r.fonts,d=r.fontSizes,g=r.letterSpacings,h=r.fontWeights,b=r.lineHeights,y=p.media;export{f as colors,u as css,d as fontSizes,h as fontWeights,m as fonts,o as getCavilhaCssString,a as globalCavilhaCss,l as keyframes,g as letterSpacings,b as lineHeights,y as media,s as radii,c as space,i as styled,t as themeConfig,x as zIndices};

@@ -31,2 +31,3 @@ declare const Webstore: {

secondary4: string;
secondary1Opacity: string;
secondary2Opacity: string;

@@ -135,2 +136,13 @@ success1: string;

};
lineHeights: {
small1: string;
small2: string;
small3: string;
medium1: string;
medium2: string;
medium3: string;
large1: string;
large2: string;
large3: string;
};
radii: {

@@ -137,0 +149,0 @@ none: string;

{
"name": "@cavilha/theme",
"version": "0.0.0-alpha.3",
"version": "0.0.0-alpha.4",
"description": "A theme provider for styling components using MadeiraMadeira webstore design token definitions",

@@ -5,0 +5,0 @@ "author": "MadeiraMadeira webstore squads",

Sorry, the diff of this file is too big to display

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