A simple program to implement Sass 7-1 or 3-1 architecture
Project description
make-sass-files
The make-sass-files script will give you the option to automate the creation of the Sass 7-1 or the Sass 3-1 file structure in your project. The 7-1 model is the recommended architecture for using Sass. The 3-1 model can be used for smaller projects such as single page applications (SPAs)
The script will generate the following files:
3-1 (option a)
sass/_base.scss
sass/_components.scss
sass/_layouts.scss
sass/main.scss
7-1 (option b)
sass/abstracts/_variables.scss
sass/abstracts/_functions.scss
sass/abstracts/_mixins.scss
sass/base/_reset.scss
sass/base/_typography.scss
sass/components/_buttons.scss
sass/components/_carousel.scss
sass/components/_slider.scss
sass/layout/_navigation.scss
sass/layout/_grid.scss
sass/layout/_header.scss
sass/layout/_footer.scss
sass/layout/_sidebar.scss
sass/layout/_forms.scss
sass/pages/_home.scss
sass/pages/_about.scss
sass/pages/_contact.scss
sass/themes/_theme.scss
sass/themes/_admin.scss
sass/vendors/_bootstrap.scss
sass/vendors/_jquery-ui.scss
sass/main.scss
Note: The script will only install a path above if the path does not already exist in the project root.
For example. Let's say you have a sass folder in the project root with the following files:
sass/abstracts/_variables.scss
The script will add the files below without altering the existing file:
sass/abstracts/_functions.scss
sass/abstracts/_mixins.scss
Instructions:
Step 1: Install the package
pip install make-sass-files
Step 2: Run the program
python make-sass-files
That's it!
make-sass-files
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
Built Distribution
File details
Details for the file make_sass_files-1.1.1.tar.gz
.
File metadata
- Download URL: make_sass_files-1.1.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 337108924b41be9f5094c8a5928012239193d9b9d6039ba1014258ddf2022937 |
|
MD5 | b4d0c242622c2a2172aac04b5e0ace11 |
|
BLAKE2b-256 | e3a20ee60648b11d27b3f4005320ef96f9011bb51c2e00c03a5a82871441400f |
File details
Details for the file make_sass_files-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: make_sass_files-1.1.1-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e391523a50c705dab29738d233a827bd24fd73d3db3052a9830a8a9b57bde417 |
|
MD5 | d720a45a71bcb2eb464c3e7d6aebe9dd |
|
BLAKE2b-256 | 20a888efbd1a0915b231a8825082d57e2da07fead114ddc1bf5975f7986739ca |