3.3.1 • Published 5 years ago

systematize v3.3.1

Weekly downloads
136
License
MIT
Repository
github
Last release
5 years ago

systematize.scss: normalize styles across browsers

Like normalize.css, but with system fonts.

npm


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 changes

Additionally, 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

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 nameWhy
-apple-systemApple
Segoe UIWindows
system-uiGeneric font family
RobotoAndroid
Helvetica NeueOld Apple
sans-serifCatch-all

Segoe UI comes before system-ui for reasons.

Monospaced Fonts

Font family nameWhy
SF MonoApple
Ubuntu MonoUbuntu
ConsolasWindows
DejaVu Sans MonoBitstream Vera Sans Mono (Linux)
MenloBitstream Vera Sans Mono (Apple)
monospaceGeneric font family

There is no Monaco because Menlo shipped with Mac OS X 10.6 Snow Leopard in 1948.

Coding Style

See Sass Guidelines

3.3.1

5 years ago

3.3.0

5 years ago

3.2.4

5 years ago

3.2.3

6 years ago

3.2.2

6 years ago

3.2.1

6 years ago

3.2.0

6 years ago

3.1.0-addons.4

6 years ago

3.1.0-addons.3

6 years ago

3.1.0-addons.2

6 years ago

3.1.0-addons.1

6 years ago

3.1.0-addons.0

6 years ago

3.1.0

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

2.0.0

6 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago