not-tailwind

Crates.ionot-tailwind
lib.rsnot-tailwind
version
sourcesrc
created_at2024-03-26 09:49:55.555058
updated_at2024-11-24 18:23:27.094544
descriptionA tool for shortening css classes
homepagehttps://github.com/uros-5/not-tailwind
repositoryhttps://github.com/uros-5/not-tailwind
max_upload_size
id1186137
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Uros Mrkobrada (uros-5)

documentation

README

not-tailwind logo not-tailwind logo
crates.io build status

not-tailwind

Shorten those long TailwindCSS classes

This is your HTML in development:

  <div class="text-red-600 px-2 bg-green-200 md:text-md lg:text-lg xl:text-xl custom-font dark:text-green-200 dark:bg-red-500">
    Hello World
  </div>

And here is in production:

  <div class="c b a g h i custom-font f d">
    Hello World
  </div>

Configuration(not-tailwind.toml):

html_dir = ["web/src/templates"]
css_dir = ["web/src/css"]
js_dir = ["web/src/js"]
assets_dir = ["web/src/svg"]
output_dir = "prod"

Dependencies:

Installation

cargo install --path=. --force
Commit count: 29

cargo fmt