Coder Social home page Coder Social logo

themich4 / shadcn-ui-theme-explorer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from luisfilipept/shadcn-ui-theme-explorer

0.0 0.0 0.0 5.51 MB

A theme explorer for shadcn UI

Home Page: https://shadcn-ui-theme-explorer.vercel.app

License: MIT License

JavaScript 1.17% TypeScript 95.75% CSS 3.07%

shadcn-ui-theme-explorer's Introduction

All Contributors

shadcn/ui Theme Explorer released under the MIT license.

All Contributors

PRs welcome! code style: prettier

image

shadcn/ui Theme Explorer

Color the web with beautifully designed themes

Inspired by @peduarte's work on Raycast Theme Explorer, a collection of themes designed to complement shadcn/ui beautifully crafted components.

What’s In This Document

Contributing

This is a Next.js 13 app. If you're unfamiliar with it, check out the Next.js Documentation.

Download the repo and run the development server:

npm run dev

🎨 Upload a theme

  1. Add your theme info to the themes file.
  2. Create a file inside the folder styles/themes with the name of the theme you added in the previous step (if it contains spaces, replace them by -).
  3. Same format as the following example:
.theme-{theme-name}.light {
  --background: 220, 16%, 96%;
  --foreground: 222, 20%, 16%;

  --muted: 215, 14%, 80%;
  --muted-foreground: 222, 20%, 16%;

  --popover: 220, 16%, 96%;
  --popover-foreground: 222, 20%, 16%;

  --border: 222, 20%, 70%;
  --input: 222, 20%, 70%;

  --card: 220, 16%, 96%;
  --card-foreground: 222, 20%, 16%;

  --primary: 222, 20%, 70%;
  --primary-foreground: 220, 16%, 96%;

  --secondary: 215, 14%, 80%;
  --secondary-foreground: 222, 20%, 16%;

  --accent: 215, 14%, 80%;
  --accent-foreground: 222, 20%, 16%;

  --destructive: 0, 80%, 50%;
  --destructive-foreground: 222, 20%, 16%;

  --ring: 222, 20%, 70%;
}

.theme-{theme-name}.dark {
  --background: 220, 16%, 16%;
  --foreground: 222, 20%, 96%;

  --muted: 215, 14%, 25%;
  --muted-foreground: 222, 20%, 96%;

  --popover: 220, 16%, 16%;
  --popover-foreground: 222, 20%, 96%;

  --border: 222, 20%, 40%;
  --input: 222, 20%, 40%;

  --card: 220, 16%, 16%;
  --card-foreground: 222, 20%, 96%;

  --primary: 222, 20%, 40%;
  --primary-foreground: 220, 16%, 16%;

  --secondary: 215, 14%, 25%;
  --secondary-foreground: 222, 20%, 96%;

  --accent: 215, 14%, 25%;
  --accent-foreground: 222, 20%, 96%;

  --destructive: 0, 80%, 50%;
  --destructive-foreground: 222, 20%, 96%;

  --ring: 222, 20%, 40%;
}
  1. Import the file you just created in the global.css file.

❗ Code of Conduct

We expect everyone to abide by our Code of Conduct. Please read it. 🀝

πŸ“ License

Licensed under the MIT License.

πŸ’œ Thanks

Thanks to everyone contributing in any manner to this repo and we extend this thanks to everyone working on Open Source.

Sharing is Caring

Contributors ✨

Thanks goes to these wonderful people (emoji key):

ThankGod Eboreime
ThankGod Eboreime

πŸ’» 🚧
Daniel Sousa
Daniel Sousa

πŸ’» 🎨
Luis Filipe
Luis Filipe

πŸ’» πŸ“– 🎨 πŸ€” 🚧 πŸ‘€
Joana Santos
Joana Santos

πŸ’» πŸ“– 🎨 πŸ€” 🚧 πŸ‘€

This project follows the all-contributors specification. Contributions of any kind are welcome!

shadcn-ui-theme-explorer's People

Contributors

allcontributors[bot] avatar joanamcsa avatar luisfilipept avatar tutods avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.