Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ benchmark/input
benchmark/grimoire_css_output
benchmark/tailwind_css_output
benchmark/node_modules

test_app
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,4 @@

**Initial Release**

Grimoire CSS debuts as a powerful CSS system engine designed for flexibility and performance.
Grimoire CSS debuts as a powerful CSS engine designed for flexibility and performance.
20 changes: 14 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
- [4. Finalizing a Release](#4-finalizing-a-release)
- [5. Handling Hotfixes](#5-handling-hotfixes)
- [6. Handling Chores](#6-handling-chores)
- [7. Updating Feature and Fix Branches](#7-updating-feature-and-fix-branches)
- [7. Updating Feature, Refactor, and Fix Branches](#7-updating-feature-refactor-and-fix-branches)
- [Automated Tagging and Publishing](#automated-tagging-and-publishing)
- [Repository Security and Permissions](#repository-security-and-permissions)
- [Project Management](#project-management)
Expand Down Expand Up @@ -62,6 +62,10 @@ We follow a structured Git workflow to manage the lifecycle of code and contribu

- Naming convention: `hotfix/{hotfix-description}`

- **Refactor Branches**: Branches for code refactoring that improves code structure, readability, or performance without changing functionality.

- Naming convention: `refactor/{refactor-description}`

- **Chore Branches**: Branches for maintenance tasks such as updating documentation, CI configurations, or other non-feature/non-fix changes.
- Naming convention: `chore/{chore-description}`

Expand All @@ -88,6 +92,10 @@ We encourage contributors to propose new features, fixes, or chores, even if the
```bash
git checkout -b fix/{fix-description} main
```
- For refactoring:
```bash
git checkout -b refactor/{refactor-description} main
```
- For hotfixes:
```bash
git checkout -b hotfix/{hotfix-description} main
Expand All @@ -105,7 +113,7 @@ We encourage contributors to propose new features, fixes, or chores, even if the
- **Open a Pull Request**:

- **Target Branch**:
- For features and regular fixes:
- For features, refactoring, and regular fixes:
- Open a PR against the appropriate `rc/{version}` branch.
- If unsure which release your contribution will fit into, you can initially target your PR to `main`, and maintainers will retarget it as needed.
- For hotfixes and chores:
Expand All @@ -131,9 +139,9 @@ We encourage contributors to propose new features, fixes, or chores, even if the
git checkout -b rc/1.2.0 main
```

- **Merging Feature and Fix Branches**:
- **Merging Feature, Refactor, and Fix Branches**:

- Maintainers will merge feature (`feature/**`) and fix (`fix/**`) branches intended for the release into the `rc/{version}` branch via pull requests.
- Maintainers will merge feature (`feature/**`), refactor (`refactor/**`), and fix (`fix/**`) branches intended for the release into the `rc/{version}` branch via pull requests.

- **Testing and Stabilization**:
- Perform thorough testing on the `rc/{version}` branch.
Expand Down Expand Up @@ -224,10 +232,10 @@ We encourage contributors to propose new features, fixes, or chores, even if the
- **Note**:
- Merging `chore/**` branches into `main` will **not** trigger tagging or a new release.

#### 7. Updating Feature and Fix Branches
#### 7. Updating Feature, Refactor, and Fix Branches

- **Sync with `main`**:
- Regularly merge `main` into your feature (`feature/**`) and fix (`fix/**`) branches to keep them up to date.
- Regularly merge `main` into your feature (`feature/**`), refactor (`refactor/**`), and fix (`fix/**`) branches to keep them up to date.
```bash
git checkout feature/{feature-name}
git merge main
Expand Down
138 changes: 137 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[package]
name = "grimoire_css"
version = "1.5.0"
edition = "2021"
version = "1.6.0"
edition = "2024"
rust-version = "1.88"
authors = ["Dmitrii Shatokhin <[email protected]>"]
description = "A magical CSS system engine for all environments"
description = "A magical CSS engine for all environments"
license = "MIT"
keywords = ["css", "css-compiler", "styling", "web", "system"]
categories = ["web-programming", "development-tools"]
Expand All @@ -29,6 +30,7 @@ codegen-units = 1
[dependencies]
console = "0.15.8"
glob = "0.3.1"
grimoire_css_color_toolkit = "1.0.0"
indicatif = "0.17.8"
lazy_static = "1.5.0"
lightningcss = { version = "1.0.0-alpha.59", features = ["browserslist"] }
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

---

**Grimoire CSS** is a comprehensive CSS system engine crafted in Rust, <br /> focusing on unmatched flexibility, reusable dynamic styling, and optimized performance for every environment. Whether you need filesystem-based CSS generation or pure in-memory processing, Grimoire CSS adapts to your needs without compromising on performance or features.
**Grimoire CSS** is a comprehensive CSS engine crafted in Rust, <br /> focusing on unmatched flexibility, reusable dynamic styling, and optimized performance for every environment. Whether you need filesystem-based CSS generation or pure in-memory processing, Grimoire CSS adapts to your needs without compromising on performance or features.

<br/>
</div>
Expand Down Expand Up @@ -75,9 +75,9 @@

# Why Grimoire CSS

**Grimoire CSS** is a comprehensive CSS system engine crafted in Rust, <br /> focusing on unmatched flexibility, reusable dynamic styling, and optimized performance for every environment. Whether you need filesystem-based CSS generation or pure in-memory processing, Grimoire CSS adapts to your needs without compromising on performance or features.
**Grimoire CSS** is a comprehensive CSS engine crafted in Rust, <br /> focusing on unmatched flexibility, reusable dynamic styling, and optimized performance for every environment. Whether you need filesystem-based CSS generation or pure in-memory processing, Grimoire CSS adapts to your needs without compromising on performance or features.

1. **True CSS System Engine.** Grimoire CSS is a one-of-a-kind CSS System Engine - exceptionally powerful and endlessly flexible. It doesn't rely on bundlers, optimizers, deduplicators, preprocessors, or postprocessors. Grimoire CSS handles everything itself, internally and efficiently.
1. **True CSS engine.** Grimoire CSS is a one-of-a-kind CSS engine - exceptionally powerful and endlessly flexible. It doesn't rely on bundlers, optimizers, deduplicators, preprocessors, or postprocessors. Grimoire CSS handles everything itself, internally and efficiently.
2. **Performance.** Despite its vast capabilities, every part of Grimoire CSS is optimized for maximum efficiency. It outperforms even specialized tools. Compared to TailwindCSS v4.x, it generates CSS **5× faster** and **28× more efficiently**, even considering that Grimoire CSS actually generates real CSS.
3. **Universality.** Its native parser handles any source file without plugins or configuration, running in both filesystem-based and in-memory modes. Available as a standalone binary, a Rust crate, and an npm library.
4. **Intelligent CSS Generation.** Grimoire CSS respects the CSS cascade, optimizes your styles, applies necessary prefixes, and ensures full browser compatibility via .browserslistrc, both in file system and in-memory modes.
Expand Down
Loading
Loading