Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.69 KB

README.md

File metadata and controls

32 lines (20 loc) · 1.69 KB

sweclockersdark-logo

Contributions and Development

If you'd like to contribute to this repository, please follow these steps:

  1. Fork Fork the repository.
  2. Make sure you have the following installed:
  3. Run pnpm i to install the necessary Node packages.
  4. Make sure your IDE or text editor, such as Visual Studio Code or Notepad++, supports reading .editorconfig.
  5. Modify src/sweclockers-dark.styl; it's the file that GitHub Actions uses to generate the final ones.

Live editing methods

This project uses browser-sync to inject the generated .css file into your browser.

Editing using a single script (Recommended)

You can get up and running by simply executing the command pnpm local.

This uses gulp to start the browser sync and, in the same script, also watches and generates changes done to src/sweclockers-dark.styl.

Generate and run server separately

To generate dist/sweclockers-dark.css file once, run pnpm stylus.

If you want it to generate the file every time changes occur to src/sweclockers-dark.styl, run pnpm stylus-watch.

You can run the browser-sync script with pnpm browser-sync, and it will inject the dist/sweclockers-dark.css file onto a proxied version of https://www.sweclockers.com/.