mirror of
https://github.com/yldio/copilot.git
synced 2024-11-10 21:30:06 +02:00
c45fb3ce41
- cloudapi-gql@1.0.3 - joyent-cp-frontend@1.0.3 - joyent-cp-gql-mock-server@1.0.3 - joyent-cp-gql-schema@1.0.3 - joyent-cp-rdb-bootstrap@1.0.3 - normalized-styled-components@1.0.4 - pseudo-json-ast@1.0.5 - pseudo-yaml-ast@1.0.5 - remcalc@1.0.4 - rnd-id@1.0.4 - styled-is@1.0.6 - joyent-ui-toolkit@1.0.3 - unitcalc@1.0.4 |
||
---|---|---|
.. | ||
src | ||
test | ||
.babelrc | ||
.eslintignore | ||
.eslintrc | ||
.stylelintrc | ||
.tern-project | ||
CHANGELOG.md | ||
package.json | ||
README.md | ||
yarn.lock |
normalized-styled-components
normalize.css
with a styled-components
mindset.
Table of Contents
Install
yarn add --dev normalized-styled-components
Usage
import { Button } from 'normalized-styled-components';
export default () => (
<Button>Click Here!</Button>
)
.jdhBdT {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
text-transform: none;
appearance: button;
-moz-appearance: button;
-webkit-appearance: button;
}
.jdhBdT::-moz-focus-inner,
.jdhBdT[type="button"]::-moz-focus-inner,
.jdhBdT[type="reset"]::-moz-focus-inner,
.jdhBdT[type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0;
}
.jdhBdT:-moz-focusring,
.jdhBdT[type="button"]:-moz-focusring,
.jdhBdT[type="reset"]:-moz-focusring,
.jdhBdT[type="submit"]:-moz-focusring {
outline: 0.0625rem dotted ButtonText;
}
<button className="bgTKnx">Click Here!</button>
License
MPL-2.0