mirror of
https://github.com/unraid/api.git
synced 2026-02-20 06:58:29 -06:00
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Eli Bosley <ekbosley@gmail.com> - **CI/CD** - Updated GitHub Actions workflow to build Unraid UI Web Components. - Adjusted artifact naming and download configurations. - **Web Components** - Added new web components and registration mechanism. - Implemented toast notifications. - Enhanced UI component library. - **Notifications** - Added real-time notification subscription. - Created notification settings page. - Implemented notification toast system. - **API Improvements** - Refactored GraphQL schema loading. - Updated authentication and cookie handling. - Improved error logging and server initialization. - **Development Tools** - Updated ESLint configuration. - Enhanced import path management. - Added new development dependencies.
35 lines
956 B
TypeScript
35 lines
956 B
TypeScript
import tailwindRemToRem from './src/lib/tailwind-rem-to-rem';
|
|
import type { Config } from 'tailwindcss';
|
|
import { unraidPreset } from './src/theme/preset';
|
|
|
|
export default {
|
|
presets: [unraidPreset],
|
|
content: [
|
|
'./src/components/**/*.{js,vue,ts}',
|
|
'./src/composables/**/*.{js,vue,ts}',
|
|
'./stories/**/*.stories.{js,ts,jsx,tsx,mdx}',
|
|
'./index.html',
|
|
],
|
|
safelist: [
|
|
'dark',
|
|
'DropdownWrapper_blip',
|
|
'unraid_mark_1',
|
|
'unraid_mark_2',
|
|
'unraid_mark_3',
|
|
'unraid_mark_4',
|
|
'unraid_mark_6',
|
|
'unraid_mark_7',
|
|
'unraid_mark_8',
|
|
'unraid_mark_9',
|
|
{
|
|
pattern: /^text-(header-text-secondary|orange-dark)$/,
|
|
variants: ['group-hover', 'group-focus'],
|
|
},
|
|
{
|
|
pattern: /^(underline|no-underline)$/,
|
|
variants: ['group-hover', 'group-focus'],
|
|
},
|
|
],
|
|
plugins: [tailwindRemToRem({ baseFontSize: 16, newFontSize: process.env.REM_PLUGIN ? 10 : 16 })],
|
|
} satisfies Partial<Config>;
|