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 Distribution

make_sass_files-1.2.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

make_sass_files-1.2.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file make_sass_files-1.2.0.tar.gz.

File metadata

  • Download URL: make_sass_files-1.2.0.tar.gz
  • Upload date:
  • Size: 3.3 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

Hashes for make_sass_files-1.2.0.tar.gz
Algorithm Hash digest
SHA256 95ee4b90b655cd59a5d7e4095f1a92049675394bcb008a74219c719c1ee9de29
MD5 da0803d95fd79f5595d8105a68ad1f68
BLAKE2b-256 fc4745b38925b6494c2305dcfe1bb0f429a1ddc4113b94390f174ccb427c670e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: make_sass_files-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 acc07ee76bdf1734c9a74ecb92fc182055e96ca05fbed96ba33ddaf2b4a3dd57
MD5 34bbdf529f0afaad33bc80ec46513137
BLAKE2b-256 cf1d7f5ad6c70b629b7d58d61acfea2621ce1058d42e23b1eb49a83a29c383f0

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