Skip to content

Replace currentColor with currentcolor (lowercase) #17510

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3522,7 +3522,7 @@ No release notes

- Lists now have no margins by default
- `.pin` no longer sets width and height to 100%
- SVG `fill` no longer defaults to currentColor
- SVG `fill` no longer defaults to currentcolor

## [0.2.2] - 2017-11-19

Expand Down
2 changes: 1 addition & 1 deletion integrations/cli/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1727,7 +1727,7 @@ test(
}
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
::placeholder {
color: color-mix(in oklab, currentColor 50%, transparent);
color: color-mix(in oklab, currentcolor 50%, transparent);
}
}
textarea {
Expand Down
84 changes: 42 additions & 42 deletions integrations/upgrade/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ test(
@import 'tailwindcss';

/*
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
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.

Expand All @@ -133,7 +133,7 @@ test(
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
border-color: var(--color-gray-200, currentcolor);
}
}

Expand Down Expand Up @@ -218,7 +218,7 @@ test(
@import 'tailwindcss' prefix(tw);

/*
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
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.

Expand All @@ -231,7 +231,7 @@ test(
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
border-color: var(--color-gray-200, currentcolor);
}
}

Expand Down Expand Up @@ -282,7 +282,7 @@ test(
@import 'tailwindcss';

/*
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
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.

Expand All @@ -295,7 +295,7 @@ test(
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
border-color: var(--color-gray-200, currentcolor);
}
}

Expand Down Expand Up @@ -354,7 +354,7 @@ test(
@import 'tailwindcss';

/*
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
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.

Expand All @@ -367,7 +367,7 @@ test(
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
border-color: var(--color-gray-200, currentcolor);
}
}

Expand Down Expand Up @@ -431,7 +431,7 @@ test(
@import 'tailwindcss';

/*
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
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.

Expand All @@ -444,7 +444,7 @@ test(
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
border-color: var(--color-gray-200, currentcolor);
}
}

Expand Down Expand Up @@ -540,7 +540,7 @@ test(
@import 'tailwindcss';

/*
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
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.

Expand All @@ -553,7 +553,7 @@ test(
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
border-color: var(--color-gray-200, currentcolor);
}
}

Expand Down Expand Up @@ -1044,7 +1044,7 @@ test(
@import './utilities.css';

/*
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
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.

Expand All @@ -1057,7 +1057,7 @@ test(
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
border-color: var(--color-gray-200, currentcolor);
}
}

Expand Down Expand Up @@ -1492,7 +1492,7 @@ test(
@config './tailwind.config.ts';

/*
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
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.

Expand All @@ -1505,7 +1505,7 @@ test(
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
border-color: var(--color-gray-200, currentcolor);
}
}

Expand All @@ -1516,7 +1516,7 @@ test(
@config "../../tailwind.config.ts";

/*
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
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.

Expand All @@ -1529,7 +1529,7 @@ test(
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
border-color: var(--color-gray-200, currentcolor);
}
}

Expand All @@ -1550,7 +1550,7 @@ test(
}

/*
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
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.

Expand All @@ -1563,7 +1563,7 @@ test(
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
border-color: var(--color-gray-200, currentcolor);
}
}

Expand All @@ -1579,7 +1579,7 @@ test(
@import 'tailwindcss/preflight' layer(base);

/*
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
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.

Expand All @@ -1592,7 +1592,7 @@ test(
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
border-color: var(--color-gray-200, currentcolor);
}
}

Expand All @@ -1610,7 +1610,7 @@ test(
@config '../../tailwind.config.ts';

/*
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
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.

Expand All @@ -1623,7 +1623,7 @@ test(
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
border-color: var(--color-gray-200, currentcolor);
}
}
"
Expand Down Expand Up @@ -1790,7 +1790,7 @@ test(
@import 'tailwindcss/preflight' layer(base);

/*
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
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.

Expand All @@ -1803,7 +1803,7 @@ test(
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
border-color: var(--color-gray-200, currentcolor);
}
}

Expand Down Expand Up @@ -1926,7 +1926,7 @@ test(
@import 'tailwindcss/preflight' layer(base);

/*
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
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.

Expand All @@ -1939,7 +1939,7 @@ test(
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
border-color: var(--color-gray-200, currentcolor);
}
}

Expand Down Expand Up @@ -2043,7 +2043,7 @@ test(
@import 'tailwindcss/preflight' layer(base);

/*
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
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.

Expand All @@ -2056,7 +2056,7 @@ test(
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
border-color: var(--color-gray-200, currentcolor);
}
}

Expand Down Expand Up @@ -2118,7 +2118,7 @@ test(
@import './styles/components.css' layer(components);

/*
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
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.

Expand All @@ -2131,7 +2131,7 @@ test(
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
border-color: var(--color-gray-200, currentcolor);
}
}

Expand Down Expand Up @@ -2349,7 +2349,7 @@ test(
}

/*
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
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.

Expand All @@ -2362,7 +2362,7 @@ test(
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
border-color: var(--color-gray-200, currentcolor);
}
}

Expand Down Expand Up @@ -2434,7 +2434,7 @@ test(
@import 'tailwindcss';

/*
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
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.

Expand All @@ -2447,7 +2447,7 @@ test(
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
border-color: var(--color-gray-200, currentcolor);
}
}

Expand Down Expand Up @@ -2547,7 +2547,7 @@ test(
@import 'tailwindcss/preflight' layer(base);

/*
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
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.

Expand All @@ -2560,7 +2560,7 @@ test(
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
border-color: var(--color-gray-200, currentcolor);
}
}

Expand Down Expand Up @@ -2725,7 +2725,7 @@ test(
}

/*
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
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.

Expand All @@ -2738,7 +2738,7 @@ test(
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
border-color: var(--color-gray-200, currentcolor);
}
}
"
Expand Down Expand Up @@ -2789,7 +2789,7 @@ test(
@import 'tailwindcss';

/*
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
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.

Expand All @@ -2802,7 +2802,7 @@ test(
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
border-color: var(--color-gray-200, currentcolor);
}
}
"
Expand Down
Loading