V3/revamp fixes - Theme engine and other fixes #156
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 newThemeSelect
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 withThemeSelect
component.src/components/custom/BookShelf/heading.tsx
: Updated heading color to use the newtext-primary
class.