mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
* Move border reset to borderColor plugin, support opacity * Update JIT tests * Don't use opacity variable for default border color when borderOpacity is disabled * Fix tests
26 lines
627 B
CSS
26 lines
627 B
CSS
*,
|
|
::before,
|
|
::after {
|
|
--tw-border-opacity: 1;
|
|
border-color: rgba(229, 231, 235, var(--tw-border-opacity));
|
|
}
|
|
* {
|
|
--tw-shadow: 0 0 #0000;
|
|
--tw-ring-inset: var(--tw-empty, /*!*/ /*!*/);
|
|
--tw-ring-offset-width: 0px;
|
|
--tw-ring-offset-color: #fff;
|
|
--tw-ring-color: rgba(59, 130, 246, 0.5);
|
|
--tw-ring-offset-shadow: 0 0 #0000;
|
|
--tw-ring-shadow: 0 0 #0000;
|
|
}
|
|
.bg-red-500 {
|
|
--tw-bg-opacity: 1;
|
|
background-color: rgba(239, 68, 68, var(--tw-bg-opacity));
|
|
}
|
|
@media (min-width: 1024px) {
|
|
.lg\:hover\:bg-blue-500:hover {
|
|
--tw-bg-opacity: 1;
|
|
background-color: rgba(59, 130, 246, var(--tw-bg-opacity));
|
|
}
|
|
}
|