1.1.0 • Published 3 years ago
@sigveh/css v1.1.0
@sigveh/css
A simple CSS Reset and base styles, for a clean start to every project.
Inspired by @acab/reset.css
Usage
Install the package via npm.
npm install @sigveh/cssYou can then import the stylesheet in your css file.
@import '@sigveh/css';Customization
There are certain customization options when you are using the base styles. Make sure to define the CSS variables in :root to correctly override the default values.
:root {
/* define variables here */
--border-radius: 6px;
}These are the available CSS variables:
| Name | Description | Default value |
|---|---|---|
| --border-radius | Other radii are calculated from this | 4px |
| --border-color | Used for form elements, tables and separators | #808080 |
License
This package is licensed under the MIT license.