Skip to content

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:

  1. Install Yumma CSS

    Add yummacss to your project.

    Terminal
    npm i yummacss -D

  2. Initialize configuration

    Create a configuration file in your project.

    Terminal
    npx yummacss init
  3. 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,
    },
    };
  4. Build styles

    You can now start generating your CSS with the build or watch command.

    Terminal
    npx 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.