Comments (3)
Had to set darkMode: 'false' in tailwind.config.js
Would be cool if there was a way to style the KBar directly though
from tailwind-nextjs-starter-blog.
Had to set darkMode: 'false' in tailwind.config.js
Would be cool if there was a way to style the KBar directly though
It' possible, but you'll need to copy paste the kbar components from Pliny in your app, and reorganize imports. I did it for my unofficial i18n version (in my case, to manage translations)
from tailwind-nextjs-starter-blog.
Hi @juskek, it follows the tailwind dark mode setting of the site. Rather than modify tailwind.config.js
, I suggest keeping the default and modifying siteMetadata - this will propagate the changes correctly (if you toggle the theme switch on the demo website, you can see that the kbar search also changes accordingly).
For other changes and maximum flexibility, it will be easier to copy the code from pliny and modify the tailwind styles accordingly.
from tailwind-nextjs-starter-blog.
Related Issues (20)
- Help !! Navigation tabs not visible in Brave browser. HOT 8
- The list style is wrong HOT 3
- Gisus comment is not working HOT 5
- Contentlayer is no longer maintained and causing multiple build errors on first try HOT 10
- How to apply Incremental Static Regeneration? HOT 2
- Newsletter Color Scheme Change for Light and Dark mode. [Accessibility] HOT 3
- I cannot run ``yarn run dev`` on Windows 10 HOT 1
- CVE-2023-42282: NPM IP package vulnerable to Server-Side Request Forgery (SSRF) attacks HOT 1
- Integrating YT video canvases in MD HOT 4
- Date Mismatch from Tags Pages to Article itself and Main Page HOT 3
- adding Authjs HOT 1
- [Feature request] navbar dropdown HOT 4
- Font is showing in production but not in local HOT 1
- Add pagination to the tags page HOT 3
- Fails to deploy to Github Pages HOT 4
- Unable to install HOT 3
- Where should I put this script? HOT 3
- Blog Posts with 'draft' Status Incorrectly Displayed HOT 2
- deploy vercel go wrong HOT 8
- Collapsable Markdown Headers/Lists HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tailwind-nextjs-starter-blog.