Skip to content

Athletic.scss packaged for use on AthleticNet and anet-angular repos

Notifications You must be signed in to change notification settings

AthleticNet/web-styles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Athletic Styles

Shared Bootstrap 5 + in-house styles for AthleticNet and anet-angular repos

Usage of SCSS dependencies

  1. npm install @athletic/web-styles
    • In a Webpack project (like Angular), add @import "@athletic/web-styles/src/site-dependencies"; to use the SCSS variables and mixins supplied in this package.
    • In Visual Studio, use a relative path to the package in node_modules/@athletic/web-styles/src/site-dependencies which could end you up with an import like @import "../../node_modules/@athletic/web-styles/src/site-dependencies";

Usage of compiled styles

  1. npm install @athletic/web-styles
  2. Use @athletic/web-styles/dist/Athletic.min.css

Updating

  1. Make changes, run npm run build, compare the diffs in the outputted css, then commit
  2. Run npm run patch (this will bump from 8.0.2 to 8.0.3 for example and then commit the changes), and push changes to GitHub which will automatically fire off an NPM publish
  3. git push --tags

To Discuss

  • Do we want to authorize Gitpod w/ AthleticNet organization if wanting to do easy devving via Gitpod

Open in Gitpod

About

Athletic.scss packaged for use on AthleticNet and anet-angular repos

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •