UNPKG

@braineet/ui

Version:

Braineet design system

38 lines (37 loc) 4.7 kB
// stylelint-disable property-no-vendor-prefix import { memo } from 'react'; import { createGlobalStyle } from 'styled-components'; import DatePickerDefaultStyles from '../datepicker/styles/DatePickerGlobal.styles'; export default /*#__PURE__*/memo(createGlobalStyle(["html,body{background-color:", ";box-sizing:border-box;margin:0;padding:0;height:100%;font-family:", ";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;color:", ";fill:", ";}h1,h2,h3,h4,h5,h6{font-family:", ";}*,*::before,*::after{box-sizing:inherit;}*:focus:not(:disabled),.focus-visible{outline-offset:2px;outline:2px solid ", ";}*:focus:not(:focus-visible){outline:none;}.focus-visible:not(:focus-visible){outline:none;border:2px solid ", ";}.focus-visible:not(:focus-visible,input,textarea,select){border:none;outline-offset:2px;outline:2px solid ", ";}input:focus:not(:disabled),textarea:focus:not(:disabled),select:focus:not(:disabled){outline:none;border:2px solid ", ";}::selection{color:", ";background-color:", ";}a{text-decoration:none;}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;vertical-align:baseline;}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}body{line-height:1;}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}input[type='search']::-webkit-search-cancel-button,input[type='search']::-webkit-search-decoration,input[type='search']::-webkit-search-results-button,input[type='search']::-webkit-search-results-decoration{appearance:none;}textarea{overflow:auto;vertical-align:top;resize:vertical;}audio,canvas,video{display:inline-block;*display:inline;*zoom:1;max-width:100%;}audio:not([controls]){display:none;height:0;}[hidden]{display:none;}html{font-size:100%;text-size-adjust:100%;}img{border:0;-ms-interpolation-mode:bicubic;}figure{margin:0;}form{margin:0;}legend{border:0;padding:0;white-space:normal;*margin-left:-7px;}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle;}button,input{line-height:normal;}button,select{text-transform:none;}button,html input[type=\"button\"],input[type=\"reset\"],input[type=\"submit\"]{appearance:button;cursor:pointer;*overflow:visible;}input[type='checkbox'],input[type='radio']{box-sizing:border-box;padding:0;}input[type='search']{appearance:textfield;box-sizing:content-box;}input[type='search']::-webkit-search-cancel-button,input[type='search']::-webkit-search-decoration{appearance:none;}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}html,button,input,select,textarea{color:", ";}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{appearance:none;margin:0;}input[type='number']{appearance:textfield;}::-moz-selection{background:", ";text-shadow:none;}fieldset{border:0;margin:0;padding:0;}.chromeframe{margin:0.2em 0;background:", ";color:", ";padding:0.2em 0;}strong{font-weight:bold;}em{font-style:italic;}button{border:none;&::-moz-focus-inner{border:0;}}.sr-only{border:0 !important;clip:rect(1px,1px,1px,1px) !important;clip-path:inset(50%) !important;height:1px !important;overflow:hidden !important;padding:0 !important;position:absolute !important;width:1px !important;white-space:nowrap !important;}", ""], function (props) { return props.theme.colors.background.gray; }, function (props) { return props.theme.helpers.getFontFamily('text'); }, function (props) { return props.theme.colors.text.default; }, function (props) { return props.theme.colors.text.default; }, function (props) { return props.theme.helpers.getFontFamily('display'); }, function (p) { return p.theme.colors.brand; }, function (p) { return p.theme.colors.brand; }, function (p) { return p.theme.colors.brand; }, function (p) { return p.theme.colors.brand; }, function (props) { return props.theme.colors.white; }, function (props) { return props.theme.colors.brand; }, function (p) { return p.theme.colors.black; }, function (p) { return p.theme.colors.brand; }, function (p) { return p.theme.colors.background.gray; }, function (p) { return p.theme.colors.black; }, DatePickerDefaultStyles), function () { return false; });