Skip to content

jkusa/denali-css

 
 

Repository files navigation

Denali CSS Library

npm Build Status jsDelivr hits (GitHub) slack GitHub

Table of contents


Background

The Denali System Language was created by the Platforms and Technology Design team at Verizon Media as a scalable method for designing and developing visually consistent and functional internal products. Denali’s CSS framework allows developers to implement the Denali System Language in their projects. The framework is lightweight and flexible. It supports theming through custom variables which means the visual appearance of Denali’s components can be easily adapted to fit the visual style of any brand. Additionally, components are framework independent allowing you to take what you need and leave the rest.

You can view the Denali’s entire component library complete with corresponding code snippets and documentation on the getting started page.

Install

Prerequisites

You will need the following installed to run the site:

  1. Node
  2. NPM
  3. Ruby
  4. Sass
  5. Gulp

Note: This guide assumes you have the prerequisites installed locally and will not go over install instructions for them. Refer to their websites for guidance if necessary.

Quick install

NPM

To add Denali CSS into your project we offer a node package.

npm install denali-css

After installation, you can import the CSS file into your project.

import 'denali-css/css/denali.css'
CDN
https://cdn.jsdelivr.net/npm/denali-css/css/denali.css

Generating SASS

Clone or download this repository.

denali-system-language/denali-css.git

Use any command line tool and navigate to where you downloaded the repository.

cd path-to-folder/denali-css

Use NPM to install packages.

npm install

Usage

To spin up local server to view demo files use the command below. This will also watch the SCSS files for any changes and will output a CSS file in the css folder. After you should be prompted with a success message with the localhost url available to view.

gulp 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.

Maintainers

License

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

About

Themeable CSS framework of Denali Ui components

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • SCSS 63.1%
  • CSS 18.7%
  • JavaScript 18.2%