You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains 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
Holy shit it's actually done — we just tagged Tailwind CSS v4.0.
Tailwind CSS v4.0 is an all-new version of the framework optimized for performance and flexibility, with a reimagined configuration and customization experience, and taking full advantage of the latest advancements the web platform has to offer.
New high-performance engine — where full builds are up to 5x faster, and incremental builds are over 100x faster — and measured in microseconds.
Designed for the modern web — built on cutting-edge CSS features like cascade layers, registered custom properties with @property, and color-mix().
Simplified installation — fewer dependencies, zero configuration, and just a single line of code in your CSS file.
First-party Vite plugin — tight integration for maximum performance and minimum configuration.
Automatic content detection — all of your template files are discovered automatically, with no configuration required.
CSS-first configuration — a reimagined developer experience where you customize and extend the framework directly in CSS instead of a JavaScript configuration file.
CSS theme variables — all of your design tokens exposed as native CSS variables so you can access them anywhere.
Dynamic utility values and variants — stop guessing what values exist in your spacing scale, or extending your configuration for things like basic data attributes.
Modernized P3 color palette — a redesigned, more vivid color palette that takes full advantage of modern display technology.
Container queries — first-class APIs for styling elements based on their container size, no plugins required.
For existing projects, we've published a comprehensive upgrade guide and built an automated upgrade tool to get you on the latest version as quickly and painlessly as possible.
CSS-first configuration — a reimagined developer experience where you customize and extend the framework directly in CSS instead of a JavaScript configuration file.
CSS theme variables — all of your design tokens exposed as native CSS variables so you can access them anywhere.
Dynamic utility values and variants — stop guessing what values exist in your spacing scale, or extending your configuration for things like basic data attributes.
Modernized P3 color palette — a redesigned, more vivid color palette that takes full advantage of modern display technology.
Container queries — first-class APIs for styling elements based on their container size, no plugins required.
For existing projects, we've published a comprehensive upgrade guide and built an automated upgrade tool to get you on the latest version as quickly and painlessly as possible.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot merge will merge this PR after your CI passes on it
@dependabot squash and merge will squash and merge this PR after your CI passes on it
@dependabot cancel merge will cancel a previously requested merge and block automerging
@dependabot reopen will reopen this PR if it is closed
@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Major changes to Tailwind configuration and CSS architecture that could affect styling across the application. The switch from Tailwind v3 to v4 introduces new defaults and syntax that need thorough testing.
@import'tailwindcss';
@custom-variant dark (&:is(.dark*));
@theme {
--font-sans:var(--font-geist-sans);
--font-mono:var(--font-geist-mono);
--font-neue:'PP Neue Montreal TT', sans-serif;
--font-poppin:var(--font-poppins);
--font-inter:var(--font-inter);
--color-border:hsl(var(--border));
--color-input:hsl(var(--input));
--color-ring:hsl(var(--ring));
--color-background:hsl(var(--background));
--color-foreground:hsl(var(--foreground));
--color-primary:hsl(var(--primary));
--color-primary-foreground:hsl(var(--primary-foreground));
--color-secondary:hsl(var(--secondary));
--color-secondary-foreground:hsl(var(--secondary-foreground));
--color-destructive:hsl(var(--destructive));
--color-destructive-foreground:hsl(var(--destructive-foreground));
--color-muted:hsl(var(--muted));
--color-muted-foreground:hsl(var(--muted-foreground));
--color-accent:hsl(var(--accent));
--color-accent-foreground:hsl(var(--accent-foreground));
--color-popover:hsl(var(--popover));
--color-popover-foreground:hsl(var(--popover-foreground));
--color-card:hsl(var(--card));
--color-card-foreground:hsl(var(--card-foreground));
--color-custom-gray-100:#d9d9d9;
--color-custom-gray-200:#a8a8a8;
--color-custom-gray-300:#878787;
--color-custom-gray-400:#646464;
--color-custom-gray-500:#474747;
--color-custom-gray-600:#282828;
--color-custom-gray-700:#272727;
--spacing-39:9.875rem;
--spacing-63:15.875rem;
--spacing-68:17.75rem;
--spacing-69:14.875rem;
--spacing-77:18.5625rem;
--spacing-89:22.5rem;
--spacing-139:37.1875rem;
--spacing-167:41.6875rem;
--radius-lg:var(--radius);
--radius-md:calc(var(--radius) -2px);
--radius-sm:calc(var(--radius) -4px);
--radius-full:9999px;
--animate-accordion-down: accordion-down 0.2s ease-out;
--animate-accordion-up: accordion-up 0.2s ease-out;
@keyframes accordion-down {
from {
height:0;
}
to {
height:var(--radix-accordion-content-height);
}
}
@keyframes accordion-up {
from {
height:var(--radix-accordion-content-height);
}
to {
height:0;
}
}
}
@utility container {
margin-inline: auto;
padding-inline:2rem;
@media (width >=--theme(--breakpoint-sm)) {
max-width: none;
}
@media (width >= 1400px) {
max-width:1400px;
}
}
/* The default border color has changed to `currentColor` in Tailwind CSS v4, so we've added these compatibility styles to make sure everything still looks the same as it did with Tailwind CSS v3. If we ever want to remove these styles, we need to add an explicit border color utility to any element that depends on these defaults.*/@layer base {
*,
::after,
::before,
::backdrop,
::file-selector-button {
border-color:var(--color-gray-200, currentColor);
}
}
@utility w-110 {
width:27.5rem;
}
@utility h-7.5 {
height:1.1875rem;
}
@utility h-18 {
height:4.5rem;
}
@utility h-238 {
height:14.875rem;
}
@utility top-158 {
top:9.875rem;
}
@utility top-254 {
top:15.875rem;
}
@utility top-284 {
top:17.75rem;
}
@utility top-360 {
top:22.5rem;
}
@utility left-297 {
left:18.5625rem;
}
@utility left-34 {
left:2.125rem;
}
@utility text-balance {
text-wrap: balance;
}
@layer base {
.font-neue {
font-family:"PP Neue Montreal TT", sans-serif;
}
}
@layer base {
The PostCSS configuration has been updated to use @tailwindcss/postcss instead of the standard tailwindcss plugin. This change needs validation to ensure proper CSS processing.
'@tailwindcss/postcss': {},
ntindle
changed the title
feat(frontend): update tailwind to 4.0.0
chore(frontend/deps-dev): bump tailwindcss from 3.4.17 to 4.0.0 in /autogpt_platform/frontend
Jan 29, 2025
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.
Bumps tailwindcss from 3.4.17 to 4.0.0.
Release notes
Sourced from tailwindcss's releases.
... (truncated)
Changelog
Sourced from tailwindcss's changelog.
... (truncated)
Commits
a8c54ac
Prepare v4.0.0 release (#15693)8a97a6a
v4.0.0-beta.10 (#15691)4820f6b
Transitionoutline-color
(#15690)79f21a8
Preventnot-*
from being used with variants with multiple sibling rules (#1...4035ab0
Implement@variant
(#15663)a51b214
Use more modern--alpha(color / 50%)
syntax (#15665)2f8c517
Ensure-outline-offset-*
utilities are suggested in IntelliSense (#15646)528c848
Discard invalid variants such asdata-checked-[selected=1]:*
(#15629)2de644b
Remove@property
fallbacks for Firefox (#15622)da2da51
Resolve values in functional utilities based on@theme
options (#15623)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)