3.0.0-beta • Published 1 year ago

denali-css-theme v3.0.0-beta

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Denali CSS Library

npm jsDelivr hits (GitHub) slack GitHub

Table of contents


Background

Introducing Denali V3, a dynamic theme built upon the robust foundation of Daisy UI. By harnessing the power of Daisy UI, developers can effortlessly access the extensive range of components and 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 Daisy Ui Components and all TailwindCSS Utilities

Example Projects

Quick Install

Installation

  1. Install TailwindCSS by running the following command:
npm install tailwindcss
  1. Next up install Denali CSS Theme Package
npm install denail-css-theme
  1. 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.

  1. Create am "app.css" in the same directory. Paste the following imports:
@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';

@import 'denali-css-theme/theme.css';
  1. If you already have a compiler setup use that or you can use TailwindCSS directly and live-server. You would run
npm install 'live-server';

And then update you package.json scripts with the following:

{
  "scripts": {
    "watch:css": "npx tailwindcss -c ./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"
  },
  "dependencies": {
    "denali-css-theme": "file:../denali-css",
    "live-server": "^1.2.2",
    "tailwindcss": "^3.3.2"
  }
}

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.

Maintainers

  • Jon Kilroy kilroy@yahooinc.com
  • Anusha Ganti annapoorna.ganti@yahooinc.com
  • Trevor Greenleaf trevor.greenleaf@yahooinc.com

License

Code licensed under the MIT license. See LICENSE file for terms.