Skip to content

stylify/packages

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Stylify logo


Chat Twitter Follow GitHub Org's stars GitHub
GitHub Workflow Status (branch) GitHub issues GitHub commit activity GitHub release (latest by date) GitHub contributors

πŸ’Ž Introduction

Stylify is a library that uses CSS-like selectors to generate utility-first CSS dynamically based on what you write.
Don't study framework. Focus on coding.

Stylify preview

✨ Features

  • πŸ”— Define Variables, Components, Custom selectors
  • πŸ”? Add custom macros like ml:2
  • πŸ’² Variables can be injected into css as CSS variables
  • πŸŒƒ CSS variables can differ for each screen
  • πŸ–ŒοΈ? Simplify coding with helpers like color:lighten(#000,10)
  • πŸ–₯οΈ? Style any device with dynamic screens
  • βœ‹ You can mark areas for which CSS should not be
  • πŸ“¦ Split bundles for page/layout/component
  • 🧰 Selectors are minified from long .color:blue to short .a
  • ✨ No purge needed. CSS is generated only when something is matched
  • πŸ”— Components & Custom selectors are attached to utilities. No duplicated property:value
  • πŸͺ? Hooks can modify CSS or output for example wrap it in CSS layers
  • πŸ‘€ Mangled (hidden/unreadable) HTML classes in production (if mangled)
  • πŸš€ Try it with frameworks like, Next.js, Astro. SolidJS, Qwik Symfony, Nette, Laravel
  • βš’οΈ? Works with bundlers like Webpack, Rollup, Vite.js
  • β›“οΈ? Generated CSS can be used within SCSS, Less, Stylus
  • 🎨 CSS variables can be exported into external file and reused

πŸ“¦ Packages

Project Status Description
astro astro-status Integration for Astro.build
bundler bundler-status A flexible CSS bundler.
nuxt nuxt-status Module for Nuxt.js Framework v3+.
nuxt-module nuxt-module-status Module for Nuxt.js Framework v2 < v3.
stylify stylify-status Core package. Generates CSS and minifies selectors.
unplugin unplugin-status Universal plugin for Vite, Webpack, Rollup and Esbuildn.

Compatibility

Environment Version Note
Browser ES5-compliant browsers, Intersection Observer support is required. Stylify doesn't need to be included in the browser. All CSS can be pregenerated on server or during a build.
Node >= 14 In case Stylify will be used during an application build or in an SSR application.

πŸ’‘ Examples, Changelog, Issues

  • Live examples and tutorials: documentation
  • Changelog and release changes: releases
  • Have an idea? Found a bug? Feel free to create an issue

🀟 Stay In Touch

πŸ‘· Contributing

Please make sure to read the Contributing Guide before making a pull request.

πŸ“? License

MIT

Copyright (c) 2021-present, VladimΓ­r MachΓ‘Δ?ek