Skip to main content

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

  1. Install the plugin
pip install pyjan26-scss
  1. 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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyjan26_scss-0.1.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

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

Hashes for pyjan26-scss-0.1.0.tar.gz
Algorithm Hash digest
SHA256 aeb9112515d4dd5f05b6e63cc27bfdce0b0af28843ffe82527040c642e816e38
MD5 5bfa8d51ea6718f6da3c483d2dbd94b2
BLAKE2b-256 17f1b61536d9688ca0d31aebf4107a509a9ef05cc68025988f5d4e85ce09fe8f

See more details on using hashes here.

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

Hashes for pyjan26_scss-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d2d12730406169b57bde57be49943a8c49fd30f5a2df671e5ca5de4597c65dc
MD5 a799748fe47e9904453838cd66ace0db
BLAKE2b-256 66bc7ed168bb8f803a4319a0ff60876a2605d60f5a354038dd569d48cb60b95d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page