import{r as e}from"./storybook-prebuilt-ffd48f81.js";import{w as o}from"./storybook-prebuilt-42528445.js";import{r}from"./storybook-prebuilt-e4f23f3e.js";var t={};Object.defineProperty(t,"__esModule",{value:!0}),t.typography=t.background=t.color=void 0;var a={primary:"#FF4785",secondary:"#1EA7FD",tertiary:"#FAFBFC",ancillary:"#22a699",orange:"#FC521F",gold:"#FFAE00",green:"#66BF3C",seafoam:"#37D5D3",purple:"#6F2CAC",ultraviolet:"#2A0481",lightest:"#FFFFFF",lighter:"#F8F8F8",light:"#F3F3F3",mediumlight:"#EEEEEE",medium:"#DDDDDD",mediumdark:"#999999",dark:"#666666",darker:"#444444",darkest:"#333333",border:"rgba(0,0,0,.1)",positive:"#66BF3C",negative:"#FF4400",warning:"#E69D00",critical:"#FFFFFF",defaultText:"#333333",inverseText:"#FFFFFF"};t.color=a;var l={app:"#F6F9FC",bar:"#FFFFFF",content:a.lightest,gridCellSize:10,hoverable:"rgba(0,0,0,.05)",positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"};t.background=l;var n={fonts:{base:['"Nunito Sans"',"-apple-system",'".SFNSText-Regular"','"San Francisco"',"BlinkMacSystemFont",'"Segoe UI"','"Helvetica Neue"',"Helvetica","Arial","sans-serif"].join(", "),mono:['"Operator Mono"','"Fira Code Retina"','"Fira Code"','"FiraCode-Retina"','"Andale Mono"','"Lucida Console"',"Consolas","Monaco","monospace"].join(", ")},weight:{regular:400,bold:700,black:900},size:{s1:12,s2:14,s3:16,m1:20,m2:24,m3:28,l1:32,l2:40,l3:48,code:90}};t.typography=n;var i={},d={};Object.defineProperty(d,"__esModule",{value:!0}),d.default=void 0;var c=t,s={base:"light",colorPrimary:"#FF4785",colorSecondary:"#1EA7FD",appBg:c.background.app,appContentBg:c.color.lightest,appBorderColor:c.color.border,appBorderRadius:4,fontBase:c.typography.fonts.base,fontCode:c.typography.fonts.mono,textColor:c.color.darkest,textInverseColor:c.color.lightest,textMutedColor:c.color.dark,barTextColor:c.color.mediumdark,barSelectedColor:c.color.secondary,barBg:c.color.lightest,inputBg:c.color.lightest,inputBorder:c.color.border,inputTextColor:c.color.darkest,inputBorderRadius:4};d.default=s;var u={};Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=t,F={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#1EA7FD",appBg:"#2f2f2f",appContentBg:p.color.darkest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:p.typography.fonts.base,fontCode:p.typography.fonts.mono,textColor:p.color.lightest,textInverseColor:p.color.darkest,textMutedColor:p.color.mediumdark,barTextColor:"#999999",barSelectedColor:p.color.secondary,barBg:p.color.darkest,inputBg:"#3f3f3f",inputBorder:"rgba(0,0,0,.3)",inputTextColor:p.color.lightest,inputBorderRadius:4};u.default=F;var f={};Object.defineProperty(f,"__esModule",{value:!0}),f.getPreferredColorScheme=f.darkenColor=f.lightenColor=f.mkColor=void 0;var g,b=e,m=(g=o)&&g.__esModule?g:{default:g},y=r;function C(e){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var h=m.default.window;f.mkColor=function(e){return{color:e}};var v=function(e){return function(o){if(!function(e){return"string"==typeof e||(y.logger.warn("Color passed to theme object should be a string. Instead "+"".concat(e,"(").concat(C(e),") was passed.")),!1)}(o))return o;if(!function(e){return!/(gradient|var|calc)/.test(e)}(o))return o;try{return function(e,o){return"darken"===e?(0,b.rgba)("".concat((0,b.darken)(1,o)),.95):"lighten"===e?(0,b.rgba)("".concat((0,b.lighten)(1,o)),.95):o}(e,o)}catch(e){return o}}},k=v("lighten");f.lightenColor=k;var B=v("darken");f.darkenColor=B;f.getPreferredColorScheme=function(){return h&&h.matchMedia&&h.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"},Object.defineProperty(i,"__esModule",{value:!0}),i.create=i.themes=void 0;var S=x(d),D=x(u),M=f;function x(e){return e&&e.__esModule?e:{default:e}}var E={light:S.default,dark:D.default,normal:S.default};i.themes=E;var _=(0,M.getPreferredColorScheme)();i.create=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{base:_},o=arguments.length>1?arguments[1]:void 0,r=Object.assign({},E[_],E[e.base]||{},e,{base:E[e.base]?e.base:_});return Object.assign({},o,r,{barSelectedColor:e.barSelectedColor||r.colorSecondary})};export{t as b,i as c,d as l,f as u};
//# sourceMappingURL=storybook-prebuilt-61b3551d.js.map
