luisFilipePT/shadcn-ui-theme-explorer
关于
A theme explorer for shadcn UI
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文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
- Add your theme info to the themes file.
- Create a file inside the folder
styles/themeswith the name of the theme you added in the previous step (if it contains spaces, replace them by-). - 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%;
}
- Import the file you just created in the
global.cssfile.
❗ Code of Conduct
We expect everyone to abide by our Code of Conduct. Please read it. 🤝
:memo: 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 💻 🚧 |
Daniel Sousa 💻 🎨 |
Luis Filipe 💻 📖 🎨 🤔 🚧 👀 |
Joana Santos 💻 📖 🎨 🤔 🚧 👀 |
This project follows the all-contributors specification. Contributions of any kind are welcome!
探索相关项目
加载中…