fix: migrate Tailwind v4 - update all deprecated opacity utilities (#119)#287
Open
64johnlee wants to merge 2 commits intomsoedov:mainfrom
Open
fix: migrate Tailwind v4 - update all deprecated opacity utilities (#119)#28764johnlee wants to merge 2 commits intomsoedov:mainfrom
64johnlee wants to merge 2 commits intomsoedov:mainfrom
Conversation
- Replace bg-opacity-NN with bg-color/NN (Tailwind v4 slash notation) - Replace hover:bg-opacity-80 with hover:bg-color/80 for specific colors - Replace hover:/80 (bare) with appropriate hover:bg-color/80 - Apply to PageContent.vue, PageConfigs.vue, index.html Addresses: msoedov#119
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Migrate Tailwind CSS to v4 by updating all deprecated opacity utilities:
bg-opacity-NNwithbg-color/NN(Tailwind v4 slash notation)hover:bg-opacity-80withhover:bg-color/80for each specific colorhover:/80with appropriate color-specifichover:bg-color/80proxy_tailwindcss()to serve Tailwind v4 CDNFiles Changed
agentic_security/routes/static.py- Update CDN URL to@tailwindcss/browser@4agentic_security/static/partials/concent.html- 3 opacity updatesagentic_security/static/index.html- 17 opacity updatesui/src/components/PageContent.vue- 3 opacity updatesui/src/components/PageConfigs.vue- 16 opacity updatesTesting
npm run buildinui/directoryCloses #119