@cavilha/theme
Advanced tools
Comparing version 0.0.4 to 1.0.0
# @cavilha/theme | ||
## 1.0.0 | ||
### Major Changes | ||
- a50a503a: Stitches's version updated from 0.2.2 to 1.2.8 | ||
## 0.0.4 | ||
@@ -4,0 +10,0 @@ |
@@ -0,1 +1,2 @@ | ||
import { PropertyValue } from '@stitches/react'; | ||
declare const BaseTheme: { | ||
@@ -242,119 +243,203 @@ theme: { | ||
utils: { | ||
p: () => (value: any) => { | ||
padding: any; | ||
p: (value: PropertyValue<'padding'>) => { | ||
padding: { | ||
readonly [$$PropertyValue]: "padding"; | ||
}; | ||
}; | ||
pt: () => (value: any) => { | ||
paddingTop: any; | ||
pt: (value: PropertyValue<'paddingTop'>) => { | ||
paddingTop: { | ||
readonly [$$PropertyValue]: "paddingTop"; | ||
}; | ||
}; | ||
pr: () => (value: any) => { | ||
paddingRight: any; | ||
pr: (value: PropertyValue<'paddingRight'>) => { | ||
paddingRight: { | ||
readonly [$$PropertyValue]: "paddingRight"; | ||
}; | ||
}; | ||
pb: () => (value: any) => { | ||
paddingBottom: any; | ||
pb: (value: PropertyValue<'paddingBottom'>) => { | ||
paddingBottom: { | ||
readonly [$$PropertyValue]: "paddingBottom"; | ||
}; | ||
}; | ||
pl: () => (value: any) => { | ||
paddingLeft: any; | ||
pl: (value: PropertyValue<'paddingLeft'>) => { | ||
paddingLeft: { | ||
readonly [$$PropertyValue]: "paddingLeft"; | ||
}; | ||
}; | ||
px: () => (value: any) => { | ||
paddingLeft: any; | ||
paddingRight: any; | ||
px: (value: PropertyValue<'padding'>) => { | ||
paddingLeft: { | ||
readonly [$$PropertyValue]: "padding"; | ||
}; | ||
paddingRight: { | ||
readonly [$$PropertyValue]: "padding"; | ||
}; | ||
}; | ||
py: () => (value: any) => { | ||
paddingTop: any; | ||
paddingBottom: any; | ||
py: (value: PropertyValue<'padding'>) => { | ||
paddingTop: { | ||
readonly [$$PropertyValue]: "padding"; | ||
}; | ||
paddingBottom: { | ||
readonly [$$PropertyValue]: "padding"; | ||
}; | ||
}; | ||
m: () => (value: any) => { | ||
margin: any; | ||
m: (value: PropertyValue<'margin'>) => { | ||
margin: { | ||
readonly [$$PropertyValue]: "margin"; | ||
}; | ||
}; | ||
mt: () => (value: any) => { | ||
marginTop: any; | ||
mt: (value: PropertyValue<'marginTop'>) => { | ||
marginTop: { | ||
readonly [$$PropertyValue]: "marginTop"; | ||
}; | ||
}; | ||
mr: () => (value: any) => { | ||
marginRight: any; | ||
mr: (value: PropertyValue<'marginRight'>) => { | ||
marginRight: { | ||
readonly [$$PropertyValue]: "marginRight"; | ||
}; | ||
}; | ||
mb: () => (value: any) => { | ||
marginBottom: any; | ||
mb: (value: PropertyValue<'marginBottom'>) => { | ||
marginBottom: { | ||
readonly [$$PropertyValue]: "marginBottom"; | ||
}; | ||
}; | ||
ml: () => (value: any) => { | ||
marginLeft: any; | ||
ml: (value: PropertyValue<'marginLeft'>) => { | ||
marginLeft: { | ||
readonly [$$PropertyValue]: "marginLeft"; | ||
}; | ||
}; | ||
mx: () => (value: any) => { | ||
marginLeft: any; | ||
marginRight: any; | ||
mx: (value: PropertyValue<'margin'>) => { | ||
marginLeft: { | ||
readonly [$$PropertyValue]: "margin"; | ||
}; | ||
marginRight: { | ||
readonly [$$PropertyValue]: "margin"; | ||
}; | ||
}; | ||
my: () => (value: any) => { | ||
marginTop: any; | ||
marginBottom: any; | ||
my: (value: PropertyValue<'margin'>) => { | ||
marginTop: { | ||
readonly [$$PropertyValue]: "margin"; | ||
}; | ||
marginBottom: { | ||
readonly [$$PropertyValue]: "margin"; | ||
}; | ||
}; | ||
ta: () => (value: any) => { | ||
textAlign: any; | ||
ta: (value: PropertyValue<'textAlign'>) => { | ||
textAlign: { | ||
readonly [$$PropertyValue]: "textAlign"; | ||
}; | ||
}; | ||
fd: () => (value: any) => { | ||
flexDirection: any; | ||
fd: (value: PropertyValue<'flexDirection'>) => { | ||
flexDirection: { | ||
readonly [$$PropertyValue]: "flexDirection"; | ||
}; | ||
}; | ||
fw: () => (value: any) => { | ||
flexWrap: any; | ||
fw: (value: PropertyValue<'flexWrap'>) => { | ||
flexWrap: { | ||
readonly [$$PropertyValue]: "flexWrap"; | ||
}; | ||
}; | ||
ai: () => (value: any) => { | ||
alignItems: any; | ||
ai: (value: PropertyValue<'alignItems'>) => { | ||
alignItems: { | ||
readonly [$$PropertyValue]: "alignItems"; | ||
}; | ||
}; | ||
ac: () => (value: any) => { | ||
alignContent: any; | ||
ac: (value: PropertyValue<'alignContent'>) => { | ||
alignContent: { | ||
readonly [$$PropertyValue]: "alignContent"; | ||
}; | ||
}; | ||
jc: () => (value: any) => { | ||
justifyContent: any; | ||
jc: (value: PropertyValue<'justifyContent'>) => { | ||
justifyContent: { | ||
readonly [$$PropertyValue]: "justifyContent"; | ||
}; | ||
}; | ||
as: () => (value: any) => { | ||
alignSelf: any; | ||
as: (value: PropertyValue<'alignSelf'>) => { | ||
alignSelf: { | ||
readonly [$$PropertyValue]: "alignSelf"; | ||
}; | ||
}; | ||
fg: () => (value: any) => { | ||
flexGrow: any; | ||
fg: (value: PropertyValue<'flexGrow'>) => { | ||
flexGrow: { | ||
readonly [$$PropertyValue]: "flexGrow"; | ||
}; | ||
}; | ||
fs: () => (value: any) => { | ||
flexShrink: any; | ||
fs: (value: PropertyValue<'flexShrink'>) => { | ||
flexShrink: { | ||
readonly [$$PropertyValue]: "flexShrink"; | ||
}; | ||
}; | ||
fb: () => (value: any) => { | ||
flexBasis: any; | ||
fb: (value: PropertyValue<'flexBasis'>) => { | ||
flexBasis: { | ||
readonly [$$PropertyValue]: "flexBasis"; | ||
}; | ||
}; | ||
bc: (themeConf: any) => (value: any) => { | ||
backgroundColor: any; | ||
bc: (value: PropertyValue<'backgroundColor'>) => { | ||
backgroundColor: { | ||
readonly [$$PropertyValue]: "backgroundColor"; | ||
}; | ||
}; | ||
br: (themeConf: any) => (value: any) => { | ||
borderRadius: any; | ||
br: (value: PropertyValue<'borderRadius'>) => { | ||
borderRadius: { | ||
readonly [$$PropertyValue]: "borderRadius"; | ||
}; | ||
}; | ||
btrr: (themeConf: any) => (value: any) => { | ||
borderTopRightRadius: any; | ||
btrr: (value: PropertyValue<'borderTopRightRadius'>) => { | ||
borderTopRightRadius: { | ||
readonly [$$PropertyValue]: "borderTopRightRadius"; | ||
}; | ||
}; | ||
bbrr: (themeConf: any) => (value: any) => { | ||
borderBottomRightRadius: any; | ||
bbrr: (value: PropertyValue<'borderBottomRightRadius'>) => { | ||
borderBottomRightRadius: { | ||
readonly [$$PropertyValue]: "borderBottomRightRadius"; | ||
}; | ||
}; | ||
bblr: (themeConf: any) => (value: any) => { | ||
borderBottomLeftRadius: any; | ||
bblr: (value: PropertyValue<'borderBottomLeftRadius'>) => { | ||
borderBottomLeftRadius: { | ||
readonly [$$PropertyValue]: "borderBottomLeftRadius"; | ||
}; | ||
}; | ||
btlr: (themeConf: any) => (value: any) => { | ||
borderTopLeftRadius: any; | ||
btlr: (value: PropertyValue<'borderTopLeftRadius'>) => { | ||
borderTopLeftRadius: { | ||
readonly [$$PropertyValue]: "borderTopLeftRadius"; | ||
}; | ||
}; | ||
bs: () => (value: any) => { | ||
boxShadow: any; | ||
bs: (value: PropertyValue<'boxShadow'>) => { | ||
boxShadow: { | ||
readonly [$$PropertyValue]: "boxShadow"; | ||
}; | ||
}; | ||
lh: () => (value: any) => { | ||
lineHeight: any; | ||
lh: (value: PropertyValue<'lineHeight'>) => { | ||
lineHeight: { | ||
readonly [$$PropertyValue]: "lineHeight"; | ||
}; | ||
}; | ||
ox: () => (value: any) => { | ||
overflowX: any; | ||
ox: (value: PropertyValue<'overflowX'>) => { | ||
overflowX: { | ||
readonly [$$PropertyValue]: "overflowX"; | ||
}; | ||
}; | ||
oy: () => (value: any) => { | ||
overflowY: any; | ||
oy: (value: PropertyValue<'overflowY'>) => { | ||
overflowY: { | ||
readonly [$$PropertyValue]: "overflowY"; | ||
}; | ||
}; | ||
pe: () => (value: any) => { | ||
pointerEvents: any; | ||
pe: (value: PropertyValue<'pointerEvents'>) => { | ||
pointerEvents: { | ||
readonly [$$PropertyValue]: "pointerEvents"; | ||
}; | ||
}; | ||
us: () => (value: any) => { | ||
userSelect: any; | ||
us: (value: PropertyValue<'userSelect'>) => { | ||
userSelect: { | ||
readonly [$$PropertyValue]: "userSelect"; | ||
}; | ||
}; | ||
size: (themeConf: any) => (value: any) => { | ||
width: any; | ||
height: any; | ||
size: (value: PropertyValue<'width'>) => { | ||
width: { | ||
readonly [$$PropertyValue]: "width"; | ||
}; | ||
height: { | ||
readonly [$$PropertyValue]: "width"; | ||
}; | ||
}; | ||
linearGradient: () => (value: any) => { | ||
linearGradient: (value: string) => { | ||
backgroundImage: string; | ||
@@ -361,0 +446,0 @@ }; |
@@ -1,1 +0,1 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r,n=require("@stitches/react"),e={theme:{colors:{hiContrast:"hsl(206,10%,5%)",loContrast:"hsl(206,22%,99%)",canvas:"hsl(0,0%,100%)",brandPrimary:"#F58220",brandSecondary:"#004ABE",brandMadeira1:"#00785F",brandMadeira2:"#00AA8C",brandMadeira3:"#005A5A",brandMadeira4:"#C3E66E",brandMadeira5:"#96DCDC",brandMadeira6:"#D2005A",brandMadeira7:"#FA82B4",brandMadeira8:"#FF3C1E",brandMadeira9:"#7D5AC8",mono1:"#FFFFFF",mono2:"#000000",background1:"#FFFFFF",background2:"#F9F9F9",alwaysBlack:"#1F1F1F",alwaysGray:"#666666",alwaysWhite:"#FFFFFF",primary1:"#FFAA50",primary2:"#F58220",primary3:"#F66A26",primary4:"#DD3906",primary1Hover:"#EDA962",primary2Hover:"#DD8438",primary3Hover:"#DF723D",primary4Hover:"#C14822",secondary1:"#A3D5FF",secondary2:"#4B9DE4",secondary3:"#1B78CD",secondary3RGB:"27,120,205",secondary4:"#004ABE",secondary0Hover:"rgba(75,157,228,0.1)",secondary1Hover:"#ACD4F6",secondary2Hover:"#609CCF",secondary3Hover:"#3277B6",secondary4Hover:"#134EAB",success1:"#2AA843",success2:"#207F33",success3:"#165623",success4:"#0B2E12",success1Hover:"#3F9350",success2Hover:"#306F3C",success3Hover:"#214B29",success4Hover:"#112815",danger1:"#FF4751",danger2:"#D91620",danger3:"#A91717",danger4:"#7C1111",danger1Hover:"#ED5961",danger2Hover:"#C22D35",danger3Hover:"#962A2A",danger4Hover:"#6E1F1F",warning1:"#F9F39F",warning2:"#F5EB64",warning3:"#E6D80F",warning4:"#726B08",warning1Hover:"#EFEAA9",warning2Hover:"#E5DD74",warning3Hover:"#CEC327",warning4Hover:"#666014",info1:"#85C5DD",info2:"#40ADD5",info3:"#0096CD",info4:"#005E80",info1Hover:"#95BECD",info2Hover:"#57A2BE",info3Hover:"#158CB8",info4Hover:"#0D5873",neutral1:"#F9F9F9",neutral2:"#E6E6E6",neutral3:"#CCCCCC",neutral4:"#747474",neutral5:"#333333",neutral6:"#1F1F1F",linkedin:"#0077b5",linkedin1:"#0A66C2",whatsapp1:"#075E54",whatsapp2:"#128C7E",whatsapp3:"#25D366",youtube1:"#FF0000",youtube2:"#282828",twitter:"#1D9BF0",twitter1:"#1DA1F2",facebook1:"#3C5A9A",instagram1:"#9c429f",pinterest:"#CB2027",pinterest1:"#E60023",mono1Opacity1:"rgba(255,255,255,0.1)",mono1Opacity2:"rgba(255,255,255,0.2)",mono1Opacity3:"rgba(255,255,255,0.3)",mono1Opacity4:"rgba(255,255,255,0.4)",mono1Opacity5:"rgba(255,255,255,0.5)",mono1Opacity6:"rgba(255,255,255,0.6)",mono1Opacity7:"rgba(255,255,255,0.7)",mono1Opacity8:"rgba(255,255,255,0.8)",mono1Opacity9:"rgba(255,255,255,0.9)",mono2Opacity1:"rgba(0,0,0,0.1)",mono2Opacity2:"rgba(0,0,0,0.2)",mono2Opacity3:"rgba(0,0,0,0.3)",mono2Opacity4:"rgba(0,0,0,0.4)",mono2Opacity5:"rgba(0,0,0,0.5)",mono2Opacity6:"rgba(0,0,0,0.6)",mono2Opacity7:"rgba(0,0,0,0.7)",mono2Opacity8:"rgba(0,0,0,0.8)",mono2Opacity9:"rgba(0,0,0,0.9)",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%)",flagFreight:"#7C57C5",flagOffer:"#0C7F68",flagPrivateLabel:"#005e80",flagCampaing:"#FB452A",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",hero:"48px",h1:"32px",h2:"28px",h3:"24px",h4:"20px",h5:"18px",mobileHero:"36px",mobileH1:"28px",mobileH2:"24px",mobileH3:"22px",mobileH4:" 20px",mobileH5:"18px",iconXSmall:"12px",iconSmall:"14px",iconMedium:"16px",iconLarge:"20px",iconXLarge:"24px"},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:{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)",focusPressed:"0px 0px 0px 2px $colors$white, 0px 0px 2px 4px $colors$info"},zIndices:{1:"100",2:"200",3:"300",4:"400",max:"9999999999"}},media:{sm:"(min-width: 320px)",md:"(min-width: 640px)",lg:"(min-width: 1224px)"},utils:{p:function(){return function(r){return{padding:r}}},pt:function(){return function(r){return{paddingTop:r}}},pr:function(){return function(r){return{paddingRight:r}}},pb:function(){return function(r){return{paddingBottom:r}}},pl:function(){return function(r){return{paddingLeft:r}}},px:function(){return function(r){return{paddingLeft:r,paddingRight:r}}},py:function(){return function(r){return{paddingTop:r,paddingBottom:r}}},m:function(){return function(r){return{margin:r}}},mt:function(){return function(r){return{marginTop:r}}},mr:function(){return function(r){return{marginRight:r}}},mb:function(){return function(r){return{marginBottom:r}}},ml:function(){return function(r){return{marginLeft:r}}},mx:function(){return function(r){return{marginLeft:r,marginRight:r}}},my:function(){return function(r){return{marginTop:r,marginBottom:r}}},ta:function(){return function(r){return{textAlign:r}}},fd:function(){return function(r){return{flexDirection:r}}},fw:function(){return function(r){return{flexWrap:r}}},ai:function(){return function(r){return{alignItems:r}}},ac:function(){return function(r){return{alignContent:r}}},jc:function(){return function(r){return{justifyContent:r}}},as:function(){return function(r){return{alignSelf:r}}},fg:function(){return function(r){return{flexGrow:r}}},fs:function(){return function(r){return{flexShrink:r}}},fb:function(){return function(r){return{flexBasis:r}}},bc:function(r){return function(r){return{backgroundColor:r}}},br:function(r){return function(r){return{borderRadius:r}}},btrr:function(r){return function(r){return{borderTopRightRadius:r}}},bbrr:function(r){return function(r){return{borderBottomRightRadius:r}}},bblr:function(r){return function(r){return{borderBottomLeftRadius:r}}},btlr:function(r){return function(r){return{borderTopLeftRadius:r}}},bs:function(){return function(r){return{boxShadow:r}}},lh:function(){return function(r){return{lineHeight:r}}},ox:function(){return function(r){return{overflowX:r}}},oy:function(){return function(r){return{overflowY:r}}},pe:function(){return function(r){return{pointerEvents:r}}},us:function(){return function(r){return{userSelect:r}}},size:function(r){return function(r){return{width:r,height:r}}},linearGradient:function(){return function(r){return{backgroundImage:"linear-gradient("+r+")"}}}}},o={colors:{background1:"#1F1F1F",background2:"#292929",mono1:"#000000",mono2:"#FFFFFF",alwaysBlack:"#1F1F1F",alwaysGray:"#666666",alwaysWhite:"#FFFFFF",primary1:"#F56119",primary2:"#F57A27",primary3:"#FFB05C",primary4:"#FFCA94",primary1Hover:"#D75516",primary2Hover:"#D76B22",primary3Hover:"#E09B51",primary4Hover:"#E0B182",secondary1:"#0C4C82",secondary2:"#0F5DA1",secondary3:"#1172C5",secondary4:"#238DE8",secondary0Hover:"rgba(75,157,228,0.1)",secondary1Hover:"#1A4B74",secondary2Hover:"#225C8F",secondary3Hover:"#2770B0",secondary4Hover:"#3C8BD0",success1:"#279B3E",success2:"#2FBC4B",success3:"#58D570",success4:"#89E19A",success1Hover:"#306F3C",success2Hover:"#3F9350",success3Hover:"#5AB06B",success4Hover:"#97D3A3",danger1:"#CC000B",danger2:"#FF4751",danger3:"#F86871",danger4:"#FE969C",danger1Hover:"#B8141D",danger2Hover:"#ED5961",danger3Hover:"#E9787E",danger4Hover:"#F3A0A5",warning1:"#C5B80C",warning2:"#F3E844",warning3:"#F9F4A4",warning4:"#FCFAD4",warning1Hover:"#B0A621",warning2Hover:"#DFD658",warning3Hover:"#EFEBAE",warning4Hover:"#F8F6D8",info1:"#0096CD",info2:"#40ADD5",info3:"#71C2E0",info4:"#9BD4E9",info1Hover:"#158CB8",info2Hover:"#57A2BE",info3Hover:"#82BACE",info4Hover:"#A7CEDD",mono1Opacity1:"rgba(0,0,0,0.1)",mono1Opacity2:"rgba(0,0,0,0.2)",mono1Opacity3:"rgba(0,0,0,0.3)",mono1Opacity4:"rgba(0,0,0,0.4)",mono1Opacity5:"rgba(0,0,0,0.5)",mono1Opacity6:"rgba(0,0,0,0.6)",mono1Opacity7:"rgba(0,0,0,0.7)",mono1Opacity8:"rgba(0,0,0,0.8)",mono1Opacity9:"rgba(0,0,0,0.9)",mono2Opacity1:"rgba(255,255,255,0.1)",mono2Opacity2:"rgba(255,255,255,0.2)",mono2Opacity3:"rgba(255,255,255,0.3)",mono2Opacity4:"rgba(255,255,255,0.4)",mono2Opacity5:"rgba(255,255,255,0.5)",mono2Opacity6:"rgba(255,255,255,0.6)",mono2Opacity7:"rgba(255,255,255,0.7)",mono2Opacity8:"rgba(255,255,255,0.8)",mono2Opacity9:"rgba(255,255,255,0.9)",neutral1:"#2E2E2E",neutral2:"#404040",neutral3:"#636363",neutral4:"#999999",neutral5:"#EDEDED",neutral6:"#FFFFFF",linkedin1:"#3896F5",whatsapp1:"#0CA190",whatsapp2:"#19C2AF",whatsapp3:"#78E7A2",youtube1:"#FF6161",youtube2:"#F0F0F0",twitter:"#1DA1F2",pinterest:"#FF4763",brandPrimary:"#FFAA50",brandMadeira1:"#00A381",brandMadeira2:"#00D1AC",brandMadeira3:"#00BDBD",brandMadeira4:"#CBE981",brandMadeira5:"#96DCDC",brandMadeira6:"#FF66A8",brandMadeira7:"#FCBAD6",brandMadeira8:"#FF6047",brandMadeira9:"#B38CFF"},shadows:{shadowNone:"none",shadowXSmall:"0 1px 4px 0 rgba(0,0,0,1), 0 0 0 1px $colors$neutral2",shadowSmall:"0 2px 8px 0 rgba(0,0,0,1), 0 0 0 1px $colors$neutral2",shadowMedium:"0 4px 16px 0 rgba(0,0,0,1), 0 0 0 1px $colors$neutral2",shadowLarge:"0 6px 24px 0 rgba(0,0,0,1), 0 0 0 1px $colors$neutral2",focusPressed:"0px 0px 0px 2px $colors$background1, 0px 0px 2px 4px $colors$info3"}},a=function(){return a=Object.assign||function(r){for(var n,e=1,o=arguments.length;e<o;e++)for(var a in n=arguments[e])Object.prototype.hasOwnProperty.call(n,a)&&(r[a]=n[a]);return r},a.apply(this,arguments)},t={theme:{colors:a(a({},o.colors),{secondary1:"#A84000",secondary2:"#CC4E00",secondary3:"#EB5A00",secondary4:"#FC7F2C",secondary0Hover:"rgba(255,170,80,0.1)",secondary1Hover:"#974411",secondary2Hover:"#B85314",secondary3Hover:"#CE4F00",secondary4Hover:"#DD7027"}),shadows:a({},o.shadows)}},i=n.createCss({insertionMethod:"prepend",prefix:"cav-",theme:e.theme,utils:e.utils,media:e.media}),s=i.styled,u=i.css,p=i.theme,c=i.getCssString,l=i.global,d=i.keyframes,g=i.config,m=p("light-theme",e.theme),f=p("dark-theme",o),x=p("black-friday-theme",t.theme),F=(r=g.theme).space,b=r.colors,y=r.radii,h=r.zIndices,C=r.fonts,v=r.fontSizes,H=r.lineHeights,D=r.letterSpacings,w=r.fontWeights,A=g.media;exports.blackFridayTheme=x,exports.colors=b,exports.css=u,exports.darkTheme=f,exports.fontSizes=v,exports.fontWeights=w,exports.fonts=C,exports.getCavilhaCssString=c,exports.globalCavilhaCss=l,exports.keyframes=d,exports.letterSpacings=D,exports.lightTheme=m,exports.lineHeights=H,exports.media=A,exports.radii=y,exports.space=F,exports.styled=s,exports.themeConfig=i,exports.zIndices=h; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r,e=require("@stitches/react"),a={theme:{colors:{hiContrast:"hsl(206,10%,5%)",loContrast:"hsl(206,22%,99%)",canvas:"hsl(0,0%,100%)",brandPrimary:"#F58220",brandSecondary:"#004ABE",brandMadeira1:"#00785F",brandMadeira2:"#00AA8C",brandMadeira3:"#005A5A",brandMadeira4:"#C3E66E",brandMadeira5:"#96DCDC",brandMadeira6:"#D2005A",brandMadeira7:"#FA82B4",brandMadeira8:"#FF3C1E",brandMadeira9:"#7D5AC8",mono1:"#FFFFFF",mono2:"#000000",background1:"#FFFFFF",background2:"#F9F9F9",alwaysBlack:"#1F1F1F",alwaysGray:"#666666",alwaysWhite:"#FFFFFF",primary1:"#FFAA50",primary2:"#F58220",primary3:"#F66A26",primary4:"#DD3906",primary1Hover:"#EDA962",primary2Hover:"#DD8438",primary3Hover:"#DF723D",primary4Hover:"#C14822",secondary1:"#A3D5FF",secondary2:"#4B9DE4",secondary3:"#1B78CD",secondary3RGB:"27,120,205",secondary4:"#004ABE",secondary0Hover:"rgba(75,157,228,0.1)",secondary1Hover:"#ACD4F6",secondary2Hover:"#609CCF",secondary3Hover:"#3277B6",secondary4Hover:"#134EAB",success1:"#2AA843",success2:"#207F33",success3:"#165623",success4:"#0B2E12",success1Hover:"#3F9350",success2Hover:"#306F3C",success3Hover:"#214B29",success4Hover:"#112815",danger1:"#FF4751",danger2:"#D91620",danger3:"#A91717",danger4:"#7C1111",danger1Hover:"#ED5961",danger2Hover:"#C22D35",danger3Hover:"#962A2A",danger4Hover:"#6E1F1F",warning1:"#F9F39F",warning2:"#F5EB64",warning3:"#E6D80F",warning4:"#726B08",warning1Hover:"#EFEAA9",warning2Hover:"#E5DD74",warning3Hover:"#CEC327",warning4Hover:"#666014",info1:"#85C5DD",info2:"#40ADD5",info3:"#0096CD",info4:"#005E80",info1Hover:"#95BECD",info2Hover:"#57A2BE",info3Hover:"#158CB8",info4Hover:"#0D5873",neutral1:"#F9F9F9",neutral2:"#E6E6E6",neutral3:"#CCCCCC",neutral4:"#747474",neutral5:"#333333",neutral6:"#1F1F1F",linkedin:"#0077b5",linkedin1:"#0A66C2",whatsapp1:"#075E54",whatsapp2:"#128C7E",whatsapp3:"#25D366",youtube1:"#FF0000",youtube2:"#282828",twitter:"#1D9BF0",twitter1:"#1DA1F2",facebook1:"#3C5A9A",instagram1:"#9c429f",pinterest:"#CB2027",pinterest1:"#E60023",mono1Opacity1:"rgba(255,255,255,0.1)",mono1Opacity2:"rgba(255,255,255,0.2)",mono1Opacity3:"rgba(255,255,255,0.3)",mono1Opacity4:"rgba(255,255,255,0.4)",mono1Opacity5:"rgba(255,255,255,0.5)",mono1Opacity6:"rgba(255,255,255,0.6)",mono1Opacity7:"rgba(255,255,255,0.7)",mono1Opacity8:"rgba(255,255,255,0.8)",mono1Opacity9:"rgba(255,255,255,0.9)",mono2Opacity1:"rgba(0,0,0,0.1)",mono2Opacity2:"rgba(0,0,0,0.2)",mono2Opacity3:"rgba(0,0,0,0.3)",mono2Opacity4:"rgba(0,0,0,0.4)",mono2Opacity5:"rgba(0,0,0,0.5)",mono2Opacity6:"rgba(0,0,0,0.6)",mono2Opacity7:"rgba(0,0,0,0.7)",mono2Opacity8:"rgba(0,0,0,0.8)",mono2Opacity9:"rgba(0,0,0,0.9)",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%)",flagFreight:"#7C57C5",flagOffer:"#0C7F68",flagPrivateLabel:"#005e80",flagCampaing:"#FB452A",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",hero:"48px",h1:"32px",h2:"28px",h3:"24px",h4:"20px",h5:"18px",mobileHero:"36px",mobileH1:"28px",mobileH2:"24px",mobileH3:"22px",mobileH4:" 20px",mobileH5:"18px",iconXSmall:"12px",iconSmall:"14px",iconMedium:"16px",iconLarge:"20px",iconXLarge:"24px"},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:{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)",focusPressed:"0px 0px 0px 2px $colors$white, 0px 0px 2px 4px $colors$info"},zIndices:{1:"100",2:"200",3:"300",4:"400",max:"9999999999"}},media:{sm:"(min-width: 320px)",md:"(min-width: 640px)",lg:"(min-width: 1224px)"},utils:{p:function(r){return{padding:r}},pt:function(r){return{paddingTop:r}},pr:function(r){return{paddingRight:r}},pb:function(r){return{paddingBottom:r}},pl:function(r){return{paddingLeft:r}},px:function(r){return{paddingLeft:r,paddingRight:r}},py:function(r){return{paddingTop:r,paddingBottom:r}},m:function(r){return{margin:r}},mt:function(r){return{marginTop:r}},mr:function(r){return{marginRight:r}},mb:function(r){return{marginBottom:r}},ml:function(r){return{marginLeft:r}},mx:function(r){return{marginLeft:r,marginRight:r}},my:function(r){return{marginTop:r,marginBottom:r}},ta:function(r){return{textAlign:r}},fd:function(r){return{flexDirection:r}},fw:function(r){return{flexWrap:r}},ai:function(r){return{alignItems:r}},ac:function(r){return{alignContent:r}},jc:function(r){return{justifyContent:r}},as:function(r){return{alignSelf:r}},fg:function(r){return{flexGrow:r}},fs:function(r){return{flexShrink:r}},fb:function(r){return{flexBasis:r}},bc:function(r){return{backgroundColor:r}},br:function(r){return{borderRadius:r}},btrr:function(r){return{borderTopRightRadius:r}},bbrr:function(r){return{borderBottomRightRadius:r}},bblr:function(r){return{borderBottomLeftRadius:r}},btlr:function(r){return{borderTopLeftRadius:r}},bs:function(r){return{boxShadow:r}},lh:function(r){return{lineHeight:r}},ox:function(r){return{overflowX:r}},oy:function(r){return{overflowY:r}},pe:function(r){return{pointerEvents:r}},us:function(r){return{userSelect:r}},size:function(r){return{width:r,height:r}},linearGradient:function(r){return{backgroundImage:"linear-gradient(".concat(r,")")}}}},o={colors:{background1:"#1F1F1F",background2:"#292929",mono1:"#000000",mono2:"#FFFFFF",alwaysBlack:"#1F1F1F",alwaysGray:"#666666",alwaysWhite:"#FFFFFF",primary1:"#F56119",primary2:"#F57A27",primary3:"#FFB05C",primary4:"#FFCA94",primary1Hover:"#D75516",primary2Hover:"#D76B22",primary3Hover:"#E09B51",primary4Hover:"#E0B182",secondary1:"#0C4C82",secondary2:"#0F5DA1",secondary3:"#1172C5",secondary4:"#238DE8",secondary0Hover:"rgba(75,157,228,0.1)",secondary1Hover:"#1A4B74",secondary2Hover:"#225C8F",secondary3Hover:"#2770B0",secondary4Hover:"#3C8BD0",success1:"#279B3E",success2:"#2FBC4B",success3:"#58D570",success4:"#89E19A",success1Hover:"#306F3C",success2Hover:"#3F9350",success3Hover:"#5AB06B",success4Hover:"#97D3A3",danger1:"#CC000B",danger2:"#FF4751",danger3:"#F86871",danger4:"#FE969C",danger1Hover:"#B8141D",danger2Hover:"#ED5961",danger3Hover:"#E9787E",danger4Hover:"#F3A0A5",warning1:"#C5B80C",warning2:"#F3E844",warning3:"#F9F4A4",warning4:"#FCFAD4",warning1Hover:"#B0A621",warning2Hover:"#DFD658",warning3Hover:"#EFEBAE",warning4Hover:"#F8F6D8",info1:"#0096CD",info2:"#40ADD5",info3:"#71C2E0",info4:"#9BD4E9",info1Hover:"#158CB8",info2Hover:"#57A2BE",info3Hover:"#82BACE",info4Hover:"#A7CEDD",mono1Opacity1:"rgba(0,0,0,0.1)",mono1Opacity2:"rgba(0,0,0,0.2)",mono1Opacity3:"rgba(0,0,0,0.3)",mono1Opacity4:"rgba(0,0,0,0.4)",mono1Opacity5:"rgba(0,0,0,0.5)",mono1Opacity6:"rgba(0,0,0,0.6)",mono1Opacity7:"rgba(0,0,0,0.7)",mono1Opacity8:"rgba(0,0,0,0.8)",mono1Opacity9:"rgba(0,0,0,0.9)",mono2Opacity1:"rgba(255,255,255,0.1)",mono2Opacity2:"rgba(255,255,255,0.2)",mono2Opacity3:"rgba(255,255,255,0.3)",mono2Opacity4:"rgba(255,255,255,0.4)",mono2Opacity5:"rgba(255,255,255,0.5)",mono2Opacity6:"rgba(255,255,255,0.6)",mono2Opacity7:"rgba(255,255,255,0.7)",mono2Opacity8:"rgba(255,255,255,0.8)",mono2Opacity9:"rgba(255,255,255,0.9)",neutral1:"#2E2E2E",neutral2:"#404040",neutral3:"#636363",neutral4:"#999999",neutral5:"#EDEDED",neutral6:"#FFFFFF",linkedin1:"#3896F5",whatsapp1:"#0CA190",whatsapp2:"#19C2AF",whatsapp3:"#78E7A2",youtube1:"#FF6161",youtube2:"#F0F0F0",twitter:"#1DA1F2",pinterest:"#FF4763",brandPrimary:"#FFAA50",brandMadeira1:"#00A381",brandMadeira2:"#00D1AC",brandMadeira3:"#00BDBD",brandMadeira4:"#CBE981",brandMadeira5:"#96DCDC",brandMadeira6:"#FF66A8",brandMadeira7:"#FCBAD6",brandMadeira8:"#FF6047",brandMadeira9:"#B38CFF"},shadows:{shadowNone:"none",shadowXSmall:"0 1px 4px 0 rgba(0,0,0,1), 0 0 0 1px $colors$neutral2",shadowSmall:"0 2px 8px 0 rgba(0,0,0,1), 0 0 0 1px $colors$neutral2",shadowMedium:"0 4px 16px 0 rgba(0,0,0,1), 0 0 0 1px $colors$neutral2",shadowLarge:"0 6px 24px 0 rgba(0,0,0,1), 0 0 0 1px $colors$neutral2",focusPressed:"0px 0px 0px 2px $colors$background1, 0px 0px 2px 4px $colors$info3"}},n=function(){return n=Object.assign||function(r){for(var e,a=1,o=arguments.length;a<o;a++)for(var n in e=arguments[a])Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},n.apply(this,arguments)},t={theme:{colors:n(n({},o.colors),{secondary1:"#A84000",secondary2:"#CC4E00",secondary3:"#EB5A00",secondary4:"#FC7F2C",secondary0Hover:"rgba(255,170,80,0.1)",secondary1Hover:"#974411",secondary2Hover:"#B85314",secondary3Hover:"#CE4F00",secondary4Hover:"#DD7027"}),shadows:n({},o.shadows)}},i=e.createStitches({prefix:"cav-",theme:a.theme,utils:a.utils,media:a.media}),s=i.styled,p=i.css,c=i.globalCss,l=i.getCssText,d=i.createTheme,g=i.theme,m=i.prefix,u=i.reset,x=i.keyframes,F=i.config,b=d("light-theme",a.theme),y=d("dark-theme",o),f=d("black-friday-theme",t.theme),h=[{name:"Light",class:b,color:"#F9F9F9"},{name:"Dark",class:y,color:"#1F1F1F"},{name:"BlackFriday",class:f,color:"orange"}],C=(r=F.theme).space,v=r.colors,H=r.radii,D=r.zIndices,w=r.fonts,A=r.fontSizes,B=r.lineHeights,E=r.letterSpacings,O=r.fontWeights,M=F.media;exports.blackFridayTheme=f,exports.colors=v,exports.config=F,exports.css=p,exports.darkTheme=y,exports.fontSizes=A,exports.fontWeights=O,exports.fonts=w,exports.getCavilhaCssString=l,exports.globalCavilhaCss=c,exports.keyframes=x,exports.letterSpacings=E,exports.lightTheme=b,exports.lineHeights=B,exports.media=M,exports.prefix=m,exports.radii=H,exports.reset=u,exports.space=C,exports.styled=s,exports.theme=g,exports.themeConfig=i,exports.themes=h,exports.zIndices=D; |
@@ -1,3 +0,6 @@ | ||
export { styled, getCavilhaCssString, css, themeConfig, space, colors, radii, zIndices, fonts, fontSizes, letterSpacings, fontWeights, lineHeights, keyframes, media, globalCavilhaCss, blackFridayTheme, darkTheme, lightTheme, } from './Theme.provider'; | ||
export type { CSS } from './Theme.provider'; | ||
export type { StitchesVariants } from '@stitches/react'; | ||
import { CSS as CSSStitches } from '@stitches/react'; | ||
import { themeConfig } from './Theme.provider'; | ||
export { blackFridayTheme, colors, config, css, darkTheme, fontSizes, fontWeights, fonts, getCavilhaCssString, globalCavilhaCss, keyframes, letterSpacings, lightTheme, lineHeights, media, prefix, radii, reset, space, styled, theme, themeConfig, themes, zIndices, } from './Theme.provider'; | ||
export type { ThemeRule } from './Theme.provider'; | ||
export declare type CSS = CSSStitches<typeof themeConfig>; | ||
export type { CSSProperties, ComponentProps, CreateStitches, DefaultThemeMap, PropertyValue, ScaleValue, VariantProps as StitchesVariants, } from '@stitches/react'; |
@@ -1,1 +0,1 @@ | ||
import{createCss as r}from"@stitches/react";var n,e={theme:{colors:{hiContrast:"hsl(206,10%,5%)",loContrast:"hsl(206,22%,99%)",canvas:"hsl(0,0%,100%)",brandPrimary:"#F58220",brandSecondary:"#004ABE",brandMadeira1:"#00785F",brandMadeira2:"#00AA8C",brandMadeira3:"#005A5A",brandMadeira4:"#C3E66E",brandMadeira5:"#96DCDC",brandMadeira6:"#D2005A",brandMadeira7:"#FA82B4",brandMadeira8:"#FF3C1E",brandMadeira9:"#7D5AC8",mono1:"#FFFFFF",mono2:"#000000",background1:"#FFFFFF",background2:"#F9F9F9",alwaysBlack:"#1F1F1F",alwaysGray:"#666666",alwaysWhite:"#FFFFFF",primary1:"#FFAA50",primary2:"#F58220",primary3:"#F66A26",primary4:"#DD3906",primary1Hover:"#EDA962",primary2Hover:"#DD8438",primary3Hover:"#DF723D",primary4Hover:"#C14822",secondary1:"#A3D5FF",secondary2:"#4B9DE4",secondary3:"#1B78CD",secondary3RGB:"27,120,205",secondary4:"#004ABE",secondary0Hover:"rgba(75,157,228,0.1)",secondary1Hover:"#ACD4F6",secondary2Hover:"#609CCF",secondary3Hover:"#3277B6",secondary4Hover:"#134EAB",success1:"#2AA843",success2:"#207F33",success3:"#165623",success4:"#0B2E12",success1Hover:"#3F9350",success2Hover:"#306F3C",success3Hover:"#214B29",success4Hover:"#112815",danger1:"#FF4751",danger2:"#D91620",danger3:"#A91717",danger4:"#7C1111",danger1Hover:"#ED5961",danger2Hover:"#C22D35",danger3Hover:"#962A2A",danger4Hover:"#6E1F1F",warning1:"#F9F39F",warning2:"#F5EB64",warning3:"#E6D80F",warning4:"#726B08",warning1Hover:"#EFEAA9",warning2Hover:"#E5DD74",warning3Hover:"#CEC327",warning4Hover:"#666014",info1:"#85C5DD",info2:"#40ADD5",info3:"#0096CD",info4:"#005E80",info1Hover:"#95BECD",info2Hover:"#57A2BE",info3Hover:"#158CB8",info4Hover:"#0D5873",neutral1:"#F9F9F9",neutral2:"#E6E6E6",neutral3:"#CCCCCC",neutral4:"#747474",neutral5:"#333333",neutral6:"#1F1F1F",linkedin:"#0077b5",linkedin1:"#0A66C2",whatsapp1:"#075E54",whatsapp2:"#128C7E",whatsapp3:"#25D366",youtube1:"#FF0000",youtube2:"#282828",twitter:"#1D9BF0",twitter1:"#1DA1F2",facebook1:"#3C5A9A",instagram1:"#9c429f",pinterest:"#CB2027",pinterest1:"#E60023",mono1Opacity1:"rgba(255,255,255,0.1)",mono1Opacity2:"rgba(255,255,255,0.2)",mono1Opacity3:"rgba(255,255,255,0.3)",mono1Opacity4:"rgba(255,255,255,0.4)",mono1Opacity5:"rgba(255,255,255,0.5)",mono1Opacity6:"rgba(255,255,255,0.6)",mono1Opacity7:"rgba(255,255,255,0.7)",mono1Opacity8:"rgba(255,255,255,0.8)",mono1Opacity9:"rgba(255,255,255,0.9)",mono2Opacity1:"rgba(0,0,0,0.1)",mono2Opacity2:"rgba(0,0,0,0.2)",mono2Opacity3:"rgba(0,0,0,0.3)",mono2Opacity4:"rgba(0,0,0,0.4)",mono2Opacity5:"rgba(0,0,0,0.5)",mono2Opacity6:"rgba(0,0,0,0.6)",mono2Opacity7:"rgba(0,0,0,0.7)",mono2Opacity8:"rgba(0,0,0,0.8)",mono2Opacity9:"rgba(0,0,0,0.9)",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%)",flagFreight:"#7C57C5",flagOffer:"#0C7F68",flagPrivateLabel:"#005e80",flagCampaing:"#FB452A",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",hero:"48px",h1:"32px",h2:"28px",h3:"24px",h4:"20px",h5:"18px",mobileHero:"36px",mobileH1:"28px",mobileH2:"24px",mobileH3:"22px",mobileH4:" 20px",mobileH5:"18px",iconXSmall:"12px",iconSmall:"14px",iconMedium:"16px",iconLarge:"20px",iconXLarge:"24px"},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:{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)",focusPressed:"0px 0px 0px 2px $colors$white, 0px 0px 2px 4px $colors$info"},zIndices:{1:"100",2:"200",3:"300",4:"400",max:"9999999999"}},media:{sm:"(min-width: 320px)",md:"(min-width: 640px)",lg:"(min-width: 1224px)"},utils:{p:function(){return function(r){return{padding:r}}},pt:function(){return function(r){return{paddingTop:r}}},pr:function(){return function(r){return{paddingRight:r}}},pb:function(){return function(r){return{paddingBottom:r}}},pl:function(){return function(r){return{paddingLeft:r}}},px:function(){return function(r){return{paddingLeft:r,paddingRight:r}}},py:function(){return function(r){return{paddingTop:r,paddingBottom:r}}},m:function(){return function(r){return{margin:r}}},mt:function(){return function(r){return{marginTop:r}}},mr:function(){return function(r){return{marginRight:r}}},mb:function(){return function(r){return{marginBottom:r}}},ml:function(){return function(r){return{marginLeft:r}}},mx:function(){return function(r){return{marginLeft:r,marginRight:r}}},my:function(){return function(r){return{marginTop:r,marginBottom:r}}},ta:function(){return function(r){return{textAlign:r}}},fd:function(){return function(r){return{flexDirection:r}}},fw:function(){return function(r){return{flexWrap:r}}},ai:function(){return function(r){return{alignItems:r}}},ac:function(){return function(r){return{alignContent:r}}},jc:function(){return function(r){return{justifyContent:r}}},as:function(){return function(r){return{alignSelf:r}}},fg:function(){return function(r){return{flexGrow:r}}},fs:function(){return function(r){return{flexShrink:r}}},fb:function(){return function(r){return{flexBasis:r}}},bc:function(r){return function(r){return{backgroundColor:r}}},br:function(r){return function(r){return{borderRadius:r}}},btrr:function(r){return function(r){return{borderTopRightRadius:r}}},bbrr:function(r){return function(r){return{borderBottomRightRadius:r}}},bblr:function(r){return function(r){return{borderBottomLeftRadius:r}}},btlr:function(r){return function(r){return{borderTopLeftRadius:r}}},bs:function(){return function(r){return{boxShadow:r}}},lh:function(){return function(r){return{lineHeight:r}}},ox:function(){return function(r){return{overflowX:r}}},oy:function(){return function(r){return{overflowY:r}}},pe:function(){return function(r){return{pointerEvents:r}}},us:function(){return function(r){return{userSelect:r}}},size:function(r){return function(r){return{width:r,height:r}}},linearGradient:function(){return function(r){return{backgroundImage:"linear-gradient("+r+")"}}}}},o={colors:{background1:"#1F1F1F",background2:"#292929",mono1:"#000000",mono2:"#FFFFFF",alwaysBlack:"#1F1F1F",alwaysGray:"#666666",alwaysWhite:"#FFFFFF",primary1:"#F56119",primary2:"#F57A27",primary3:"#FFB05C",primary4:"#FFCA94",primary1Hover:"#D75516",primary2Hover:"#D76B22",primary3Hover:"#E09B51",primary4Hover:"#E0B182",secondary1:"#0C4C82",secondary2:"#0F5DA1",secondary3:"#1172C5",secondary4:"#238DE8",secondary0Hover:"rgba(75,157,228,0.1)",secondary1Hover:"#1A4B74",secondary2Hover:"#225C8F",secondary3Hover:"#2770B0",secondary4Hover:"#3C8BD0",success1:"#279B3E",success2:"#2FBC4B",success3:"#58D570",success4:"#89E19A",success1Hover:"#306F3C",success2Hover:"#3F9350",success3Hover:"#5AB06B",success4Hover:"#97D3A3",danger1:"#CC000B",danger2:"#FF4751",danger3:"#F86871",danger4:"#FE969C",danger1Hover:"#B8141D",danger2Hover:"#ED5961",danger3Hover:"#E9787E",danger4Hover:"#F3A0A5",warning1:"#C5B80C",warning2:"#F3E844",warning3:"#F9F4A4",warning4:"#FCFAD4",warning1Hover:"#B0A621",warning2Hover:"#DFD658",warning3Hover:"#EFEBAE",warning4Hover:"#F8F6D8",info1:"#0096CD",info2:"#40ADD5",info3:"#71C2E0",info4:"#9BD4E9",info1Hover:"#158CB8",info2Hover:"#57A2BE",info3Hover:"#82BACE",info4Hover:"#A7CEDD",mono1Opacity1:"rgba(0,0,0,0.1)",mono1Opacity2:"rgba(0,0,0,0.2)",mono1Opacity3:"rgba(0,0,0,0.3)",mono1Opacity4:"rgba(0,0,0,0.4)",mono1Opacity5:"rgba(0,0,0,0.5)",mono1Opacity6:"rgba(0,0,0,0.6)",mono1Opacity7:"rgba(0,0,0,0.7)",mono1Opacity8:"rgba(0,0,0,0.8)",mono1Opacity9:"rgba(0,0,0,0.9)",mono2Opacity1:"rgba(255,255,255,0.1)",mono2Opacity2:"rgba(255,255,255,0.2)",mono2Opacity3:"rgba(255,255,255,0.3)",mono2Opacity4:"rgba(255,255,255,0.4)",mono2Opacity5:"rgba(255,255,255,0.5)",mono2Opacity6:"rgba(255,255,255,0.6)",mono2Opacity7:"rgba(255,255,255,0.7)",mono2Opacity8:"rgba(255,255,255,0.8)",mono2Opacity9:"rgba(255,255,255,0.9)",neutral1:"#2E2E2E",neutral2:"#404040",neutral3:"#636363",neutral4:"#999999",neutral5:"#EDEDED",neutral6:"#FFFFFF",linkedin1:"#3896F5",whatsapp1:"#0CA190",whatsapp2:"#19C2AF",whatsapp3:"#78E7A2",youtube1:"#FF6161",youtube2:"#F0F0F0",twitter:"#1DA1F2",pinterest:"#FF4763",brandPrimary:"#FFAA50",brandMadeira1:"#00A381",brandMadeira2:"#00D1AC",brandMadeira3:"#00BDBD",brandMadeira4:"#CBE981",brandMadeira5:"#96DCDC",brandMadeira6:"#FF66A8",brandMadeira7:"#FCBAD6",brandMadeira8:"#FF6047",brandMadeira9:"#B38CFF"},shadows:{shadowNone:"none",shadowXSmall:"0 1px 4px 0 rgba(0,0,0,1), 0 0 0 1px $colors$neutral2",shadowSmall:"0 2px 8px 0 rgba(0,0,0,1), 0 0 0 1px $colors$neutral2",shadowMedium:"0 4px 16px 0 rgba(0,0,0,1), 0 0 0 1px $colors$neutral2",shadowLarge:"0 6px 24px 0 rgba(0,0,0,1), 0 0 0 1px $colors$neutral2",focusPressed:"0px 0px 0px 2px $colors$background1, 0px 0px 2px 4px $colors$info3"}},a=function(){return a=Object.assign||function(r){for(var n,e=1,o=arguments.length;e<o;e++)for(var a in n=arguments[e])Object.prototype.hasOwnProperty.call(n,a)&&(r[a]=n[a]);return r},a.apply(this,arguments)},t={theme:{colors:a(a({},o.colors),{secondary1:"#A84000",secondary2:"#CC4E00",secondary3:"#EB5A00",secondary4:"#FC7F2C",secondary0Hover:"rgba(255,170,80,0.1)",secondary1Hover:"#974411",secondary2Hover:"#B85314",secondary3Hover:"#CE4F00",secondary4Hover:"#DD7027"}),shadows:a({},o.shadows)}},i=r({insertionMethod:"prepend",prefix:"cav-",theme:e.theme,utils:e.utils,media:e.media}),u=i.styled,c=i.css,p=i.theme,s=i.getCssString,l=i.global,d=i.keyframes,g=i.config,m=p("light-theme",e.theme),f=p("dark-theme",o),F=p("black-friday-theme",t.theme),x=(n=g.theme).space,b=n.colors,y=n.radii,h=n.zIndices,C=n.fonts,v=n.fontSizes,H=n.lineHeights,D=n.letterSpacings,w=n.fontWeights,A=g.media;export{F as blackFridayTheme,b as colors,c as css,f as darkTheme,v as fontSizes,w as fontWeights,C as fonts,s as getCavilhaCssString,l as globalCavilhaCss,d as keyframes,D as letterSpacings,m as lightTheme,H as lineHeights,A as media,y as radii,x as space,u as styled,i as themeConfig,h as zIndices}; | ||
import{createStitches as r}from"@stitches/react";var a,e={theme:{colors:{hiContrast:"hsl(206,10%,5%)",loContrast:"hsl(206,22%,99%)",canvas:"hsl(0,0%,100%)",brandPrimary:"#F58220",brandSecondary:"#004ABE",brandMadeira1:"#00785F",brandMadeira2:"#00AA8C",brandMadeira3:"#005A5A",brandMadeira4:"#C3E66E",brandMadeira5:"#96DCDC",brandMadeira6:"#D2005A",brandMadeira7:"#FA82B4",brandMadeira8:"#FF3C1E",brandMadeira9:"#7D5AC8",mono1:"#FFFFFF",mono2:"#000000",background1:"#FFFFFF",background2:"#F9F9F9",alwaysBlack:"#1F1F1F",alwaysGray:"#666666",alwaysWhite:"#FFFFFF",primary1:"#FFAA50",primary2:"#F58220",primary3:"#F66A26",primary4:"#DD3906",primary1Hover:"#EDA962",primary2Hover:"#DD8438",primary3Hover:"#DF723D",primary4Hover:"#C14822",secondary1:"#A3D5FF",secondary2:"#4B9DE4",secondary3:"#1B78CD",secondary3RGB:"27,120,205",secondary4:"#004ABE",secondary0Hover:"rgba(75,157,228,0.1)",secondary1Hover:"#ACD4F6",secondary2Hover:"#609CCF",secondary3Hover:"#3277B6",secondary4Hover:"#134EAB",success1:"#2AA843",success2:"#207F33",success3:"#165623",success4:"#0B2E12",success1Hover:"#3F9350",success2Hover:"#306F3C",success3Hover:"#214B29",success4Hover:"#112815",danger1:"#FF4751",danger2:"#D91620",danger3:"#A91717",danger4:"#7C1111",danger1Hover:"#ED5961",danger2Hover:"#C22D35",danger3Hover:"#962A2A",danger4Hover:"#6E1F1F",warning1:"#F9F39F",warning2:"#F5EB64",warning3:"#E6D80F",warning4:"#726B08",warning1Hover:"#EFEAA9",warning2Hover:"#E5DD74",warning3Hover:"#CEC327",warning4Hover:"#666014",info1:"#85C5DD",info2:"#40ADD5",info3:"#0096CD",info4:"#005E80",info1Hover:"#95BECD",info2Hover:"#57A2BE",info3Hover:"#158CB8",info4Hover:"#0D5873",neutral1:"#F9F9F9",neutral2:"#E6E6E6",neutral3:"#CCCCCC",neutral4:"#747474",neutral5:"#333333",neutral6:"#1F1F1F",linkedin:"#0077b5",linkedin1:"#0A66C2",whatsapp1:"#075E54",whatsapp2:"#128C7E",whatsapp3:"#25D366",youtube1:"#FF0000",youtube2:"#282828",twitter:"#1D9BF0",twitter1:"#1DA1F2",facebook1:"#3C5A9A",instagram1:"#9c429f",pinterest:"#CB2027",pinterest1:"#E60023",mono1Opacity1:"rgba(255,255,255,0.1)",mono1Opacity2:"rgba(255,255,255,0.2)",mono1Opacity3:"rgba(255,255,255,0.3)",mono1Opacity4:"rgba(255,255,255,0.4)",mono1Opacity5:"rgba(255,255,255,0.5)",mono1Opacity6:"rgba(255,255,255,0.6)",mono1Opacity7:"rgba(255,255,255,0.7)",mono1Opacity8:"rgba(255,255,255,0.8)",mono1Opacity9:"rgba(255,255,255,0.9)",mono2Opacity1:"rgba(0,0,0,0.1)",mono2Opacity2:"rgba(0,0,0,0.2)",mono2Opacity3:"rgba(0,0,0,0.3)",mono2Opacity4:"rgba(0,0,0,0.4)",mono2Opacity5:"rgba(0,0,0,0.5)",mono2Opacity6:"rgba(0,0,0,0.6)",mono2Opacity7:"rgba(0,0,0,0.7)",mono2Opacity8:"rgba(0,0,0,0.8)",mono2Opacity9:"rgba(0,0,0,0.9)",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%)",flagFreight:"#7C57C5",flagOffer:"#0C7F68",flagPrivateLabel:"#005e80",flagCampaing:"#FB452A",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",hero:"48px",h1:"32px",h2:"28px",h3:"24px",h4:"20px",h5:"18px",mobileHero:"36px",mobileH1:"28px",mobileH2:"24px",mobileH3:"22px",mobileH4:" 20px",mobileH5:"18px",iconXSmall:"12px",iconSmall:"14px",iconMedium:"16px",iconLarge:"20px",iconXLarge:"24px"},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:{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)",focusPressed:"0px 0px 0px 2px $colors$white, 0px 0px 2px 4px $colors$info"},zIndices:{1:"100",2:"200",3:"300",4:"400",max:"9999999999"}},media:{sm:"(min-width: 320px)",md:"(min-width: 640px)",lg:"(min-width: 1224px)"},utils:{p:function(r){return{padding:r}},pt:function(r){return{paddingTop:r}},pr:function(r){return{paddingRight:r}},pb:function(r){return{paddingBottom:r}},pl:function(r){return{paddingLeft:r}},px:function(r){return{paddingLeft:r,paddingRight:r}},py:function(r){return{paddingTop:r,paddingBottom:r}},m:function(r){return{margin:r}},mt:function(r){return{marginTop:r}},mr:function(r){return{marginRight:r}},mb:function(r){return{marginBottom:r}},ml:function(r){return{marginLeft:r}},mx:function(r){return{marginLeft:r,marginRight:r}},my:function(r){return{marginTop:r,marginBottom:r}},ta:function(r){return{textAlign:r}},fd:function(r){return{flexDirection:r}},fw:function(r){return{flexWrap:r}},ai:function(r){return{alignItems:r}},ac:function(r){return{alignContent:r}},jc:function(r){return{justifyContent:r}},as:function(r){return{alignSelf:r}},fg:function(r){return{flexGrow:r}},fs:function(r){return{flexShrink:r}},fb:function(r){return{flexBasis:r}},bc:function(r){return{backgroundColor:r}},br:function(r){return{borderRadius:r}},btrr:function(r){return{borderTopRightRadius:r}},bbrr:function(r){return{borderBottomRightRadius:r}},bblr:function(r){return{borderBottomLeftRadius:r}},btlr:function(r){return{borderTopLeftRadius:r}},bs:function(r){return{boxShadow:r}},lh:function(r){return{lineHeight:r}},ox:function(r){return{overflowX:r}},oy:function(r){return{overflowY:r}},pe:function(r){return{pointerEvents:r}},us:function(r){return{userSelect:r}},size:function(r){return{width:r,height:r}},linearGradient:function(r){return{backgroundImage:"linear-gradient(".concat(r,")")}}}},n={colors:{background1:"#1F1F1F",background2:"#292929",mono1:"#000000",mono2:"#FFFFFF",alwaysBlack:"#1F1F1F",alwaysGray:"#666666",alwaysWhite:"#FFFFFF",primary1:"#F56119",primary2:"#F57A27",primary3:"#FFB05C",primary4:"#FFCA94",primary1Hover:"#D75516",primary2Hover:"#D76B22",primary3Hover:"#E09B51",primary4Hover:"#E0B182",secondary1:"#0C4C82",secondary2:"#0F5DA1",secondary3:"#1172C5",secondary4:"#238DE8",secondary0Hover:"rgba(75,157,228,0.1)",secondary1Hover:"#1A4B74",secondary2Hover:"#225C8F",secondary3Hover:"#2770B0",secondary4Hover:"#3C8BD0",success1:"#279B3E",success2:"#2FBC4B",success3:"#58D570",success4:"#89E19A",success1Hover:"#306F3C",success2Hover:"#3F9350",success3Hover:"#5AB06B",success4Hover:"#97D3A3",danger1:"#CC000B",danger2:"#FF4751",danger3:"#F86871",danger4:"#FE969C",danger1Hover:"#B8141D",danger2Hover:"#ED5961",danger3Hover:"#E9787E",danger4Hover:"#F3A0A5",warning1:"#C5B80C",warning2:"#F3E844",warning3:"#F9F4A4",warning4:"#FCFAD4",warning1Hover:"#B0A621",warning2Hover:"#DFD658",warning3Hover:"#EFEBAE",warning4Hover:"#F8F6D8",info1:"#0096CD",info2:"#40ADD5",info3:"#71C2E0",info4:"#9BD4E9",info1Hover:"#158CB8",info2Hover:"#57A2BE",info3Hover:"#82BACE",info4Hover:"#A7CEDD",mono1Opacity1:"rgba(0,0,0,0.1)",mono1Opacity2:"rgba(0,0,0,0.2)",mono1Opacity3:"rgba(0,0,0,0.3)",mono1Opacity4:"rgba(0,0,0,0.4)",mono1Opacity5:"rgba(0,0,0,0.5)",mono1Opacity6:"rgba(0,0,0,0.6)",mono1Opacity7:"rgba(0,0,0,0.7)",mono1Opacity8:"rgba(0,0,0,0.8)",mono1Opacity9:"rgba(0,0,0,0.9)",mono2Opacity1:"rgba(255,255,255,0.1)",mono2Opacity2:"rgba(255,255,255,0.2)",mono2Opacity3:"rgba(255,255,255,0.3)",mono2Opacity4:"rgba(255,255,255,0.4)",mono2Opacity5:"rgba(255,255,255,0.5)",mono2Opacity6:"rgba(255,255,255,0.6)",mono2Opacity7:"rgba(255,255,255,0.7)",mono2Opacity8:"rgba(255,255,255,0.8)",mono2Opacity9:"rgba(255,255,255,0.9)",neutral1:"#2E2E2E",neutral2:"#404040",neutral3:"#636363",neutral4:"#999999",neutral5:"#EDEDED",neutral6:"#FFFFFF",linkedin1:"#3896F5",whatsapp1:"#0CA190",whatsapp2:"#19C2AF",whatsapp3:"#78E7A2",youtube1:"#FF6161",youtube2:"#F0F0F0",twitter:"#1DA1F2",pinterest:"#FF4763",brandPrimary:"#FFAA50",brandMadeira1:"#00A381",brandMadeira2:"#00D1AC",brandMadeira3:"#00BDBD",brandMadeira4:"#CBE981",brandMadeira5:"#96DCDC",brandMadeira6:"#FF66A8",brandMadeira7:"#FCBAD6",brandMadeira8:"#FF6047",brandMadeira9:"#B38CFF"},shadows:{shadowNone:"none",shadowXSmall:"0 1px 4px 0 rgba(0,0,0,1), 0 0 0 1px $colors$neutral2",shadowSmall:"0 2px 8px 0 rgba(0,0,0,1), 0 0 0 1px $colors$neutral2",shadowMedium:"0 4px 16px 0 rgba(0,0,0,1), 0 0 0 1px $colors$neutral2",shadowLarge:"0 6px 24px 0 rgba(0,0,0,1), 0 0 0 1px $colors$neutral2",focusPressed:"0px 0px 0px 2px $colors$background1, 0px 0px 2px 4px $colors$info3"}},o=function(){return o=Object.assign||function(r){for(var a,e=1,n=arguments.length;e<n;e++)for(var o in a=arguments[e])Object.prototype.hasOwnProperty.call(a,o)&&(r[o]=a[o]);return r},o.apply(this,arguments)},i={theme:{colors:o(o({},n.colors),{secondary1:"#A84000",secondary2:"#CC4E00",secondary3:"#EB5A00",secondary4:"#FC7F2C",secondary0Hover:"rgba(255,170,80,0.1)",secondary1Hover:"#974411",secondary2Hover:"#B85314",secondary3Hover:"#CE4F00",secondary4Hover:"#DD7027"}),shadows:o({},n.shadows)}},t=r({prefix:"cav-",theme:e.theme,utils:e.utils,media:e.media}),p=t.styled,s=t.css,c=t.globalCss,l=t.getCssText,d=t.createTheme,g=t.theme,m=t.prefix,u=t.reset,F=t.keyframes,x=t.config,b=d("light-theme",e.theme),y=d("dark-theme",n),f=d("black-friday-theme",i.theme),h=[{name:"Light",class:b,color:"#F9F9F9"},{name:"Dark",class:y,color:"#1F1F1F"},{name:"BlackFriday",class:f,color:"orange"}],C=(a=x.theme).space,v=a.colors,H=a.radii,D=a.zIndices,w=a.fonts,A=a.fontSizes,B=a.lineHeights,E=a.letterSpacings,O=a.fontWeights,M=x.media;export{f as blackFridayTheme,v as colors,x as config,s as css,y as darkTheme,A as fontSizes,O as fontWeights,w as fonts,l as getCavilhaCssString,c as globalCavilhaCss,F as keyframes,E as letterSpacings,b as lightTheme,B as lineHeights,M as media,m as prefix,H as radii,u as reset,C as space,p as styled,g as theme,t as themeConfig,h as themes,D as zIndices}; |
{ | ||
"name": "@cavilha/theme", | ||
"version": "0.0.4", | ||
"version": "1.0.0", | ||
"description": "A theme provider for styling components using MadeiraMadeira webstore design token definitions", | ||
@@ -64,7 +64,8 @@ "author": "MadeiraMadeira webstore squads", | ||
"tsconfig-paths": "~3.9.0", | ||
"typescript": "~4.3.0" | ||
"typescript": "4.7.4", | ||
"@stitches/react": "~1.2.8" | ||
}, | ||
"peerDependencies": { | ||
"@stitches/react": "^0.2.2" | ||
"@stitches/react": "~1.2.8" | ||
} | ||
} | ||
} |
Sorry, the diff of this file is too big to display
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
6457
2
237757
20