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
Document how to safelist, especially when selectors are used (particularly data-theme)
Update "Here's an example of combining prefers-contrast: high with the :hover variant:" to use a low-contrast theme to beat it into people's heads that they should do strictly mutually exclusive and comprehensive themes. Is that a good idea?
Document @supports support (alongside media queries)
Provide easy to use presets to put in Tailwind config e.x. require("tailwindcss-theme-variants/presets/dark-mode") to replace Tailwind 2.0's dark mode implementation
Verify semantics work with non-color utilities
Become compatible with Tailwind 2.0 by setting noie11 = target === undefined because the target feature has been removed there
Work on these will only start once the above goals are complete. Release strategy will be 2.0.0-beta-0 and so on until 2.0.0 is marked stable.
Rename utilities.ts to theme-and-variable-converters.ts
fallback: true means what fallback: "compact" currently means and fallback: "uncompacted" or fallback: "expanded" or fallback: "uncompressed" means what fallback: true currently means
Goals
light-and-dark
preset's internalsrequire("tailwindcss-theme-variants/presets/typography")
preset (but don't expose it because it's dependent onlight-and-dark
being set up?)require("tailwindcss-theme-variants/presets/recommended")
superpreset that installslight-and-dark
andtypography
presetsdata-theme
)@supports
support (alongside media queries)require("tailwindcss-theme-variants/presets/dark-mode")
to replace Tailwind 2.0's dark mode implementationnoie11
=target === undefined
because thetarget
feature has been removed there({ after }) => after(["theme-variant-1", "theme-variant-2"])
#6Breaking changes
Work on these will only start once the above goals are complete. Release strategy will be
2.0.0-beta-0
and so on until 2.0.0 is marked stable.utilities.ts
totheme-and-variable-converters.ts
fallback: true
means whatfallback: "compact"
currently means andfallback: "uncompacted"
orfallback: "expanded"
orfallback: "uncompressed"
means whatfallback: true
currently meansPost-release
The text was updated successfully, but these errors were encountered: