feat: implement theme toggle functionality; enhance styling for About… #8
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.
This pull request includes several changes to improve the responsiveness and theming of the application. The most important changes include adding media queries for better mobile responsiveness, implementing a theme toggle button, and defining a theme management utility.
Responsiveness Improvements:
src/components/home/AboutSection.vue
: Added a media query to adjust the font size for screens with a maximum width of 768px.src/components/home/ProjectList.vue
: Added a media query to change the grid layout for screens with a maximum width of 500px.Theming Enhancements:
src/layouts/TheHeader.vue
: Added a theme toggle button in the header and implemented theme initialization on component mount.src/utils/useTheme.ts
: Created a new utility to manage light and dark themes, including functions to apply, toggle, and initialize themes.src/style.css
: Added new CSS variables for colors used in the themes and updated existing styles to use these variables. [1] [2] [3]…Section and ProjectList components; refactor CSS variables for improved theme management