Metadata-Version: 2.1
Name: pyjan26-scss
Version: 0.2.0
Summary: A plugin for compiling SCSS files into CSS during the build process in Pyjan26
Home-page: UNKNOWN
Author: Josnin
License: MIT
Project-URL: Source, https://github.com/josnin/pyjan26-plugins/tree/main/pyjan26-scss
Platform: UNKNOWN
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE

# SCSS to CSS

A plugin for compiling SCSS files into CSS during the build process in Pyjan26

## Setup

1. Install the plugin
```python
pip install pyjan26-scss
```

2. Add to your settings.py

```python

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
```css
$primary-color: #333;

body {
  color: $primary-color;
}
```

The plugin will compile it into CSS like this
```css
body {
	color: #333
}





