Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

complexdatacollective/shared-web-styles

Repository files navigation

Network Canvas Shared Web Styles

This repo contains shared sass modules that can be imported into other projects. It's intended to be used as a git submodule.

Adding the submodule to a project

git submodule add https://github.com/complexdatacollective/shared-web-styles /assets/shared

Importing

# assets/css/main.scss
@import '../shared/grid.scss'

Jekyll-specific

Whatever directory you add the submodule, add this to the load_paths in your Jekyll _config.yml, e.g.:

sass:
  load_paths:
    - _sass
    - assets/shared/shared-web-styles

Then as per the Jekyll docs import the sass modules you want to use into the main style file:

# assets/css/main.scss
@import '../shared/grid.scss'

Jekyll automatically compiles this into assets/css/main.css in the build.

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages