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

@pikas-ui/styles

Package Overview
Dependencies
Maintainers
1
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pikas-ui/styles - npm Package Compare versions

Comparing version 2.3.9 to 2.3.10

dist/borderRadius.mjs

2

dist/borderRadius.js

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

const e={none:!0,xs:!0,sm:!0,md:!0,lg:!0,xl:!0,round:!0},t={br:r=>{switch(r){case"none":return{borderRadius:0};case"xs":return{borderRadius:2};case"sm":return{borderRadius:4};case"md":return{borderRadius:8};case"lg":return{borderRadius:16};case"xl":return{borderRadius:32};case"round":return{borderRadius:5e3}}},brTL:r=>{switch(r){case"none":return{borderTopLeftRadius:0};case"xs":return{borderTopLeftRadius:2};case"sm":return{borderTopLeftRadius:4};case"md":return{borderTopLeftRadius:8};case"lg":return{borderTopLeftRadius:16};case"xl":return{borderTopLeftRadius:32};case"round":return{borderTopLeftRadius:5e3}}},brTR:r=>{switch(r){case"none":return{borderTopRightRadius:0};case"xs":return{borderTopRightRadius:2};case"sm":return{borderTopRightRadius:4};case"md":return{borderTopRightRadius:8};case"lg":return{borderTopRightRadius:16};case"xl":return{borderTopRightRadius:32};case"round":return{borderTopRightRadius:5e3}}},brBL:r=>{switch(r){case"none":return{borderBottomLeftRadius:0};case"xs":return{borderBottomLeftRadius:2};case"sm":return{borderBottomLeftRadius:4};case"md":return{borderBottomLeftRadius:8};case"lg":return{borderBottomLeftRadius:16};case"xl":return{borderBottomLeftRadius:32};case"round":return{borderBottomLeftRadius:5e3}}},brBR:r=>{switch(r){case"none":return{borderBottomRightRadius:0};case"xs":return{borderBottomRightRadius:2};case"sm":return{borderBottomRightRadius:4};case"md":return{borderBottomRightRadius:8};case"lg":return{borderBottomRightRadius:16};case"xl":return{borderBottomRightRadius:32};case"round":return{borderBottomRightRadius:5e3}}}};export{t as BR,e as BorderRadius};
"use strict";Object.defineProperty(exports, "__esModule", {value: true});const e={none:!0,xs:!0,sm:!0,md:!0,lg:!0,xl:!0,round:!0},t= exports.BR ={br:r=>{switch(r){case"none":return{borderRadius:0};case"xs":return{borderRadius:2};case"sm":return{borderRadius:4};case"md":return{borderRadius:8};case"lg":return{borderRadius:16};case"xl":return{borderRadius:32};case"round":return{borderRadius:5e3}}},brTL:r=>{switch(r){case"none":return{borderTopLeftRadius:0};case"xs":return{borderTopLeftRadius:2};case"sm":return{borderTopLeftRadius:4};case"md":return{borderTopLeftRadius:8};case"lg":return{borderTopLeftRadius:16};case"xl":return{borderTopLeftRadius:32};case"round":return{borderTopLeftRadius:5e3}}},brTR:r=>{switch(r){case"none":return{borderTopRightRadius:0};case"xs":return{borderTopRightRadius:2};case"sm":return{borderTopRightRadius:4};case"md":return{borderTopRightRadius:8};case"lg":return{borderTopRightRadius:16};case"xl":return{borderTopRightRadius:32};case"round":return{borderTopRightRadius:5e3}}},brBL:r=>{switch(r){case"none":return{borderBottomLeftRadius:0};case"xs":return{borderBottomLeftRadius:2};case"sm":return{borderBottomLeftRadius:4};case"md":return{borderBottomLeftRadius:8};case"lg":return{borderBottomLeftRadius:16};case"xl":return{borderBottomLeftRadius:32};case"round":return{borderBottomLeftRadius:5e3}}},brBR:r=>{switch(r){case"none":return{borderBottomRightRadius:0};case"xs":return{borderBottomRightRadius:2};case"sm":return{borderBottomRightRadius:4};case"md":return{borderBottomRightRadius:8};case"lg":return{borderBottomRightRadius:16};case"xl":return{borderBottomRightRadius:32};case"round":return{borderBottomRightRadius:5e3}}}};exports.BR = t; exports.BorderRadius = e;
//# sourceMappingURL=borderRadius.js.map

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

const e={};export{e as BorderStyles};
"use strict";Object.defineProperty(exports, "__esModule", {value: true});const e={};exports.BorderStyles = e;
//# sourceMappingURL=borderStyles.js.map

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

const e={};export{e as BorderWidths};
"use strict";Object.defineProperty(exports, "__esModule", {value: true});const e={};exports.BorderWidths = e;
//# sourceMappingURL=borderWidths.js.map

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

const F={PRIMARY_DARKER:"#295180",PRIMARY_DARK:"#3D79BF",PRIMARY:"#52A2FF",PRIMARY_LIGHT:"#A8D0FF",PRIMARY_LIGHTER:"#D4E8FF",PRIMARY_LIGHTEST_2:"#EDF6FF",PRIMARY_LIGHTEST_1:"#F6FAFF",SECONDARY_DARKER:"#802D3A",SECONDARY_DARK:"#BF4357",SECONDARY:"#FF5A74",SECONDARY_LIGHT:"#FFACB9",SECONDARY_LIGHTER:"#FFD6DC",SECONDARY_LIGHTEST_2:"#FFEEF1",SECONDARY_LIGHTEST_1:"#FFF7F8",TERTIARY_DARKER:"#805C2A",TERTIARY_DARK:"#BF8A3E",TERTIARY:"#FFB853",TERTIARY_LIGHT:"#FFDBA9",TERTIARY_LIGHTER:"#FFEDD4",TERTIARY_LIGHTEST_2:"#FFF8ED",TERTIARY_LIGHTEST_1:"#FFFBF6",BLACK:"#292E36",BLACK_LIGHT:"rgba(34, 40, 49, 0.5)",BLACK_LIGHTER:"rgba(34, 40, 49, 0.25)",BLACK_LIGHTEST_2:"rgba(34, 40, 49, 0.1)",BLACK_LIGHTEST_1:"rgba(34, 40, 49, 0.05)",BLACK_FIX:"#292E36",BLACK_FIX_LIGHT:"rgba(34, 40, 49, 0.5)",BLACK_FIX_LIGHTER:"rgba(34, 40, 49, 0.25)",BLACK_FIX_LIGHTEST_2:"rgba(34, 40, 49, 0.1)",BLACK_FIX_LIGHTEST_1:"rgba(34, 40, 49, 0.05)",WHITE:"#FFFFFF",WHITE2:"#FFFFFF",WHITE_LIGHT:"rgba(249, 247, 247, 0.7)",WHITE_LIGHTER:"rgba(249, 247, 247, 0.5)",WHITE_LIGHTEST_2:"rgba(249, 247, 247, 0.35)",WHITE_LIGHTEST_1:"rgba(249, 247, 247, 0.25)",WHITE_FIX:"#FFFFFF",WHITE_FIX_LIGHT:"rgba(249, 247, 247, 0.7)",WHITE_FIX_LIGHTER:"rgba(249, 247, 247, 0.5)",WHITE_FIX_LIGHTEST_2:"rgba(249, 247, 247, 0.35)",WHITE_FIX_LIGHTEST_1:"rgba(249, 247, 247, 0.25)",GRAY_DARKER:"#505050",GRAY_DARK:"#A5A6AF",GRAY:"#DCDDE9",GRAY_LIGHT:"#E5E5E5",GRAY_LIGHTER:"#F6F6F9",GRAY_LIGHTEST_2:"#FBFCFD",GRAY_LIGHTEST_1:"#FDFDFE",SUCCESS_DARKER:"#196C5C",SUCCESS_DARK:"#25A289",SUCCESS:"#32D8B7",SUCCESS_LIGHT:"#98EBDB",SUCCESS_LIGHTER:"#CCF5ED",SUCCESS_LIGHTEST_2:"#EAFBF8",SUCCESS_LIGHTEST_1:"#F5FDFB",WARNING_DARKER:"#805C2A",WARNING_DARK:"#BF8A3E",WARNING:"#FFB853",WARNING_LIGHT:"#FFDBA9",WARNING_LIGHTER:"#FFEDD4",WARNING_LIGHTEST_2:"#FFF8ED",WARNING_LIGHTEST_1:"#FFFBF6",ERROR_DARKER:"#781C1C",ERROR_DARK:"#B4292A",ERROR:"#F03738",ERROR_LIGHT:"#F79B9B",ERROR_LIGHTER:"#FBCDCD",ERROR_LIGHTEST_2:"#FDEBEB",ERROR_LIGHTEST_1:"#FEF5F5",TRANSPARENT:"rgba(0, 0, 0, 0)",BACKGROUND:"#EDF6FF"};export{F as Colors};
"use strict";Object.defineProperty(exports, "__esModule", {value: true});const F={PRIMARY_DARKER:"#295180",PRIMARY_DARK:"#3D79BF",PRIMARY:"#52A2FF",PRIMARY_LIGHT:"#A8D0FF",PRIMARY_LIGHTER:"#D4E8FF",PRIMARY_LIGHTEST_2:"#EDF6FF",PRIMARY_LIGHTEST_1:"#F6FAFF",SECONDARY_DARKER:"#802D3A",SECONDARY_DARK:"#BF4357",SECONDARY:"#FF5A74",SECONDARY_LIGHT:"#FFACB9",SECONDARY_LIGHTER:"#FFD6DC",SECONDARY_LIGHTEST_2:"#FFEEF1",SECONDARY_LIGHTEST_1:"#FFF7F8",TERTIARY_DARKER:"#805C2A",TERTIARY_DARK:"#BF8A3E",TERTIARY:"#FFB853",TERTIARY_LIGHT:"#FFDBA9",TERTIARY_LIGHTER:"#FFEDD4",TERTIARY_LIGHTEST_2:"#FFF8ED",TERTIARY_LIGHTEST_1:"#FFFBF6",BLACK:"#292E36",BLACK_LIGHT:"rgba(34, 40, 49, 0.5)",BLACK_LIGHTER:"rgba(34, 40, 49, 0.25)",BLACK_LIGHTEST_2:"rgba(34, 40, 49, 0.1)",BLACK_LIGHTEST_1:"rgba(34, 40, 49, 0.05)",BLACK_FIX:"#292E36",BLACK_FIX_LIGHT:"rgba(34, 40, 49, 0.5)",BLACK_FIX_LIGHTER:"rgba(34, 40, 49, 0.25)",BLACK_FIX_LIGHTEST_2:"rgba(34, 40, 49, 0.1)",BLACK_FIX_LIGHTEST_1:"rgba(34, 40, 49, 0.05)",WHITE:"#FFFFFF",WHITE2:"#FFFFFF",WHITE_LIGHT:"rgba(249, 247, 247, 0.7)",WHITE_LIGHTER:"rgba(249, 247, 247, 0.5)",WHITE_LIGHTEST_2:"rgba(249, 247, 247, 0.35)",WHITE_LIGHTEST_1:"rgba(249, 247, 247, 0.25)",WHITE_FIX:"#FFFFFF",WHITE_FIX_LIGHT:"rgba(249, 247, 247, 0.7)",WHITE_FIX_LIGHTER:"rgba(249, 247, 247, 0.5)",WHITE_FIX_LIGHTEST_2:"rgba(249, 247, 247, 0.35)",WHITE_FIX_LIGHTEST_1:"rgba(249, 247, 247, 0.25)",GRAY_DARKER:"#505050",GRAY_DARK:"#A5A6AF",GRAY:"#DCDDE9",GRAY_LIGHT:"#E5E5E5",GRAY_LIGHTER:"#F6F6F9",GRAY_LIGHTEST_2:"#FBFCFD",GRAY_LIGHTEST_1:"#FDFDFE",SUCCESS_DARKER:"#196C5C",SUCCESS_DARK:"#25A289",SUCCESS:"#32D8B7",SUCCESS_LIGHT:"#98EBDB",SUCCESS_LIGHTER:"#CCF5ED",SUCCESS_LIGHTEST_2:"#EAFBF8",SUCCESS_LIGHTEST_1:"#F5FDFB",WARNING_DARKER:"#805C2A",WARNING_DARK:"#BF8A3E",WARNING:"#FFB853",WARNING_LIGHT:"#FFDBA9",WARNING_LIGHTER:"#FFEDD4",WARNING_LIGHTEST_2:"#FFF8ED",WARNING_LIGHTEST_1:"#FFFBF6",ERROR_DARKER:"#781C1C",ERROR_DARK:"#B4292A",ERROR:"#F03738",ERROR_LIGHT:"#F79B9B",ERROR_LIGHTER:"#FBCDCD",ERROR_LIGHTEST_2:"#FDEBEB",ERROR_LIGHTEST_1:"#FEF5F5",TRANSPARENT:"rgba(0, 0, 0, 0)",BACKGROUND:"#EDF6FF"};exports.Colors = F;
//# sourceMappingURL=colors.js.map

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

import{createStitches as r}from"@stitches/react";import{BR as o}from"./borderRadius.js";import{BorderStyles as e}from"./borderStyles.js";import{BorderWidths as s}from"./borderWidths.js";import{Colors as m}from"./colors.js";import{FontSizes as n}from"./fontSizes.js";import{FontWeights as p}from"./fontWeights.js";import{gap as a}from"./gap.js";import{LetterSpacings as d}from"./letterSpacings.js";import{LineHeights as f}from"./lineHeights.js";import{Radii as g}from"./radii.js";import{Shadows as h}from"./shadows.js";import{Sizes as c}from"./sizes.js";import{Space as l}from"./space.js";import{Transitions as S}from"./transitions.js";import{ZIndices as x}from"./zIndices.js";const u=r({prefix:"",theme:{colors:m,fonts:{roboto:"Roboto"},shadows:h,fontSizes:n,space:l,sizes:c,fontWeights:p,lineHeights:f,letterSpacings:d,borderWidths:s,borderStyles:e,radii:g,zIndices:x,transitions:S},media:{xs:"(min-width: 480px)",sm:"(min-width: 640px)",md:"(min-width: 768px)",lg:"(min-width: 1024px)",xl:"(min-width: 1280px)"},utils:{...a,...o,linearGradient:t=>({backgroundImage:`linear-gradient(${t})`}),gridCols:t=>({display:"grid",gridTemplateColumns:`repeat(${t}, minmax(0, 1fr))`,width:"100%",height:"auto"}),col:t=>{if(!t)return{};const i=t.toString().split(" ");return{gridColumn:`${i[1]||"auto"} / span ${i[0]}`}}}}),{styled:Z,css:j,globalCss:q,keyframes:A,getCssText:D,config:E,createTheme:J,prefix:K,reset:M,theme:N}=u;export{E as config,J as createTheme,j as css,D as getCssText,q as globalCss,A as keyframes,K as prefix,M as reset,u as stitchesConfig,Z as styled,N as theme};
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _react = require('@stitches/react');var _borderRadiusjs = require('./borderRadius.js');var _borderStylesjs = require('./borderStyles.js');var _borderWidthsjs = require('./borderWidths.js');var _colorsjs = require('./colors.js');var _fontSizesjs = require('./fontSizes.js');var _fontWeightsjs = require('./fontWeights.js');var _gapjs = require('./gap.js');var _letterSpacingsjs = require('./letterSpacings.js');var _lineHeightsjs = require('./lineHeights.js');var _radiijs = require('./radii.js');var _shadowsjs = require('./shadows.js');var _sizesjs = require('./sizes.js');var _spacejs = require('./space.js');var _transitionsjs = require('./transitions.js');var _zIndicesjs = require('./zIndices.js');const u=_react.createStitches.call(void 0, {prefix:"",theme:{colors:_colorsjs.Colors,fonts:{roboto:"Roboto"},shadows:_shadowsjs.Shadows,fontSizes:_fontSizesjs.FontSizes,space:_spacejs.Space,sizes:_sizesjs.Sizes,fontWeights:_fontWeightsjs.FontWeights,lineHeights:_lineHeightsjs.LineHeights,letterSpacings:_letterSpacingsjs.LetterSpacings,borderWidths:_borderWidthsjs.BorderWidths,borderStyles:_borderStylesjs.BorderStyles,radii:_radiijs.Radii,zIndices:_zIndicesjs.ZIndices,transitions:_transitionsjs.Transitions},media:{xs:"(min-width: 480px)",sm:"(min-width: 640px)",md:"(min-width: 768px)",lg:"(min-width: 1024px)",xl:"(min-width: 1280px)"},utils:{..._gapjs.gap,..._borderRadiusjs.BR,linearGradient:t=>({backgroundImage:`linear-gradient(${t})`}),gridCols:t=>({display:"grid",gridTemplateColumns:`repeat(${t}, minmax(0, 1fr))`,width:"100%",height:"auto"}),col:t=>{if(!t)return{};const i=t.toString().split(" ");return{gridColumn:`${i[1]||"auto"} / span ${i[0]}`}}}}),{styled:Z,css:j,globalCss:q,keyframes:A,getCssText:D,config:E,createTheme:J,prefix:K,reset:M,theme:N}=u;exports.config = E; exports.createTheme = J; exports.css = j; exports.getCssText = D; exports.globalCss = q; exports.keyframes = A; exports.prefix = K; exports.reset = M; exports.stitchesConfig = u; exports.styled = Z; exports.theme = N;
//# sourceMappingURL=css.js.map

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

import{createTheme as R}from"./css.js";const A=R("dark-theme",{colors:{PRIMARY_DARKER:"#A8D0FF",PRIMARY_DARK:"#7DB9FF",PRIMARY:"#52A2FF",PRIMARY_LIGHT:"#3D79BF",PRIMARY_LIGHTER:"#295180",PRIMARY_LIGHTEST_2:"#102033",PRIMARY_LIGHTEST_1:"#0C1826",SECONDARY_DARKER:"#FFACB9",SECONDARY_DARK:"#FF8397",SECONDARY:"#FF5A74",SECONDARY_LIGHT:"#BF4357",SECONDARY_LIGHTER:"#802D3A",SECONDARY_LIGHTEST_2:"#331217",SECONDARY_LIGHTEST_1:"#260D11",TERTIARY_DARKER:"#FFDBA9",TERTIARY_DARK:"#FFCA7E",TERTIARY:"#FFB853",TERTIARY_LIGHT:"#BF8A3E",TERTIARY_LIGHTER:"#805C2A",TERTIARY_LIGHTEST_2:"#332511",TERTIARY_LIGHTEST_1:"#261B0C",BLACK:"#ffffff",BLACK2:"#292E36",BLACK_LIGHT:"rgba(249, 247, 247, 0.7)",BLACK_LIGHTER:"rgba(249, 247, 247, 0.5)",BLACK_LIGHTEST_2:"rgba(249, 247, 247, 0.35)",BLACK_LIGHTEST_1:"rgba(249, 247, 247, 0.25)",WHITE:"#191919",WHITE2:"#242424",WHITE_LIGHT:"rgba(41, 46, 54, 0.5)",WHITE_LIGHTER:"rgba(41, 46, 54, 0.25)",WHITE_LIGHTEST_2:"rgba(41, 46, 54, 0.1)",WHITE_LIGHTEST_1:"rgba(41, 46, 54, 0.05)",GRAY_DARKER:"#EDEEF4",GRAY_DARK:"#E5E6EF",GRAY:"#F6F6F9",GRAY_LIGHT:"#A5A6AF",GRAY_LIGHTER:"#6E6F75",GRAY_LIGHTEST_2:"#2C2C2F",GRAY_LIGHTEST_1:"#212123",SUCCESS_DARKER:"#98EBDB",SUCCESS_DARK:"#65E2C9",SUCCESS:"#32D8B7",SUCCESS_LIGHT:"#25A289",SUCCESS_LIGHTER:"#196C5C",SUCCESS_LIGHTEST_2:"#0A2B25",SUCCESS_LIGHTEST_1:"#07201B",WARNING_DARKER:"#FFDBA9",WARNING_DARK:"#FFCA7E",WARNING:"#FFB853",WARNING_LIGHT:"#BF8A3E",WARNING_LIGHTER:"#805C2A",WARNING_LIGHTEST_2:"#332511",WARNING_LIGHTEST_1:"#261B0C",ERROR_DARKER:"#F79B9B",ERROR_DARK:"#F4696A",ERROR:"#F03738",ERROR_LIGHT:"#B4292A",ERROR_LIGHTER:"#781C1C",ERROR_LIGHTEST_2:"#300B0B",ERROR_LIGHTEST_1:"#240808",TRANSPARENT:"rgba(0, 0, 0, 0)",BACKGROUND:"#242424"}});export{A as darkTheme};
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _cssjs = require('./css.js');const A=_cssjs.createTheme.call(void 0, "dark-theme",{colors:{PRIMARY_DARKER:"#A8D0FF",PRIMARY_DARK:"#7DB9FF",PRIMARY:"#52A2FF",PRIMARY_LIGHT:"#3D79BF",PRIMARY_LIGHTER:"#295180",PRIMARY_LIGHTEST_2:"#102033",PRIMARY_LIGHTEST_1:"#0C1826",SECONDARY_DARKER:"#FFACB9",SECONDARY_DARK:"#FF8397",SECONDARY:"#FF5A74",SECONDARY_LIGHT:"#BF4357",SECONDARY_LIGHTER:"#802D3A",SECONDARY_LIGHTEST_2:"#331217",SECONDARY_LIGHTEST_1:"#260D11",TERTIARY_DARKER:"#FFDBA9",TERTIARY_DARK:"#FFCA7E",TERTIARY:"#FFB853",TERTIARY_LIGHT:"#BF8A3E",TERTIARY_LIGHTER:"#805C2A",TERTIARY_LIGHTEST_2:"#332511",TERTIARY_LIGHTEST_1:"#261B0C",BLACK:"#ffffff",BLACK2:"#292E36",BLACK_LIGHT:"rgba(249, 247, 247, 0.7)",BLACK_LIGHTER:"rgba(249, 247, 247, 0.5)",BLACK_LIGHTEST_2:"rgba(249, 247, 247, 0.35)",BLACK_LIGHTEST_1:"rgba(249, 247, 247, 0.25)",WHITE:"#191919",WHITE2:"#242424",WHITE_LIGHT:"rgba(41, 46, 54, 0.5)",WHITE_LIGHTER:"rgba(41, 46, 54, 0.25)",WHITE_LIGHTEST_2:"rgba(41, 46, 54, 0.1)",WHITE_LIGHTEST_1:"rgba(41, 46, 54, 0.05)",GRAY_DARKER:"#EDEEF4",GRAY_DARK:"#E5E6EF",GRAY:"#F6F6F9",GRAY_LIGHT:"#A5A6AF",GRAY_LIGHTER:"#6E6F75",GRAY_LIGHTEST_2:"#2C2C2F",GRAY_LIGHTEST_1:"#212123",SUCCESS_DARKER:"#98EBDB",SUCCESS_DARK:"#65E2C9",SUCCESS:"#32D8B7",SUCCESS_LIGHT:"#25A289",SUCCESS_LIGHTER:"#196C5C",SUCCESS_LIGHTEST_2:"#0A2B25",SUCCESS_LIGHTEST_1:"#07201B",WARNING_DARKER:"#FFDBA9",WARNING_DARK:"#FFCA7E",WARNING:"#FFB853",WARNING_LIGHT:"#BF8A3E",WARNING_LIGHTER:"#805C2A",WARNING_LIGHTEST_2:"#332511",WARNING_LIGHTEST_1:"#261B0C",ERROR_DARKER:"#F79B9B",ERROR_DARK:"#F4696A",ERROR:"#F03738",ERROR_LIGHT:"#B4292A",ERROR_LIGHTER:"#781C1C",ERROR_LIGHTEST_2:"#300B0B",ERROR_LIGHTEST_1:"#240808",TRANSPARENT:"rgba(0, 0, 0, 0)",BACKGROUND:"#242424"}});exports.darkTheme = A;
//# sourceMappingURL=dark_theme.js.map

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

const M={"EM-XXX-SMALL":"0.5em","EM-XX-SMALL":"0.7em","EM-X-SMALL":"0.8em","EM-SMALL":"0.95em","EM-MEDIUM":"1em","EM-LARGE":"1.05em","EM-X-LARGE":"1.2em","EM-XX-LARGE":"1.5em","EM-XXX-LARGE":"2em","REM-XXX-SMALL":"0.5em","REM-XX-SMALL":"0.7em","REM-X-SMALL":"0.8em","REM-SMALL":"0.95em","REM-MEDIUM":"1em","REM-LARGE":"1.05em","REM-X-LARGE":"1.2em","REM-XX-LARGE":"1.5em","REM-XXX-LARGE":"2em"};export{M as FontSizes};
"use strict";Object.defineProperty(exports, "__esModule", {value: true});const M={"EM-XXX-SMALL":"0.5em","EM-XX-SMALL":"0.7em","EM-X-SMALL":"0.8em","EM-SMALL":"0.95em","EM-MEDIUM":"1em","EM-LARGE":"1.05em","EM-X-LARGE":"1.2em","EM-XX-LARGE":"1.5em","EM-XXX-LARGE":"2em","REM-XXX-SMALL":"0.5em","REM-XX-SMALL":"0.7em","REM-X-SMALL":"0.8em","REM-SMALL":"0.95em","REM-MEDIUM":"1em","REM-LARGE":"1.05em","REM-X-LARGE":"1.2em","REM-XX-LARGE":"1.5em","REM-XXX-LARGE":"2em"};exports.FontSizes = M;
//# sourceMappingURL=fontSizes.js.map

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

const t={THIN:100,"EXTRA-LIGHT":200,LIGHT:300,NORMAL:400,MEDIUM:500,"SEMI-BOLD":600,BOLD:700,"EXTRA-BOLD":800,BLACK:900};export{t as FontWeights};
"use strict";Object.defineProperty(exports, "__esModule", {value: true});const t={THIN:100,"EXTRA-LIGHT":200,LIGHT:300,NORMAL:400,MEDIUM:500,"SEMI-BOLD":600,BOLD:700,"EXTRA-BOLD":800,BLACK:900};exports.FontWeights = t;
//# sourceMappingURL=fontWeights.js.map

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

const r={customGap:n=>{const t={gap:n},o={gap:0,"& > *":{margin:n/2}};return{...t,"@supports (-webkit-appearance:none) and (stroke-color:transparent)":{...o}}},customColumnGap:n=>{const t={columnGap:`${n}px`},o={columnGap:0,"& > *:not(:last-child):not(:first-child)":{marginLeft:n/2,marginRight:n/2},"& > *:first-child":{marginRight:n/2},"& > *:last-child":{marginLeft:n/2}};return{...t,"@supports (-webkit-appearance:none) and (stroke-color:transparent)":{...o}}},customRowGap:n=>{const t={rowGap:`${n}px`},o={rowGap:0,"& > *:not(:last-child):not(:first-child)":{marginTop:n/2,marginBottom:n/2},"& > *:first-child":{marginBottom:n/2},"& > *:last-child":{marginTop:n/2}};return{...t,"@supports (-webkit-appearance:none) and (stroke-color:transparent)":{...o}}}};export{r as gap};
"use strict";Object.defineProperty(exports, "__esModule", {value: true});const r={customGap:n=>{const t={gap:n},o={gap:0,"& > *":{margin:n/2}};return{...t,"@supports (-webkit-appearance:none) and (stroke-color:transparent)":{...o}}},customColumnGap:n=>{const t={columnGap:`${n}px`},o={columnGap:0,"& > *:not(:last-child):not(:first-child)":{marginLeft:n/2,marginRight:n/2},"& > *:first-child":{marginRight:n/2},"& > *:last-child":{marginLeft:n/2}};return{...t,"@supports (-webkit-appearance:none) and (stroke-color:transparent)":{...o}}},customRowGap:n=>{const t={rowGap:`${n}px`},o={rowGap:0,"& > *:not(:last-child):not(:first-child)":{marginTop:n/2,marginBottom:n/2},"& > *:first-child":{marginBottom:n/2},"& > *:last-child":{marginTop:n/2}};return{...t,"@supports (-webkit-appearance:none) and (stroke-color:transparent)":{...o}}}};exports.gap = r;
//# sourceMappingURL=gap.js.map

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

export*from"./useTheme.js";
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _createStarExport(obj) { Object.keys(obj) .filter((key) => key !== "default" && key !== "__esModule") .forEach((key) => { if (exports.hasOwnProperty(key)) { return; } Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]}); }); }var _useThemejs = require('./useTheme.js'); _createStarExport(_useThemejs);
//# sourceMappingURL=index.js.map

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

import{useContext as e}from"react";import{PikasUIContext as t}from"../PikasUIProvider/index.js";const m=()=>e(t);export{m as useTheme};
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _react = require('react');var _indexjs = require('../PikasUIProvider/index.js');const m=()=>_react.useContext.call(void 0, _indexjs.PikasUIContext);exports.useTheme = m;
//# sourceMappingURL=useTheme.js.map

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

export*from"./css.js";export*from"./colors.js";export*from"./fontWeights.js";export*from"./fontSizes.js";export*from"./borderRadius.js";export*from"./dark_theme.js";export*from"./sizes.js";export*from"./shadows.js";export*from"./PikasUIProvider/index.js";export*from"./hooks/index.js";
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _createStarExport(obj) { Object.keys(obj) .filter((key) => key !== "default" && key !== "__esModule") .forEach((key) => { if (exports.hasOwnProperty(key)) { return; } Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]}); }); }var _cssjs = require('./css.js'); _createStarExport(_cssjs);var _colorsjs = require('./colors.js'); _createStarExport(_colorsjs);var _fontWeightsjs = require('./fontWeights.js'); _createStarExport(_fontWeightsjs);var _fontSizesjs = require('./fontSizes.js'); _createStarExport(_fontSizesjs);var _borderRadiusjs = require('./borderRadius.js'); _createStarExport(_borderRadiusjs);var _dark_themejs = require('./dark_theme.js'); _createStarExport(_dark_themejs);var _sizesjs = require('./sizes.js'); _createStarExport(_sizesjs);var _shadowsjs = require('./shadows.js'); _createStarExport(_shadowsjs);var _indexjs = require('./PikasUIProvider/index.js'); _createStarExport(_indexjs);var _indexjs3 = require('./hooks/index.js'); _createStarExport(_indexjs3);
//# sourceMappingURL=index.js.map

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

const p={"XX-SMALL":"0.2px","X-SMALL":"0.3px",SMALL:"0.5px",MEDIUM:"1px",LARGE:"1.5px","X-LARGE":"2px","XX-LARGE":"3px"};export{p as LetterSpacings};
"use strict";Object.defineProperty(exports, "__esModule", {value: true});const p={"XX-SMALL":"0.2px","X-SMALL":"0.3px",SMALL:"0.5px",MEDIUM:"1px",LARGE:"1.5px","X-LARGE":"2px","XX-LARGE":"3px"};exports.LetterSpacings = p;
//# sourceMappingURL=letterSpacings.js.map

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

const e={"EM-XXX-SMALL":"0.3em","EM-XX-SMALL":"0.5em","EM-X-SMALL":"0.7em","EM-SMALL":"0.9em","EM-MEDIUM":"1em","EM-LARGE":"1.1em","EM-X-LARGE":"1.3em","EM-XX-LARGE":"1.5em","EM-XXX-LARGE":"2em","REM-XXX-SMALL":"0.3rem","REM-XX-SMALL":"0.5rem","REM-X-SMALL":"0.7rem","REM-SMALL":"0.9rem","REM-MEDIUM":"1rem","REM-LARGE":"1.1rem","REM-X-LARGE":"1.3rem","REM-XX-LARGE":"1.5rem","REM-XXX-LARGE":"2rem"};export{e as LineHeights};
"use strict";Object.defineProperty(exports, "__esModule", {value: true});const e={"EM-XXX-SMALL":"0.3em","EM-XX-SMALL":"0.5em","EM-X-SMALL":"0.7em","EM-SMALL":"0.9em","EM-MEDIUM":"1em","EM-LARGE":"1.1em","EM-X-LARGE":"1.3em","EM-XX-LARGE":"1.5em","EM-XXX-LARGE":"2em","REM-XXX-SMALL":"0.3rem","REM-XX-SMALL":"0.5rem","REM-X-SMALL":"0.7rem","REM-SMALL":"0.9rem","REM-MEDIUM":"1rem","REM-LARGE":"1.1rem","REM-X-LARGE":"1.3rem","REM-XX-LARGE":"1.5rem","REM-XXX-LARGE":"2rem"};exports.LineHeights = e;
//# sourceMappingURL=lineHeights.js.map

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

export*from"./PikasUIProvider.js";
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _createStarExport(obj) { Object.keys(obj) .filter((key) => key !== "default" && key !== "__esModule") .forEach((key) => { if (exports.hasOwnProperty(key)) { return; } Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]}); }); }var _PikasUIProviderjs = require('./PikasUIProvider.js'); _createStarExport(_PikasUIProviderjs);
//# sourceMappingURL=index.js.map
import react__default from 'react';
import { createTheme, theme } from '../css.js';
import usehooks from 'usehooks-ts';
import * as usehooks from 'usehooks-ts';
import '@stitches/react/types/theme.js';

@@ -5,0 +5,0 @@ import '@stitches/react/types/css.js';

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

import{jsx as r}from"react/jsx-runtime";import{createContext as p,useContext as d,useEffect as m,useState as f}from"react";import{styled as u,theme as P}from"../css.js";import C from"lodash.merge";import h from"lodash.clonedeep";import y from"usehooks-ts";const{useTernaryDarkMode:s,useSsr:k}=y,i=p(void 0),S=({lightTheme:e,darkTheme:t,children:o})=>{const[a,c]=f(void 0),{isDarkMode:n}=s();return m(()=>{c(C(h(P),n?t:e))},[n,e,t]),r(i.Provider,{value:a,children:r(l,{children:o})})},x=u("div",{width:"auto",height:"fit-content"}),l=({children:e})=>{const t=d(i),{isBrowser:o}=k();return r(x,{className:o?t:void 0,children:e})};export{i as PikasUIContext,S as PikasUIProvider,s as useTernaryDarkMode};
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _jsxruntime = require('react/jsx-runtime');var _react = require('react');var _cssjs = require('../css.js');var _lodashmerge = require('lodash.merge'); var _lodashmerge2 = _interopRequireDefault(_lodashmerge);var _lodashclonedeep = require('lodash.clonedeep'); var _lodashclonedeep2 = _interopRequireDefault(_lodashclonedeep);var _usehooksts = require('usehooks-ts'); var y = _interopRequireWildcard(_usehooksts);const{useTernaryDarkMode:s,useSsr:k}=y,a= exports.PikasUIContext =_react.createContext.call(void 0, void 0),D= exports.PikasUIProvider =({lightTheme:e,darkTheme:t,children:o})=>{const[i,c]=_react.useState.call(void 0, void 0),{isDarkMode:n}=s();return _react.useEffect.call(void 0, ()=>{c(_lodashmerge2.default.call(void 0, _lodashclonedeep2.default.call(void 0, _cssjs.theme),n?t:e))},[n,e,t]),_jsxruntime.jsx.call(void 0, a.Provider,{value:i,children:_jsxruntime.jsx.call(void 0, l,{children:o})})},x=_cssjs.styled.call(void 0, "div",{width:"auto",height:"fit-content"}),l=({children:e})=>{const t=_react.useContext.call(void 0, a),{isBrowser:o}=k();return _jsxruntime.jsx.call(void 0, x,{className:o?t:void 0,children:e})};exports.PikasUIContext = a; exports.PikasUIProvider = D; exports.useTernaryDarkMode = s;
//# sourceMappingURL=PikasUIProvider.js.map

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

const e={};export{e as Radii};
"use strict";Object.defineProperty(exports, "__esModule", {value: true});const e={};exports.Radii = e;
//# sourceMappingURL=radii.js.map

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

const p={ELEVATION_1:"0px 0px 4px rgba(0, 0, 0, 0.20)",ELEVATION_2:"0px 0px 8px rgba(0, 0, 0, 0.20)",ELEVATION_3:"0px 0px 16px rgba(0, 0, 0, 0.20)",ELEVATION_4:"0px 0px 32px rgba(0, 0, 0, 0.20)",ELEVATION_TOP_1:"0px -2px 4px rgba(0, 0, 0, 0.20)",ELEVATION_TOP_2:"0px -4px 4px rgba(0, 0, 0, 0.20)",ELEVATION_TOP_3:"0px -4px 8px rgba(0, 0, 0, 0.20)",ELEVATION_TOP_4:"0px -8px 16px rgba(0, 0, 0, 0.20)",ELEVATION_TOP_5:"0px -8px 32px rgba(0, 0, 0, 0.20)",ELEVATION_TOP_6:"0px -16px 32px rgba(0, 0, 0, 0.20)",ELEVATION_BOTTOM_1:"0px 2px 4px rgba(0, 0, 0, 0.20)",ELEVATION_BOTTOM_2:"0px 4px 4px rgba(0, 0, 0, 0.20)",ELEVATION_BOTTOM_3:"0px 4px 8px rgba(0, 0, 0, 0.20)",ELEVATION_BOTTOM_4:"0px 8px 16px rgba(0, 0, 0, 0.20)",ELEVATION_BOTTOM_5:"0px 8px 32px rgba(0, 0, 0, 0.20)",ELEVATION_BOTTOM_6:"0px 16px 32px rgba(0, 0, 0, 0.20)",DIMINUTION_1:"inset 0px 1px 4px rgba(0, 0, 0, 0.20)",DIMINUTION_2:"inset 0px 1px 4px rgba(0, 0, 0, 0.20)",DIMINUTION_3:"inset 0px 1px 8px rgba(0, 0, 0, 0.20)",DIMINUTION_4:"inset 0px 1px 16px rgba(0, 0, 0, 0.20)",DIMINUTION_5:"inset 0px 1px 24px rgba(0, 0, 0, 0.20)"};export{p as Shadows};
"use strict";Object.defineProperty(exports, "__esModule", {value: true});const p={ELEVATION_1:"0px 0px 4px rgba(0, 0, 0, 0.20)",ELEVATION_2:"0px 0px 8px rgba(0, 0, 0, 0.20)",ELEVATION_3:"0px 0px 16px rgba(0, 0, 0, 0.20)",ELEVATION_4:"0px 0px 32px rgba(0, 0, 0, 0.20)",ELEVATION_TOP_1:"0px -2px 4px rgba(0, 0, 0, 0.20)",ELEVATION_TOP_2:"0px -4px 4px rgba(0, 0, 0, 0.20)",ELEVATION_TOP_3:"0px -4px 8px rgba(0, 0, 0, 0.20)",ELEVATION_TOP_4:"0px -8px 16px rgba(0, 0, 0, 0.20)",ELEVATION_TOP_5:"0px -8px 32px rgba(0, 0, 0, 0.20)",ELEVATION_TOP_6:"0px -16px 32px rgba(0, 0, 0, 0.20)",ELEVATION_BOTTOM_1:"0px 2px 4px rgba(0, 0, 0, 0.20)",ELEVATION_BOTTOM_2:"0px 4px 4px rgba(0, 0, 0, 0.20)",ELEVATION_BOTTOM_3:"0px 4px 8px rgba(0, 0, 0, 0.20)",ELEVATION_BOTTOM_4:"0px 8px 16px rgba(0, 0, 0, 0.20)",ELEVATION_BOTTOM_5:"0px 8px 32px rgba(0, 0, 0, 0.20)",ELEVATION_BOTTOM_6:"0px 16px 32px rgba(0, 0, 0, 0.20)",DIMINUTION_1:"inset 0px 1px 4px rgba(0, 0, 0, 0.20)",DIMINUTION_2:"inset 0px 1px 4px rgba(0, 0, 0, 0.20)",DIMINUTION_3:"inset 0px 1px 8px rgba(0, 0, 0, 0.20)",DIMINUTION_4:"inset 0px 1px 16px rgba(0, 0, 0, 0.20)",DIMINUTION_5:"inset 0px 1px 24px rgba(0, 0, 0, 0.20)"};exports.Shadows = p;
//# sourceMappingURL=shadows.js.map

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

const p={1:"1px",2:"2px",3:"4px",4:"8px",5:"16px",6:"24px",7:"32px",8:"40px",9:"48px",10:"56px",11:"64px",12:"72px",13:"80px"};export{p as Sizes};
"use strict";Object.defineProperty(exports, "__esModule", {value: true});const p={1:"1px",2:"2px",3:"4px",4:"8px",5:"16px",6:"24px",7:"32px",8:"40px",9:"48px",10:"56px",11:"64px",12:"72px",13:"80px"};exports.Sizes = p;
//# sourceMappingURL=sizes.js.map

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

const p={1:"1px",2:"2px",3:"4px",4:"8px",5:"16px",6:"24px",7:"32px",8:"40px",9:"48px",10:"56px",11:"64px",12:"72px",13:"80px"};export{p as Space};
"use strict";Object.defineProperty(exports, "__esModule", {value: true});const p={1:"1px",2:"2px",3:"4px",4:"8px",5:"16px",6:"24px",7:"32px",8:"40px",9:"48px",10:"56px",11:"64px",12:"72px",13:"80px"};exports.Space = p;
//# sourceMappingURL=space.js.map

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

const o={};export{o as Transitions};
"use strict";Object.defineProperty(exports, "__esModule", {value: true});const o={};exports.Transitions = o;
//# sourceMappingURL=transitions.js.map

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

const X={"XXX-LOW":-1e3,"XX-LOW":-100,"X-LOW":-10,LOW:-1,MEDIUM:0,HIGH:1,"X-HIGH":10,"XX-HIGH":100,"XXX-HIGH":1e3,MAX:2147483647};export{X as ZIndices};
"use strict";Object.defineProperty(exports, "__esModule", {value: true});const X={"XXX-LOW":-1e3,"XX-LOW":-100,"X-LOW":-10,LOW:-1,MEDIUM:0,HIGH:1,"X-HIGH":10,"XX-HIGH":100,"XXX-HIGH":1e3,MAX:2147483647};exports.ZIndices = X;
//# sourceMappingURL=zIndices.js.map
{
"name": "@pikas-ui/styles",
"version": "2.3.9",
"version": "2.3.10",
"private": false,
"description": "",
"license": "MIT",
"type": "module",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./dist/*": {
"import": "./dist/*.js",
"require": "./dist/*.cjs",
"import": "./dist/*.mjs",
"require": "./dist/*.js",
"types": "./dist/*.d.ts"

@@ -19,0 +18,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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