UNPKG

@toriistudio/v0-playground

Version:
220 lines (216 loc) 7.66 kB
"use strict"; var __create = Object.create; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __getProtoOf = Object.getPrototypeOf; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( // If the importer is in node compatibility mode or this is not an ESM // file that has been converted to a CommonJS file using a Babel- // compatible transform (i.e. "__esModule" has not been set), then set // "default" to the CommonJS "module.exports" for node compatibility. isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod )); var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/preset.ts var preset_exports = {}; __export(preset_exports, { default: () => preset_default }); module.exports = __toCommonJS(preset_exports); // node_modules/tailwindcss/dist/plugin.mjs function g(i, n) { return { handler: i, config: n }; } g.withOptions = function(i, n = () => ({})) { function t(o) { return { handler: i(o), config: n(o) }; } return t.__isOptionsFunction = true, t; }; var u = g; // src/preset.ts var import_tailwindcss_animate = __toESM(require("tailwindcss-animate")); var preset = { darkMode: "class", content: ["./src/**/*.{ts,tsx}", "*.{js,ts,jsx,tsx,mdx}"], theme: { extend: { colors: { background: "hsl(var(--background))", foreground: "hsl(var(--foreground))", card: { DEFAULT: "hsl(var(--card))", foreground: "hsl(var(--card-foreground))" }, popover: { DEFAULT: "hsl(var(--popover))", foreground: "hsl(var(--popover-foreground))" }, primary: { DEFAULT: "hsl(var(--primary))", foreground: "hsl(var(--primary-foreground))" }, secondary: { DEFAULT: "hsl(var(--secondary))", foreground: "hsl(var(--secondary-foreground))" }, muted: { DEFAULT: "hsl(var(--muted))", foreground: "hsl(var(--muted-foreground))" }, accent: { DEFAULT: "hsl(var(--accent))", foreground: "hsl(var(--accent-foreground))" }, destructive: { DEFAULT: "hsl(var(--destructive))", foreground: "hsl(var(--destructive-foreground))" }, border: "hsl(var(--border))", input: "hsl(var(--input))", ring: "hsl(var(--ring))", chart: { 1: "hsl(var(--chart-1))", 2: "hsl(var(--chart-2))", 3: "hsl(var(--chart-3))", 4: "hsl(var(--chart-4))", 5: "hsl(var(--chart-5))" }, sidebar: { DEFAULT: "hsl(var(--sidebar-background))", foreground: "hsl(var(--sidebar-foreground))", primary: "hsl(var(--sidebar-primary))", "primary-foreground": "hsl(var(--sidebar-primary-foreground))", accent: "hsl(var(--sidebar-accent))", "accent-foreground": "hsl(var(--sidebar-accent-foreground))", border: "hsl(var(--sidebar-border))", ring: "hsl(var(--sidebar-ring))" } }, borderRadius: { lg: "var(--radius)", md: "calc(var(--radius) - 2px)", sm: "calc(var(--radius) - 4px)" }, animation: { "accordion-down": "accordion-down 0.2s ease-out", "accordion-up": "accordion-up 0.2s ease-out", "glow-spin": "spin-glow var(--glowing-border-speed) linear infinite" }, keyframes: { "accordion-down": { from: { height: "0" }, to: { height: "var(--radix-accordion-content-height)" } }, "accordion-up": { from: { height: "var(--radix-accordion-content-height)" }, to: { height: "0" } }, "spin-glow": { from: { transform: "rotate(0deg)" }, to: { transform: "rotate(360deg)" } } } } }, plugins: [ u(({ addBase }) => { addBase({ ":root": { "--background": "0 0% 100%", "--foreground": "0 0% 3.9%", "--card": "0 0% 100%", "--card-foreground": "0 0% 3.9%", "--popover": "0 0% 100%", "--popover-foreground": "0 0% 3.9%", "--primary": "0 0% 9%", "--primary-foreground": "0 0% 98%", "--secondary": "0 0% 96.1%", "--secondary-foreground": "0 0% 9%", "--muted": "0 0% 96.1%", "--muted-foreground": "0 0% 45.1%", "--accent": "0 0% 96.1%", "--accent-foreground": "0 0% 9%", "--destructive": "0 84.2% 60.2%", "--destructive-foreground": "0 0% 98%", "--border": "0 0% 89.8%", "--input": "0 0% 89.8%", "--ring": "0 0% 3.9%", "--chart-1": "12 76% 61%", "--chart-2": "173 58% 39%", "--chart-3": "197 37% 24%", "--chart-4": "43 74% 66%", "--chart-5": "27 87% 67%", "--radius": "0.5rem", "--sidebar-background": "0 0% 98%", "--sidebar-foreground": "240 5.3% 26.1%", "--sidebar-primary": "240 5.9% 10%", "--sidebar-primary-foreground": "0 0% 98%", "--sidebar-accent": "240 4.8% 95.9%", "--sidebar-accent-foreground": "240 5.9% 10%", "--sidebar-border": "220 13% 91%", "--sidebar-ring": "217.2 91.2% 59.8%" }, ".dark": { "--background": "0 0% 3.9%", "--foreground": "0 0% 98%", "--card": "0 0% 3.9%", "--card-foreground": "0 0% 98%", "--popover": "0 0% 3.9%", "--popover-foreground": "0 0% 98%", "--primary": "0 0% 98%", "--primary-foreground": "0 0% 9%", "--secondary": "0 0% 14.9%", "--secondary-foreground": "0 0% 98%", "--muted": "0 0% 14.9%", "--muted-foreground": "0 0% 63.9%", "--accent": "0 0% 14.9%", "--accent-foreground": "0 0% 98%", "--destructive": "0 62.8% 30.6%", "--destructive-foreground": "0 0% 98%", "--border": "0 0% 14.9%", "--input": "0 0% 14.9%", "--ring": "0 0% 83.1%", "--chart-1": "220 70% 50%", "--chart-2": "160 60% 45%", "--chart-3": "30 80% 55%", "--chart-4": "280 65% 60%", "--chart-5": "340 75% 55%", "--sidebar-background": "240 5.9% 10%", "--sidebar-foreground": "240 4.8% 95.9%", "--sidebar-primary": "224.3 76.3% 48%", "--sidebar-primary-foreground": "0 0% 100%", "--sidebar-accent": "240 3.7% 15.9%", "--sidebar-accent-foreground": "240 4.8% 95.9%", "--sidebar-border": "240 3.7% 15.9%", "--sidebar-ring": "217.2 91.2% 59.8%" } }); }), import_tailwindcss_animate.default ] }; var preset_default = preset;