diff options
author | Bryan Stitt <bryan@stitthappens.com> | 2018-11-12 07:13:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-12 07:13:09 +0800 |
commit | 0101cd73aa87fecc72cc816c6c26af028afd569c (patch) | |
tree | 637a87a6ea98e59036cf2537367186b8b4133c9d /packages/instant/src/components/css_reset.tsx | |
parent | 6ef628613e658e90a06cbe5e34f119082e06678e (diff) | |
parent | 397b4e289015f9bb0831c1a0ce6fee601670b487 (diff) | |
download | dexon-sol-tools-0101cd73aa87fecc72cc816c6c26af028afd569c.tar dexon-sol-tools-0101cd73aa87fecc72cc816c6c26af028afd569c.tar.gz dexon-sol-tools-0101cd73aa87fecc72cc816c6c26af028afd569c.tar.bz2 dexon-sol-tools-0101cd73aa87fecc72cc816c6c26af028afd569c.tar.lz dexon-sol-tools-0101cd73aa87fecc72cc816c6c26af028afd569c.tar.xz dexon-sol-tools-0101cd73aa87fecc72cc816c6c26af028afd569c.tar.zst dexon-sol-tools-0101cd73aa87fecc72cc816c6c26af028afd569c.zip |
Merge branch 'development' into patch-1
Diffstat (limited to 'packages/instant/src/components/css_reset.tsx')
-rw-r--r-- | packages/instant/src/components/css_reset.tsx | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/packages/instant/src/components/css_reset.tsx b/packages/instant/src/components/css_reset.tsx new file mode 100644 index 000000000..0bef85389 --- /dev/null +++ b/packages/instant/src/components/css_reset.tsx @@ -0,0 +1,32 @@ +import { INJECTED_DIV_CLASS } from '../constants'; +import { createGlobalStyle } from '../style/theme'; + +export interface CSSResetProps {} + +/* +* Derived from +* https://github.com/jtrost/Complete-CSS-Reset +*/ +export const CSSReset = createGlobalStyle` + .${INJECTED_DIV_CLASS} { + a, abbr, area, article, aside, audio, b, bdo, blockquote, body, button, + canvas, caption, cite, code, col, colgroup, command, datalist, dd, del, + details, dialog, dfn, div, dl, dt, em, embed, fieldset, figure, form, + h1, h2, h3, h4, h5, h6, head, header, hgroup, hr, html, i, iframe, img, + input, ins, keygen, kbd, label, legend, li, map, mark, menu, meter, nav, + noscript, object, ol, optgroup, option, output, p, param, pre, progress, + q, rp, rt, ruby, samp, section, select, small, span, strong, sub, sup, + table, tbody, td, textarea, tfoot, th, thead, time, tr, ul, var, video { + background: transparent; + border: 0; + font-size: 100%; + font: inherit; + margin: 0; + outline: none; + padding: 0; + text-align: left; + text-decoration: none; + vertical-align: baseline; + } + } +`; |