Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.44 KB

README.md

File metadata and controls

29 lines (20 loc) · 1.44 KB

Sigma-10

Lint

This is the repository for the Sigma-10 theme, the default CSS used to style the SCP Wiki. It was originally created by Aelanna under the name Sigma-9 and is presently maintained by the SCP Wiki Technical Team.

This theme is available under the wiki's Creative Commons Attribution-ShareAlike 3.0 license (CC-BY-SA).

Upon merging or pushing to the main branch, CSS will be deployed to GitHub Pages so the artifacts can be used by the theme in production.

Local development

Be sure you have npm installed, and then set up the development dependencies:

$ npm install

Once this is configured, there are a few scripts you can take advantage of:

$ npm run build         # Builds the theme and outputs to dist/
$ npm run clean         # Deletes dist/
$ npm run stylelint     # Runs stylelint, reporting any code issues
$ npm run stylelint:fix # Runs stylelint, automatically fixing issues
$ npm run prettier      # Runs prettier, reporting any formatting issues
$ npm run prettier:fix  # Runs prettier, automatically fixing issues
$ npm run minify        # Minifies sigma.css and places it into dist/