TT-329 Implement TailwindCSS #743
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.








Description
The objective of this ticket is to implement TailwindCSS in the project to create new styled components or use those from the community in order to redesign the UI in a modern way, however, the official TailwindCSS documentation does not support projects using Angular version < 11.2.x.
Solution
We made use of a third party NgNeat CLI (https://github.com/ngneat/tailwind) in order to install all the packages that TailwindCSS needs to work and that are compatible with Angular v.10.2.0 (current Angular version of the Time Tracker project). All the necessary configuration for Tailwind to work correctly in the Time Tracker project was created, the styles presented in figma (https://www.figma.com/file/jm2NStjU8KZ24YVLGzi9hp/TT-Report?node-id=0%3A1) were adapted (including 'Poppins' font) and the color palette was set according to the IOET logo (see ticket TT-330: https://ioetec.atlassian.net/browse/TT-330). Now TailwindCSS is ready to use in TIme Tracker Project.