Get started with Yumma CSS
Yumma CSS is a CSS framework packed with a set of abbreviated utility classes for building faster and more maintainable UIs.
Installation
How to install Yumma CSS in your project:
-
Install Yumma CSS
Add
yummacss
to your project.Terminal npm i yummacss -DTerminal pnpm add yummacss -DTerminal yarn add yummacss -D
-
Initialize configuration
Create a configuration file in your project.
Terminal npx yummacss initTerminal pnpx yummacss initTerminal yarn dlx yummacss init -
Set up configuration
Specify the locations of all your project files in the config file.
yumma.config.js 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 npx yummacss buildTerminal pnpx yummacss buildTerminal yarn dlx yummacss build
Framework Guides
Yumma CSS works with any framework, seriously! Try it out with your favorite one.
Next Steps
Get familiar with the Yumma CSS utility classes and how to use them in your projects.
Migrating from v2 Learn how to migrate from Yumma CSS v2 to v3.
Purging CSS Learn how to remove unused CSS classes from your final build.
Color System Learn how to use Yumma CSS colors in your projects.
Styling Learn how to use Yumma CSS utility classes in your projects.