Skip to content

Update Tailwind v4 CDN and opacity classes#279

Open
samuel-asleep wants to merge 2 commits intomsoedov:mainfrom
samuel-asleep:main
Open

Update Tailwind v4 CDN and opacity classes#279
samuel-asleep wants to merge 2 commits intomsoedov:mainfrom
samuel-asleep:main

Conversation

@samuel-asleep
Copy link

@samuel-asleep samuel-asleep commented Feb 7, 2026

This pull request updates the styling of the static HTML files to use the more modern Tailwind CSS color opacity syntax and improves the inclusion of Tailwind CSS. The changes mainly focus on making the codebase more consistent and leveraging Tailwind’s shorthand for color opacity, which increases readability and maintainability.

Styling improvements:

  • Updated all instances of color with opacity classes from the older bg-color bg-opacity-x format to the newer shorthand bg-color/x format throughout agentic_security/static/index.html and agentic_security/static/partials/concent.html. This affects backgrounds, borders, hover states, and modal overlays, resulting in more concise and modern Tailwind CSS usage. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14]

Dependency update:

  • Changed the Tailwind CSS script source in agentic_security/static/partials/head.html to use the official CDN (jsdelivr) for @tailwindcss/browser@4.0.0 instead of a local file, ensuring the latest browser-compatible Tailwind features are available.
  • Closes Migrate vue to tailwind css v4.0 #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

Comments