Skip to content

Commit

Permalink
reset changes
Browse files Browse the repository at this point in the history
  • Loading branch information
damianricobelli committed Jan 20, 2025
1 parent 2876b1e commit d5fbdb6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 270 deletions.
22 changes: 0 additions & 22 deletions apps/www/__registry__/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -590,17 +590,6 @@ export const Index: Record<string, any> = {
source: "",
meta: undefined,
},
"stepper": {
name: "stepper",
type: "components:ui",
registryDependencies: undefined,
component: React.lazy(() => import("@/registry/default/ui/stepper")),
source: "",
files: ["registry/default/ui/stepper.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"switch": {
name: "switch",
description: "",
Expand Down Expand Up @@ -5856,17 +5845,6 @@ export const Index: Record<string, any> = {
source: "",
meta: undefined,
},
"stepper": {
name: "stepper",
type: "components:ui",
registryDependencies: undefined,
component: React.lazy(() => import("@/registry/new-york/ui/stepper")),
source: "",
files: ["registry/new-york/ui/stepper.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"switch": {
name: "switch",
description: "",
Expand Down
4 changes: 1 addition & 3 deletions apps/www/components/mdx-components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import { ComponentPreview } from "@/components/component-preview"
import { ComponentSource } from "@/components/component-source"
import { CopyButton, CopyNpmCommandButton } from "@/components/copy-button"
import { FrameworkDocs } from "@/components/framework-docs"
import { PropsTable } from "@/components/props-table"
import { StyleWrapper } from "@/components/style-wrapper"
import {
Accordion,
Expand Down Expand Up @@ -239,7 +238,6 @@ const components = {
),
Image,
Callout,
PropsTable,
ComponentPreview,
ComponentExample,
ComponentSource,
Expand Down Expand Up @@ -339,4 +337,4 @@ export function Mdx({ code }: MdxProps) {
<Component components={components} />
</div>
)
}
}
152 changes: 0 additions & 152 deletions apps/www/components/props-table.tsx

This file was deleted.

101 changes: 8 additions & 93 deletions tailwind.config.cjs
Original file line number Diff line number Diff line change
@@ -1,96 +1,11 @@
const { fontFamily } = require("tailwindcss/defaultTheme")
const baseConfig = require("../../tailwind.config.cjs")

/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: ["class"],
content: ["app/**/*.{ts,tsx}", "components/**/*.{ts,tsx}"],
theme: {
extend: {
fontFamily: {
sans: ["var(--font-geist-sans)", ...fontFamily.sans],
mono: ["var(--font-geist-mono)", ...fontFamily.mono],
},
colors: {
border: "hsl(var(--border))",
input: "hsl(var(--input))",
ring: "hsl(var(--ring))",
background: "hsl(var(--background))",
foreground: "hsl(var(--foreground))",
primary: {
DEFAULT: "hsl(var(--primary))",
foreground: "hsl(var(--primary-foreground))",
},
secondary: {
DEFAULT: "hsl(var(--secondary))",
foreground: "hsl(var(--secondary-foreground))",
},
destructive: {
DEFAULT: "hsl(var(--destructive) / <alpha-value>)",
foreground: "hsl(var(--destructive-foreground) / <alpha-value>)",
},
muted: {
DEFAULT: "hsl(var(--muted))",
foreground: "hsl(var(--muted-foreground))",
},
accent: {
DEFAULT: "hsl(var(--accent))",
foreground: "hsl(var(--accent-foreground))",
},
popover: {
DEFAULT: "hsl(var(--popover))",
foreground: "hsl(var(--popover-foreground))",
},
card: {
DEFAULT: "hsl(var(--card))",
foreground: "hsl(var(--card-foreground))",
},
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: {
xl: "calc(var(--radius) + 4px)",
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
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" },
},
"collapsible-down": {
from: { height: "0" },
to: { height: "var(--radix-collapsible-content-height)" },
},
"collapsible-up": {
from: { height: "var(--radix-collapsible-content-height)" },
to: { height: "0" },
},
"caret-blink": {
"0%,70%,100%": { opacity: "1" },
"20%,50%": { opacity: "0" },
},
},
animation: {
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
"caret-blink": "caret-blink 1.25s ease-out infinite",
"collapsible-down": "collapsible-down 0.2s ease-out",
"collapsible-up": "collapsible-up 0.2s ease-out",
},
},
},
plugins: [require("tailwindcss-animate")],
}
...baseConfig,
content: [
...baseConfig.content,
"content/**/*.mdx",
"registry/**/*.{ts,tsx}",
],
}

0 comments on commit d5fbdb6

Please sign in to comment.