Skip to content

fix: migrate Tailwind v4 - update all deprecated opacity utilities (#119)#287

Open
64johnlee wants to merge 2 commits intomsoedov:mainfrom
64johnlee:tailwind-v4-fix
Open

fix: migrate Tailwind v4 - update all deprecated opacity utilities (#119)#287
64johnlee wants to merge 2 commits intomsoedov:mainfrom
64johnlee:tailwind-v4-fix

Conversation

@64johnlee
Copy link
Copy Markdown

Summary

Migrate Tailwind CSS to v4 by updating all deprecated opacity utilities:

  • Replace bg-opacity-NN with bg-color/NN (Tailwind v4 slash notation)
  • Replace hover:bg-opacity-80 with hover:bg-color/80 for each specific color
  • Replace bare hover:/80 with appropriate color-specific hover:bg-color/80
  • Update proxy_tailwindcss() to serve Tailwind v4 CDN

Files Changed

  • agentic_security/routes/static.py - Update CDN URL to @tailwindcss/browser@4
  • agentic_security/static/partials/concent.html - 3 opacity updates
  • agentic_security/static/index.html - 17 opacity updates
  • ui/src/components/PageContent.vue - 3 opacity updates
  • ui/src/components/PageConfigs.vue - 16 opacity updates

Testing

  • npm run build in ui/ directory
  • Verify all Vue components render correctly with new Tailwind v4 classes

Closes #119

Ayoub-Aguezar-12 and others added 2 commits May 3, 2026 08:54
- 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
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.

Migrate vue to tailwind css v4.0

1 participant