1.1.3 • Published 6 years ago

designkit-typography v1.1.3

Weekly downloads
28
License
MIT
Repository
github
Last release
6 years ago

designkit-typography

1.1.3

Sass module for typography at RightScale.

Install

npm i --save designkit-typography

CSS

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  letter-spacing: 0;
  font-weight: 400;
  font-style: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #111;
  margin: 0;
  line-height: 1.5;
}

h1, h2, h3,
h4, h5, h6 {
  font-family: "Bariol", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 1em;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1rem;
}

h5 {
  font-size: .875rem;
}

h6 {
  font-size: .75rem;
}

p, dl, ol, ul, pre, blockquote {
  margin-top: 1em;
  margin-bottom: 1em;
}

code,
pre,
samp {
  font-family: "Roboto Mono", "Source Code Pro", Menlo, Consolas, "Liberation Mono", monospace;
}

code, samp {
  font-size: 87.5%;
  padding: .125em;
}

pre {
  font-size: 87.5%;
  overflow: auto;
}

blockquote {
  font-size: 1.25rem;
  font-style: italic;
  margin-left: 0;
}

hr {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
  border: 0;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #ccc;
}

.sans {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.headline {
  font-family: "Bariol", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.mono {
  font-family: "Roboto Mono", "Source Code Pro", Menlo, Consolas, "Liberation Mono", monospace;
}

.sans-light {
  font-weight: 700;
}

.sans-regular {
  font-weight: 400;
}

.sans-medium {
  font-weight: 500;
}

.sans-semibold {
  font-weight: 600;
}

.sans-bold {
  font-weight: 700;
}

.headline-light {
  font-weight: 300;
}

.headline-regular {
  font-weight: 400;
}

.headline-bold {
  font-weight: 400;
}

.f1 {
  font-size: 2rem;
}

.f2 {
  font-size: 1.5rem;
}

.f3 {
  font-size: 1.25rem;
}

.f4 {
  font-size: 1rem;
}

.f5 {
  font-size: 0.875rem;
}

.f6 {
  font-size: 0.75rem;
}

.fs-xsmall {
  font-size: 11px;
}

.fs-small {
  font-size: 12px;
}

.fs-body {
  font-size: 13px;
}

.fs-large {
  font-size: 16px;
}

.fs-xlarge {
  font-size: 18px;
}

.font-family-inherit {
  font-family: inherit;
}

.font-size-inherit {
  font-size: inherit;
}

.text-decoration-none {
  text-decoration: none;
}

.bold {
  font-weight: bold;
}

.regular {
  font-weight: normal;
}

.italic {
  font-style: italic;
}

.caps {
  text-transform: uppercase;
  letter-spacing: 1;
}

.left-align {
  text-align: left;
}

.center {
  text-align: center;
}

.right-align {
  text-align: right;
}

.justify {
  text-align: justify;
}

.nowrap {
  white-space: nowrap;
}

.break-word {
  word-wrap: break-word;
}

.line-height-1 {
  line-height: 1;
}

.line-height-2 {
  line-height: 1.125;
}

.line-height-3 {
  line-height: 1.25;
}

.line-height-4 {
  line-height: 1.5;
}

.list-style-none {
  list-style: none;
}

.underline {
  text-decoration: underline;
}

Author

Jason Melgoza

License

MIT

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago