Comments (2)
Describe the solution you'd like I would like to know or to have a variable that sets the default theme. Currelty I see that the system theme is being implemented as default, but my website is not prepared for themes yet so I would like to HARDCODE light theme. How would I do that?
Describe alternatives you've considered I was thinking about throwing out all theme settings in tailwind config but I dont want to do that since I will soon move to setting up themes.
Additional context That´s more of a question if it´s possible to set a light theme as default somewhere now?
Hey @hvitis! Thanks for reaching out and opening an issue.
To have the theme default to light, simply remove the dark
css class in the element in src/pages/_document.js on line 12
from elegant-cli.
Hey @hvitis, I hope all is well!
I have not heard any more feedback on this issue, and it has gone stale. I am closing this issue for now, but feel free to comment or reopen it if you are still having issues.
Thank you again for supporting Elegant 😎
from elegant-cli.
Related Issues (20)
- The dropdown selector options are not visible in the content editor.
- Docs - RSS Feed - Create doc explaining the RSS feed feature.
- The "Sign out" button in the CMS admin panel is not clickable. HOT 7
- A project with no .env variables set will break during build.. Fix this HOT 1
- not working new collection HOT 2
- Create a Newsletter Signup Success Page
- Create Vercel "One Click Deployment" for Elegant. HOT 2
- Enhance Blog Editing with a Table Component HOT 3
- Bug: The last Heading element of page is not reachable via the Table of Contents
- YouTube videos added with the content editor break the mobile view on the frontend
- Images are not saving to their adjusted sizes after clicking save in the content editor.
- Remove commented out code from 404 page.
- Fix code scanning alert - Potentially unsafe external link
- Fix code scanning alert - Potentially unsafe external link HOT 1
- Fix code scanning alert - Potentially unsafe external link HOT 1
- Adding Pagination Feature to Elegant Framework HOT 3
- Is it possible to add Elegant to an existing Nextjs project? HOT 2
- Add Postgresql support to Elegant using Prisma HOT 1
- Migrate Elegant to Next 14, and the app router; away from the old pages routing.
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 elegant-cli.