Skip to main content

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

      python3 -m make-sass-files

That's it!

make-sass-files

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

make_sass_files-1.1.5.5-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file make_sass_files-1.1.5.5-py3-none-any.whl.

File metadata

  • Download URL: make_sass_files-1.1.5.5-py3-none-any.whl
  • Upload date:
  • Size: 2.7 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

Hashes for make_sass_files-1.1.5.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9ea185abc11b58bf2a51a59f6cf1bd28fbd63a15ec799f048349ad1df4be0241
MD5 35ab27f1fdd61618c565a91987a6a63d
BLAKE2b-256 a082183ed4e78ff80d9a661648b3afa0475405e394982399efc4da4c0b53c9a5

See more details on using hashes here.

Supported by

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