Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mvasilkov/systematize
systematize.scss: normalize styles across browsers. Like normalize.css, but with system fonts.
https://github.com/mvasilkov/systematize
normalize-css scss system-fonts
Last synced: 2 months ago
JSON representation
systematize.scss: normalize styles across browsers. Like normalize.css, but with system fonts.
- Host: GitHub
- URL: https://github.com/mvasilkov/systematize
- Owner: mvasilkov
- License: mit
- Created: 2017-10-06T21:29:46.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-03T19:29:47.000Z (over 5 years ago)
- Last Synced: 2024-10-19T06:16:34.729Z (3 months ago)
- Topics: normalize-css, scss, system-fonts
- Language: CSS
- Homepage: https://github.com/mvasilkov/systematize
- Size: 338 KB
- Stars: 59
- Watchers: 4
- Forks: 2
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
systematize.scss: normalize styles across browsers
===Like normalize.css, but with system fonts.
[![npm][npm-image]][npm-url] ![][size-image]
---
**This project is an SCSS version of normalize.css** (`8.0.1` at the time of this writing.)
They share the following functionality:* Normalize styles across browsers
* Preserve useful browser defaults, rather than erasing them
* Correct bugs and common browser inconsistencies
* Improve usability with subtle changesAdditionally, systematize.scss aims to do the following:
* Default to system fonts, and better typography in general
* Be slightly more opinionated while retaining clear focus**Installation**
npm install --save systematize
**Demo**
[CodePen][demo-codepen]
**Variables**
- **$sys-font-stack** System fonts, detailed below
- **$sys-font-stack-mono** Monospaced fonts, detailed below
- **$sys-selection-background** Selection background color, **#b2d7ff**
- **$sys-selection-color** Selection text color (not set by default)
- **$sys-normalize-fonts-inputs** Normalize font properties on form elements (off by default)**System Fonts**
| Font family name | Why
| --- | ---
| `-apple-system` | Apple
| `Segoe UI` | Windows
| `system-ui` | Generic font family
| `Roboto` | Android
| `Helvetica Neue` | Old Apple
| `sans-serif` | Catch-allSegoe UI comes before system-ui for [reasons][system-ui-reasons].
**Monospaced Fonts**
| Font family name | Why
| --- | ---
| `SF Mono` | Apple
| `Ubuntu Mono` | Ubuntu
| `Consolas` | Windows
| `DejaVu Sans Mono` | Bitstream Vera Sans Mono (Linux)
| `Menlo` | Bitstream Vera Sans Mono (Apple)
| `monospace` | Generic font familyThere is no Monaco because Menlo shipped with Mac OS X 10.6 Snow Leopard in 1948.
**Coding Style**
See [Sass Guidelines][sass-guidelines]
[npm-image]: https://img.shields.io/npm/v/systematize.svg?style=flat-square
[npm-url]: https://www.npmjs.com/package/systematize
[size-image]: https://img.shields.io/github/size/mvasilkov/systematize/build/systematize.min.css.svg?style=flat-square
[demo-codepen]: https://codepen.io/mvasilkov/pen/jaQjJZ
[system-ui-reasons]: https://infinnie.github.io/blog/2017/systemui.html
[sass-guidelines]: https://sass-guidelin.es/