Skip to content

cagataycivici/pure-accordion-vue

Repository files navigation

PrimeVue Pure Accordion with Tailwind CSS

A minimalist Accordion Panel style

tailwind.config.js

Add surface colors to be able to customize the colors of the Accordion

export default {
    //...
    theme: {
        extend: {
            colors: {
                "surface-0": "rgb(var(--surface-0))",
                "surface-50": "rgb(var(--surface-50))",
                "surface-100": "rgb(var(--surface-100))",
                "surface-200": "rgb(var(--surface-200))",
                "surface-300": "rgb(var(--surface-300))",
                "surface-400": "rgb(var(--surface-400))",
                "surface-500": "rgb(var(--surface-500))",
                "surface-600": "rgb(var(--surface-600))",
                "surface-700": "rgb(var(--surface-700))",
                "surface-800": "rgb(var(--surface-800))",
                "surface-900": "rgb(var(--surface-900))",
                "surface-950": "rgb(var(--surface-950))",
            },
        },
    },
    //...
};

About

Clean Accordion Design with PrimeVue and Tailwind CSS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published