1.0.2 • Published 8 months ago

slightly-better-css v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Slightly Better CSS

A webpage without any CSS is slightly too ugly, libraries like Bootstrap are way too heavy, and you have too much taste to use the other CSS libraries out there. Slightly Better CSS is a small, simple stylesheet for any project that needs to look just a little bit better.

We don't believe in classes or ID's, all our styling is around built-in variables, so you can write simple HTML. At only 7KB, Slightly Better CSS won't weight down your application, and is easily extendable.

📦 Installation

Include the stylesheet in your project directly using the following link:

<link
  rel="stylesheet"
  href="https://printerscanner.github.io/slightly-better-css/slightly-better.css"
/>

Alternatively, use a CDN:

unpkg:

<link
  rel="stylesheet"
  href="https://unpkg.com/browse/slightly-better-css@1.0.1/dist/slightly-better.min.css"
/>

jsDelivr:

<link
  rel="stylesheet"
  href="https://cdn.jsdelivr.net/npm/slightly-better-css@1.0.1/dist/slightly-better.min.css"
/>

Install via npm

You can also install Slightly Better CSS via npm:

npm install slightly-better-css

Then import it into your project:

import "slightly-better-css";

Clone the Repository

Want full control? Clone the repo and make adjustments to the CSS file as needed:

git clone https://github.com/printerscanner/slightly-better-css.git

Download

Customizing

If you like slightly better css but want a custom look, you can copy and paste these variables into your own stylesheet and swap your values.

:root {
  --background-color: #c3c7cf;
  --text-color: #000000;
  --accent-color: #00000f;
  --muted-color: #f6f6f6;
  --font-family: "Neue Montreal", monospace;
  --font-size: larger;
}

Preview

Screenshot

Contributing

If you'd like to contribute to this repository feel free to fork/submit a pull request, and if you have any suggestions feel free to email me at itsprinterscanner@gmail.com.

License

The theme is available as open source under the terms of the MIT License.

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago