Skip to main content

✨ ALCSS ✨

Aligner of a splitter in css files

Downloads

Example

  • Imagine you have file - my-awesome-style.css
body {
    margin: 25px;
    background-color: rgb(240, 240, 240);
    font-family: arial, sans-serif;
    font-size: 14px;
}
  • Run this program
alcss my-awesome-style.css
  • Result
body {
    margin            :  25px;
    background-color  :  rgb(240, 240, 240);
    font-family       :  arial, sans-serif;
    font-size         :  14px;
}

Requrirements

Check that you have:

  • python 3.x
  • pip (optionally)

Installation

This program can be installed from pypi

py -m pip install alcss
pip3 install alcss

Arguments

short long description default
-l --lmargin Sets spaces before : character 2
-r --rmargin Sets spaces after : character 2
-i --indent Sets indentation inside {} block 4
-s --shout Forces program to print info to stdout False
-h --help Shows help

Options meaning

div {
____border_____:_____1px solid black;
↑           ↑     ↑
indent  lmargin rmargin
}

Tips

  • Use after default formmater of VS code as default formatter removes spaces before : character

  • To add auto aligning after save:

  • Add Run on Save extension

  • Press ctrl + P and search for Preferences: Open Workspace Settings (JSON)

  • Add code below into the opened file and save

{
    "emeraldwalk.runonsave": {
        "commands": [
            {
                "match": ".css",
                "cmd": "alcss ${file}"
            }
        ]
    }
}

Metadata

Release files for alcss 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for alcss 1.0.0
File Size Uploaded Provenance Actions
alcss-1.0.0.tar.gz 4.4 kB Without provenance Details for alcss-1.0.0.tar.gz

Release files / alcss-1.0.0.tar.gz

Download URL alcss-1.0.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
27319a52c9899537c2d9e9547d736e2b54c5ba50d2decc2d98d07e7ac6cdd8b9
BLAKE2b-256 checksum
How to use checksums
a65a90a6b55df7dedc5923201634778b9f6830fbb10654a2d0dca5067eabf717
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.1

Security for alcss 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page