/** * Fichiers du package à scanner par Tailwind. * * Tailwind n'additionne pas les `content` : celui du projet écrase purement et * simplement celui de ses presets — `resolveConfig` garde le dernier déclaré, * quelle que soit la forme utilisée (tableau ou `{ files }`). Un preset ne peut * donc pas déclarer les fichiers qu'il faut scanner pour lui : c'est au projet * d'étaler cette constante dans son propre `content`, sinon aucune classe des * composants du package n'est générée (`rounded-control`, `bg-topbar`, * `animate-in`…) et ils s'affichent sans style. */ export declare const krosoftContent: string[]; /** * Preset Tailwind CSS partagé par les projets @krosoft/react. * * Regroupe les tokens de design shadcn/ui communs à tous les projets : * - configuration du mode sombre ; * - réglages du conteneur ; * - mapping des couleurs de base (border, input, ring, background, foreground, primary…) ; * - tokens de rayon de bordure ; * - keyframes & animations de l'accordéon ; * - plugin tailwindcss-animate. * * Utilisation dans le tailwind.config.ts d'un projet consommateur : * * ```ts * import krosoftPreset, { krosoftContent } from "@krosoft/react/tailwind"; * * export default { * presets: [krosoftPreset], * content: [...krosoftContent, "./src/**\/*.{ts,tsx}"], * theme: { * extend: { * // surcharges spécifiques au projet * }, * }, * } satisfies Config; * ``` */ declare const krosoftPreset: { darkMode: ["class", string]; theme: { container: { center: true; padding: string; screens: { "2xl": string; }; }; extend: { colors: { border: string; input: string; ring: string; background: string; foreground: string; primary: { DEFAULT: string; foreground: string; }; secondary: { DEFAULT: string; foreground: string; }; destructive: { DEFAULT: string; foreground: string; }; muted: { DEFAULT: string; foreground: string; }; accent: { DEFAULT: string; foreground: string; }; popover: { DEFAULT: string; foreground: string; }; card: { DEFAULT: string; foreground: string; }; brand: { from: string; to: string; foreground: string; }; "dialog-header": { from: string; to: string; foreground: string; }; success: { DEFAULT: string; foreground: string; }; warning: { DEFAULT: string; foreground: string; }; info: { DEFAULT: string; foreground: string; }; chart: { 1: string; 2: string; 3: string; 4: string; 5: string; }; sidebar: { DEFAULT: string; foreground: string; primary: { DEFAULT: string; foreground: string; }; accent: { DEFAULT: string; foreground: string; }; border: string; ring: string; muted: string; }; topbar: { DEFAULT: string; foreground: string; primary: { DEFAULT: string; foreground: string; }; accent: { DEFAULT: string; foreground: string; }; border: string; ring: string; muted: string; }; }; borderRadius: { control: string; surface: string; lg: string; md: string; sm: string; }; keyframes: { "accordion-down": { from: { height: string; }; to: { height: string; }; }; "accordion-up": { from: { height: string; }; to: { height: string; }; }; progress: { "0%": { transform: string; }; "100%": { transform: string; }; }; "fade-in": { from: { opacity: string; transform: string; }; to: { opacity: string; transform: string; }; }; }; animation: { "accordion-down": string; "accordion-up": string; progress: string; "fade-in": string; }; }; }; plugins: ({ handler: () => void; } | { handler: import("tailwindcss/types/config").PluginCreator; config?: Partial; })[]; }; export default krosoftPreset; //# sourceMappingURL=index.d.ts.map