@PyBook/Styles
These are the main styles for PyBook, used in both the website, and the mobile app (both in continuous development)
Usage
In Webpack
Import the styles like so:
import '@pybook/styles/dist/pybook.css';
Elsewhere
For this, you must have the node_modules
folder at the website root, or you must use require.
With Require
Just require
it lol.
require('@pybook/styles/dist/pybook.css');
With HTML
Place this into your <head>
:
<link rel="stylesheet" type="text/css" href="/node_modules/@pybook/styles/dist/pybook.css">
Developing
If you want to contribute to stylesheet development, follow these instructions. Also, Use Yarn! we do not use inferior package managers NPM.
Dependencies Needed
gulp
gulp-csso
csso
gulp-sass
node-sass
gulp-watch-sass
gulp-sass-lint
Code Style
Try to follow the code style currently being used. Fix all linter errors before building and pushing new (or modified, no loopholes here) code.