Skip to content

arielpartners/dhs-common-styles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dhs-common-styles

Common styles for DHS projects

Prerequisites

Installation

In the terminal, navigate to your project's root directory. Run the following command:

npm install --save-dev https://github.com/arielpartners/dhs-common-styles.git

If successful, dhs-common-styles will be added to the DevDependencies section of package.json. A new dhs-common-styles directory will be added to the node_modules directory.

Usage

To import the complete set of styles, add the following to your project's main LESS stylesheet:

@import '../node_modules/dhs-common-styles/less/style';

Adjust path to node_modules directory as necessary.

Individual LESS files from dhs-common-styles can be selectively imported as well. For example:

  • Import variables: @import '../node_modules/dhs-common-styles/less/_variable.less'
  • Import dropdown menu: @import '../node_modules/dhs-common-styles/less/components/_dropdown_menu.less'

About

Common styles for DHS projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages