@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
1 lines • 4.82 kB
Source Map (JSON)
{"version":3,"file":"reset-style.cjs","names":["defineStyles"],"sources":["../../../../src/theme/styles/reset-style.ts"],"sourcesContent":["import { defineStyles } from \"../../core\"\n\nexport const resetStyle = defineStyles.resetStyle({\n \"*, *::before, *::after\": {\n boxSizing: \"border-box\",\n margin: 0,\n padding: 0,\n },\n\n \"::-webkit-file-upload-button\": {\n font: \"inherit\",\n WebkitAppearance: \"button\",\n },\n\n \"::-webkit-search-cancel-button, ::-webkit-search-decoration\": {\n WebkitAppearance: \"none\",\n },\n\n \"[contenteditable]\": {\n outline: \"none\",\n },\n\n \"[hidden]:where(:not([hidden='until-found']))\": {\n display: \"none !important\",\n },\n\n \"[type='time']::-webkit-calendar-picker-indicator\": {\n display: \"none\",\n },\n\n a: {\n color: \"inherit\",\n textDecoration: \"none\",\n },\n\n \"abbr[title]\": {\n textDecoration: \"underline dotted\",\n },\n\n \"b, strong\": {\n fontWeight: \"bolder\",\n },\n\n \"button, input, optgroup, select, textarea\": {\n appearance: \"none\",\n backgroundColor: \"transparent\",\n border: 0,\n borderRadius: 0,\n color: \"inherit\",\n font: \"inherit\",\n fontFeatureSettings: \"inherit\",\n fontVariationSettings: \"inherit\",\n letterSpacing: \"inherit\",\n outline: 0,\n WebkitAppearance: \"none\",\n },\n\n \"code, kbd, samp, pre\": {\n fontFamily: \"inherit\",\n fontSize: \"1em\",\n },\n\n fieldset: {\n border: 0,\n minWidth: 0,\n },\n\n \"h1, h2, h3, h4, h5, h6\": {\n fontSize: \"inherit\",\n fontWeight: \"inherit\",\n },\n\n hr: {\n blockSize: 0,\n border: \"none\",\n borderBlockStart: \"1px solid\",\n color: \"inherit\",\n overflow: \"visible\",\n },\n\n html: {\n fontFamily:\n \"system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'\",\n lineHeight: 1.5,\n WebkitTapHighlightColor: \"transparent\",\n WebkitTextSizeAdjust: \"100%\",\n },\n\n \"img, svg, video, canvas, audio, iframe, embed, object\": {\n display: \"block\",\n },\n\n \"input[type='number']::-webkit-inner-spin-button, input[type='number']::-webkit-outer-spin-button\":\n {\n display: \"none\",\n },\n\n \"input[type='search']\": {\n outlineOffset: \"-2px\",\n },\n\n legend: {\n display: \"table\",\n float: \"left\",\n width: \"100%\",\n },\n\n mark: {\n backgroundColor: \"inherit\",\n color: \"inherit\",\n },\n\n progress: {\n verticalAlign: \"baseline\",\n },\n\n small: {\n fontSize: \"80%\",\n },\n\n sub: {\n bottom: \"-0.25em\",\n },\n\n \"sub, sup\": {\n fontSize: \"75%\",\n lineHeight: 0,\n position: \"relative\",\n verticalAlign: \"baseline\",\n },\n\n summary: {\n display: \"list-item\",\n },\n\n sup: {\n top: \"-0.5em\",\n },\n\n \"ul, ol\": {\n listStyle: \"none\",\n },\n\n \"@media (prefers-reduced-motion: no-preference)\": {\n \":where(html:focus-within)\": {\n scrollBehavior: \"smooth\",\n },\n },\n\n \":where(html:has(dialog:modal[open]))\": {\n overflow: \"clip\",\n },\n\n \":where(dialog, [popover])\": {\n background: \"none\",\n border: \"none\",\n color: \"inherit\",\n inset: \"unset\",\n maxHeight: \"unset\",\n maxWidth: \"unset\",\n overflow: \"unset\",\n },\n\n \":where(dialog:not([open], [popover]), [popover]:not(:popover-open))\": {\n display: \"none !important\",\n },\n})\n"],"mappings":";;;AAEA,MAAa,aAAaA,4BAAa,WAAW;CAChD,0BAA0B;EACxB,WAAW;EACX,QAAQ;EACR,SAAS;EACV;CAED,gCAAgC;EAC9B,MAAM;EACN,kBAAkB;EACnB;CAED,+DAA+D,EAC7D,kBAAkB,QACnB;CAED,qBAAqB,EACnB,SAAS,QACV;CAED,gDAAgD,EAC9C,SAAS,mBACV;CAED,oDAAoD,EAClD,SAAS,QACV;CAED,GAAG;EACD,OAAO;EACP,gBAAgB;EACjB;CAED,eAAe,EACb,gBAAgB,oBACj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