Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V3/revamp fixes - Theme engine and other fixes #156

Merged
merged 6 commits into from
Oct 27, 2024
Merged

Conversation

piyush97
Copy link
Owner

BETA version selfhosted and theming fixes

This pull request includes significant changes to the Docker setup, theme management, and component styling in the project. The most important changes include adding a Dockerfile and .dockerignore for Docker support, implementing a new theme selection component, and updating various components to use new color variables.

Docker Setup:

  • .dockerignore: Added to exclude unnecessary files from the Docker build context.
  • Dockerfile: Created to define the Docker image for the project, using Node.js 18-alpine.

Theme Management:

  • tailwind.config.ts: Updated to support new dark themes and use CSS variables for colors. [1] [2]
  • src/components/custom/Common/Header/themeSelect.tsx: Added a new ThemeSelect component for selecting themes.
  • src/app/[locale]/globals.css: Added CSS variables for theme colors and defined styles for multiple themes. (src/app/[locale]/globals.cssL6-R46)

Component Styling:

  • src/app/[locale]/layout.tsx: Updated layout to support new themes and improved structure. (src/app/[locale]/layout.tsxL58-R80)
  • src/components/custom/Common/Header/auxbar.tsx: Replaced manual theme toggle with ThemeSelect component.
  • src/components/custom/BookShelf/heading.tsx: Updated heading color to use the new text-primary class.

Copy link

vercel bot commented Oct 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
piyush-mehta-com ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 27, 2024 2:48am

- Update bun.lockb
- Update package.json with latest versions
@piyush97 piyush97 changed the title V3/revamp fixes V3/revamp fixes - Theme engine and other fixes Oct 27, 2024
@piyush97 piyush97 merged commit 259418f into v3/revamp Oct 27, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant