├── .gitignore ├── LICENSE ├── README.md ├── app ├── api │ └── themes │ │ └── route.ts ├── favicon.ico ├── globals.css ├── layout.tsx └── page.tsx ├── bun.lock ├── components.json ├── components ├── providers.tsx ├── sections │ ├── Features.tsx │ ├── Footer.tsx │ ├── Hero.tsx │ ├── HookApi.tsx │ ├── Installation.tsx │ ├── ThemePreview.tsx │ └── index.ts └── ui │ ├── badge.tsx │ ├── button.tsx │ ├── card.tsx │ ├── code-block.tsx │ ├── code.tsx │ ├── color-theme-switcher.tsx │ ├── dropdown-menu.tsx │ ├── input.tsx │ ├── label.tsx │ ├── scroll-area.tsx │ ├── select.tsx │ ├── separator.tsx │ ├── slider.tsx │ ├── switch.tsx │ ├── tabs.tsx │ ├── textarea.tsx │ ├── theme-mode-toggle.tsx │ ├── theme-picker.tsx │ └── theme-switcher.tsx ├── eslint.config.mjs ├── lib ├── color-converter.ts ├── fix-global-css.ts ├── theme-presets.ts ├── theme-provider.tsx ├── types.ts ├── use-theme-switch.ts └── utils.ts ├── next.config.ts ├── package.json ├── pnpm-lock.yaml ├── postcss.config.mjs ├── public ├── file.svg ├── globe.svg ├── next.svg ├── r │ └── colorswitchcn.json ├── vercel.svg └── window.svg ├── registry.json ├── registry └── layout.tsx ├── tailwind.config.ts └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/README.md -------------------------------------------------------------------------------- /app/api/themes/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/app/api/themes/route.ts -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/app/globals.css -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/app/layout.tsx -------------------------------------------------------------------------------- /app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/app/page.tsx -------------------------------------------------------------------------------- /bun.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/bun.lock -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/components.json -------------------------------------------------------------------------------- /components/providers.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/components/providers.tsx -------------------------------------------------------------------------------- /components/sections/Features.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/components/sections/Features.tsx -------------------------------------------------------------------------------- /components/sections/Footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/components/sections/Footer.tsx -------------------------------------------------------------------------------- /components/sections/Hero.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/components/sections/Hero.tsx -------------------------------------------------------------------------------- /components/sections/HookApi.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/components/sections/HookApi.tsx -------------------------------------------------------------------------------- /components/sections/Installation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/components/sections/Installation.tsx -------------------------------------------------------------------------------- /components/sections/ThemePreview.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/components/sections/ThemePreview.tsx -------------------------------------------------------------------------------- /components/sections/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/components/sections/index.ts -------------------------------------------------------------------------------- /components/ui/badge.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/components/ui/badge.tsx -------------------------------------------------------------------------------- /components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/components/ui/button.tsx -------------------------------------------------------------------------------- /components/ui/card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/components/ui/card.tsx -------------------------------------------------------------------------------- /components/ui/code-block.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/components/ui/code-block.tsx -------------------------------------------------------------------------------- /components/ui/code.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/components/ui/code.tsx -------------------------------------------------------------------------------- /components/ui/color-theme-switcher.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/components/ui/color-theme-switcher.tsx -------------------------------------------------------------------------------- /components/ui/dropdown-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/components/ui/dropdown-menu.tsx -------------------------------------------------------------------------------- /components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/components/ui/input.tsx -------------------------------------------------------------------------------- /components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/components/ui/label.tsx -------------------------------------------------------------------------------- /components/ui/scroll-area.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/components/ui/scroll-area.tsx -------------------------------------------------------------------------------- /components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/components/ui/select.tsx -------------------------------------------------------------------------------- /components/ui/separator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/components/ui/separator.tsx -------------------------------------------------------------------------------- /components/ui/slider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/components/ui/slider.tsx -------------------------------------------------------------------------------- /components/ui/switch.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/components/ui/switch.tsx -------------------------------------------------------------------------------- /components/ui/tabs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/components/ui/tabs.tsx -------------------------------------------------------------------------------- /components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/components/ui/textarea.tsx -------------------------------------------------------------------------------- /components/ui/theme-mode-toggle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/components/ui/theme-mode-toggle.tsx -------------------------------------------------------------------------------- /components/ui/theme-picker.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/components/ui/theme-picker.tsx -------------------------------------------------------------------------------- /components/ui/theme-switcher.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/components/ui/theme-switcher.tsx -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /lib/color-converter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/lib/color-converter.ts -------------------------------------------------------------------------------- /lib/fix-global-css.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/lib/fix-global-css.ts -------------------------------------------------------------------------------- /lib/theme-presets.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/lib/theme-presets.ts -------------------------------------------------------------------------------- /lib/theme-provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/lib/theme-provider.tsx -------------------------------------------------------------------------------- /lib/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/lib/types.ts -------------------------------------------------------------------------------- /lib/use-theme-switch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/lib/use-theme-switch.ts -------------------------------------------------------------------------------- /lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/lib/utils.ts -------------------------------------------------------------------------------- /next.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/next.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/postcss.config.mjs -------------------------------------------------------------------------------- /public/file.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/public/file.svg -------------------------------------------------------------------------------- /public/globe.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/public/globe.svg -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/r/colorswitchcn.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/public/r/colorswitchcn.json -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /public/window.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/public/window.svg -------------------------------------------------------------------------------- /registry.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/registry.json -------------------------------------------------------------------------------- /registry/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/registry/layout.tsx -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heywinit/colorswitchcn/HEAD/tsconfig.json --------------------------------------------------------------------------------