Base element color styles module for Basscss

Downloads in past


2.0.28 years ago9 years agoMinified + gzip package size for basscss-color-base in KB


This module sets color styles for the body, links, pre, code, and hr elements.

Base Elements

The body element has color set to --black and background color white. Links default to --blue. To adjust the link color, define a new value for the --link-color custom property. Pre and code tags have transparent background by default. To set a background color, use --pre-background-color. HRs use the same default border width and color as other border styles. These can be defined with --border-width and --border-color.