Installation
Yumma CSS is a CLI-first CSS framework packed with a set of non-opinionated, atomic utility classes designed to minimize and scale your codebase.
Installation guide
-
Install Yumma CSS
Terminal pnpm add yummacss -DTerminal npm i yummacss -DTerminal yarn add yummacss -D
-
Initialize configuration
Create a configuration file in your project.
Terminal pnpx yummacss initTerminal npx yummacss initTerminal yarn dlx yummacss init -
Set up configuration
Specify the locations of all your project files in the config file.
yumma.config.mjs export default {source: ["./src/**/*.{ts,tsx}"],output: "./src/styles.css",buildOptions: {reset: true,minify: false,},}; -
Build styles
You can now start generating your CSS with the
build
orwatch
command.Terminal pnpx yummacss buildTerminal npx yummacss buildTerminal yarn dlx yummacss build
Next steps
Take your first steps toward mastering Yumma CSS and its incredible core features.
Styling elements: Learn how to style elements using Yumma CSS.
Variants: Learn how to use variants like hover and focus in Yumma CSS.
Responsive Design: Learn how to make responsive designs with Yumma CSS.
Configuration: Learn how to set up the Yumma CSS CLI.
Colors: Learn how to use colors in Yumma CSS.