A plugin for compiling SCSS files into CSS during the build process in Pyjan26
Project description
SCSS to CSS
A plugin for compiling SCSS files into CSS during the build process in Pyjan26
Setup
- Install the plugin
pip install pyjan26-scss
- Add to your settings.py
PLUGIN_MODULES = [
'pyjan26-scss.scss2css',
...
]
# Define scss files to convert to css
CSS_SCSS_PATTERNS = ['assets/*.scss']
Output
Assuming your SCSS file style1.sccss contains
$primary-color: #333;
body {
color: $primary-color;
}
The plugin will compile it into CSS like this
body {
color: #333
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyjan26-scss-0.1.0.tar.gz
(2.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyjan26-scss-0.1.0.tar.gz.
File metadata
- Download URL: pyjan26-scss-0.1.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aeb9112515d4dd5f05b6e63cc27bfdce0b0af28843ffe82527040c642e816e38
|
|
| MD5 |
5bfa8d51ea6718f6da3c483d2dbd94b2
|
|
| BLAKE2b-256 |
17f1b61536d9688ca0d31aebf4107a509a9ef05cc68025988f5d4e85ce09fe8f
|
File details
Details for the file pyjan26_scss-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pyjan26_scss-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d2d12730406169b57bde57be49943a8c49fd30f5a2df671e5ca5de4597c65dc
|
|
| MD5 |
a799748fe47e9904453838cd66ace0db
|
|
| BLAKE2b-256 |
66bc7ed168bb8f803a4319a0ff60876a2605d60f5a354038dd569d48cb60b95d
|