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

✨ Feat[frontend] : Made a tailwind config customisable by api #112

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sidarth-23
Copy link
Collaborator

@sidarth-23 sidarth-23 commented Apr 19, 2024

Summary

  • Updated global CSS and theme variables to set primary and secondary colors for light and dark modes.
  • Modified tailwind configuration in UI and app components, ensuring consistency of colors and styles.
  • Made the root layout to be able to load the variables from an api call
  • Moved the css variable setting function into tailwind config package
  • Made a basic tailwind config and attached it to all relavant packages

Screenshots

Screenshot from 2024-04-19 14-47-27

  • Tested (Must)
  • Test Case added
  • Build Successful (Must)
  • Sufficient Code comments added (Must)
  • Attached Screenshots / Videos
  • All Relevant Documents added

Depends on

- Updated global CSS and theme variables to set primary and secondary colorsfor light and dark modes. 
- Modified tailwind configuration in UI and app components, ensuring consistency of colors and styles.
- Made the root layout to be able to load the variables from an api call
✨ Add custom theme variables for light and dark mode

- Moved the css variable setting function into tailwind config package
- Made a basic tailwind config and attached it to all relavant packages
✨ Update tailwindcss forms plugin

Added the require statement for @tailwindcss/forms to the plugins array in the
tailwind config file. This change ensures that only classes are generated by
the forms plugin.
@sidarth-23 sidarth-23 force-pushed the feat/tailwind-theme-setup branch from 05e1625 to e62001f Compare April 19, 2024 11:15
@sidarth-23 sidarth-23 changed the title ✨ Feat : Made a tailwind config customisable by api ✨ Feat[frontend] : Made a tailwind config customisable by api Apr 19, 2024
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.

3 participants