Download
# Compiled CSS
Download compiled CSS to use in your self-hosted project. This includes the following files:
ash.css-> compiled and unminifiedash.css.map-> compiled CSS mapash.min.css-> compiled and minified
These files do not include documentation or source files.
Download# CDN via jsDelivr
Use the code below to drop-in ASH CSS to your project from our CDN. The CDN will be cached, minified, and gzipped.
# NPM/Yarn
ASH can be installed in a NodeJS project using NPM or Yarn.
# Source
Clone ASH CSS from source for when you want to contribute or customize to fit your needs. The source includes the docs you see here and can be used as a playground for customization.
# Docs
After you clone ASH CSS from source code you can run the docs locally. Local docs are totally offline and will be available at http://localhost:8080/
# Building
After you clone ASH CSS from source code you can build your own customized version. All built files will be available in dist/ash
# Using ASH CSS
After downloading a compiled release, using the CDN, or building from source just include the minified version in the head of your HTML. Use the below starting template:
You can use the included dark mode my adding the dark class to the html tag. This can be toggled by using JavaScript to add or remove the class from the html tag or by watching the prefers-color-scheme media query.