@trevorgreenleaf/denali
v3.0.0-alpha.3
Published
Denali CSS UI
Downloads
3
Maintainers
Readme
Denali CSS Library
Table of contents
Background
Introducing Denali V3, a dynamic theme built upon the robust foundation of TailwindCSS. By harnessing the power of TailwindCSS, developers can effortlessly access the extensive range of utilities provided by TailwindCSS, resulting in unparalleled flexibility. Our primary objective is to foster seamless consistency between design and development, enabling a swift workflow and simplified maintenance.
You can view TailwindCSS Utilities
Quick Install
Installation
- Install TailwindCSS by running the following command:
npm install tailwindcss
- Next up install Denali CSS Theme Package
npm install denail-css-theme
- Now you will need to create a "tailwind.config.js" file in your main folder directory. Add the following:
module.exports = {
presets:[
require('denali-css-theme/tailwindcss.config.js')
],
content: ['./public/*.html'],
}
Modify content key to match your type of file format. This will be used to purge any unused styles.
- Create am "app.css" in the same directory. Paste the following imports:
@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';
- If you already have a compiler setup use that or you can use TailwindCSS directly and live-server. You would run
npm install 'npm-run-all';
And then update you package.json scripts with the following:
{
"scripts": {
"watch:css": "npx tailwindcss ./tailwind.config.js -i ./app.css -o public/output.css",
"serve": "live-server ./public",
"dev": "npm run watch:css & npm run serve",
"all": "npm-run-all watch:css serve"
},
}
Browser Support
Learn more about the browsers and devices we support here.
- Chrome on Android, Windows, macOS, and Linux
- Firefox on Windows, macOS, and Linux
- Safari on iOS and macOS
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Contribute
To start contributing to Denali, have a look at our guidelines, as well as pointers on where to start making changes, in our contributing guide.
License
Code licensed under the MIT license. See LICENSE file for terms.