UNPKG

emotion-tailwind-preflight

Version:

TailwindCSS Preflight file for emotion CSS-in-JS library

16 lines (11 loc) 4.08 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _react = require("@emotion/react"); var _templateObject; function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } var preflight = (0, _react.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\n:root {\n -moz-tab-size: 4;\n tab-size: 4;\n}\nhtml {\n line-height: 1.15; \n -webkit-text-size-adjust: 100%; \n}\nbody {\n margin: 0;\n}\nbody {\n font-family:\n\t\tsystem-ui,\n\t\t-apple-system, \n\t\t'Segoe UI',\n\t\tRoboto,\n\t\tHelvetica,\n\t\tArial,\n\t\tsans-serif,\n\t\t'Apple Color Emoji',\n\t\t'Segoe UI Emoji';\n}\nhr {\n height: 0; \n color: inherit; \n}\nabbr[title] {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\nb,\nstrong {\n font-weight: bolder;\n}\ncode,\nkbd,\nsamp,\npre {\n font-family:\n\t\tui-monospace,\n\t\tSFMono-Regular,\n\t\tConsolas,\n\t\t'Liberation Mono',\n\t\tMenlo,\n\t\tmonospace; \n font-size: 1em; \n}\nsmall {\n font-size: 80%;\n}\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\nsub {\n bottom: -0.25em;\n}\nsup {\n top: -0.5em;\n}\ntable {\n text-indent: 0; \n border-color: inherit; \n}\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; \n font-size: 100%; \n line-height: 1.15; \n margin: 0; \n}\nbutton,\nselect { \n text-transform: none;\n}\nbutton,\n[type='button'],\n[type='reset'],\n[type='submit'] {\n -webkit-appearance: button;\n}\n::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n:-moz-ui-invalid {\n box-shadow: none;\n}\nlegend {\n padding: 0;\n}\nprogress {\n vertical-align: baseline;\n}\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n[type='search'] {\n -webkit-appearance: textfield; \n outline-offset: -2px; \n}\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n::-webkit-file-upload-button {\n -webkit-appearance: button; \n font: inherit; \n}\nsummary {\n display: list-item;\n}\nblockquote,\ndl,\ndd,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nfigure,\np,\npre {\n margin: 0;\n}\nbutton {\n background-color: transparent;\n background-image: none;\n}\nbutton:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n}\nfieldset {\n margin: 0;\n padding: 0;\n}\nol,\nul {\n list-style: none;\n margin: 0;\n padding: 0;\n}\nhtml {\n font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"; \n line-height: 1.5; \n}\nbody {\n font-family: inherit;\n line-height: inherit;\n}\n*,\n::before,\n::after {\n box-sizing: border-box; \n border-width: 0; \n border-style: solid; \n border-color: #e5e7eb; \n}\nhr {\n border-top-width: 1px;\n}\nimg {\n border-style: solid;\n}\ntextarea {\n resize: vertical;\n}\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1;\n color: #9ca3af;\n}\nbutton,\n[role=\"button\"] {\n cursor: pointer;\n}\ntable {\n border-collapse: collapse;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\na {\n color: inherit;\n text-decoration: inherit;\n}\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n padding: 0;\n line-height: inherit;\n color: inherit;\n}\npre,\ncode,\nkbd,\nsamp {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n}\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block;\n vertical-align: middle;\n}\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n"]))); var _default = preflight; exports["default"] = _default;