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
SCSS_CSS_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.2.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.2.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file pyjan26-scss-0.2.0.tar.gz.

File metadata

  • Download URL: pyjan26-scss-0.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 14c7c68721dce44cc0fad4cf7a2d39389f6478b127388d33fe7164a500ce6c6a
MD5 b21439ea062aa9018fcac55c0c379b9d
BLAKE2b-256 6988e2a651359a70523f53da4eec4901026cbfe81b7aa542c3ac760f6a9677ec

See more details on using hashes here.

File details

Details for the file pyjan26_scss-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: pyjan26_scss-0.2.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 018d43c824fe19a1dcc1ca784e501d8dc721f5ac8538c1a74b1fa365e71c5cdc
MD5 e0a3ac0bb8433241e5f17ce1a5d15298
BLAKE2b-256 7f68417cd29c2b5e50c973f33e2dc4a3746e0c5be940a97f775ffe0b1f73dac8

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