1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-28 14:10:04 +02:00
copilot/packages/normalized-styled-components
2017-06-07 10:27:33 +01:00
..
src chore: initial lerna setup 2017-05-25 10:56:50 +01:00
test ci: better run-parallel error log 2017-06-01 17:04:13 +01:00
.babelrc chore: initial lerna setup 2017-05-25 10:56:50 +01:00
.eslintignore chore: initial lerna setup 2017-05-25 10:56:50 +01:00
.eslintrc chore: initial lerna setup 2017-05-25 10:56:50 +01:00
.stylelintrc chore: initial lerna setup 2017-05-25 10:56:50 +01:00
.tern-project chore: initial lerna setup 2017-05-25 10:56:50 +01:00
CHANGELOG.md chore: publish 2017-05-25 16:07:31 +01:00
package.json test(joyent-cp-frontend): bootstrap unit tests 2017-06-07 10:27:33 +01:00
README.md docs: add container badges 2017-05-31 22:35:35 +01:00
yarn.lock chore: different test targets for CI 2017-05-31 20:04:12 +01:00

normalized-styled-components

License: MPL 2.0 npm standard-readme compliant

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