mirror of
https://github.com/unraid/api.git
synced 2026-01-06 00:30:22 -06:00
- modified vite.config.ts to integrate app configuration into UI setup - updated app.config.ts to include new button, tabs, and slideover variants for better theming - cleaned up main.css by removing unused styles and ensuring proper imports - refactored notification components to streamline structure and improve readability
42 lines
881 B
TypeScript
42 lines
881 B
TypeScript
export default {
|
|
ui: {
|
|
colors: {
|
|
// overrided by tailwind-shared/css-variables.css
|
|
// these shared tailwind styles and colors are imported in src/assets/main.css
|
|
},
|
|
|
|
// https://ui.nuxt.com/docs/components/button#theme
|
|
button: {
|
|
//keep in mind, there is a "variant" AND a "variants" property
|
|
variants: {
|
|
variant: {
|
|
ghost: '',
|
|
link: 'hover:underline focus:underline',
|
|
},
|
|
},
|
|
},
|
|
|
|
// https://ui.nuxt.com/docs/components/tabs#theme
|
|
tabs: {
|
|
variants: {
|
|
pill: {},
|
|
},
|
|
},
|
|
|
|
// https://ui.nuxt.com/docs/components/slideover#theme
|
|
slideover: {
|
|
slots: {
|
|
// title: 'text-3xl font-normal',
|
|
},
|
|
variants: {
|
|
right: {},
|
|
},
|
|
},
|
|
},
|
|
toaster: {
|
|
position: 'bottom-right' as const,
|
|
expand: true,
|
|
duration: 5000,
|
|
},
|
|
};
|