Repository navigation
v1.7.2
Patch Changes
-
#74
ea0653aThanks @tenphi! -valid-custom-propertyno longer reports Tasty's built-in custom properties as unknown when the config liststokens:$gap,$radius,$border-width,$outline-width,$transition,$sharp-radius,$bold-font-weight,$font-sans-fallbackand$font-mono-fallback, including the$$nameform. Before, they were accepted only when the plugin could load thetasty.config.tsthat@tenphi/tastyships, and that file lacks the two font fallbacks. -
#76
51f5ed3Thanks @tenphi! -valid-transitionreports a camelCase CSS name such asgridTemplateColumnsormaskSize, with a suggestion for the kebab-case name. Tasty lowercases the name and emits it verbatim, so it compiles to no property at all (gridtemplatecolumns). Names with a semantic equivalent (boxShadow) keep the semantic suggestion, andzIndexis still accepted. -
#73
4362959Thanks @tenphi! - Align four rules with what@tenphi/tastydoes.valid-color-tokenno longer reports Tasty's built-in color tokens as unknown when the config liststokens:#current,#clear,#white,#black,#borderand#outline, with or without an opacity suffix. This includes the#clearthatprefer-custom-property-syntaxwrites fortransparent.valid-transitionreportsflowanddimension, which are not Tasty transition names (Tasty emits them verbatim as invalid CSS). It no longer suggestsflowforflex-direction/grid-auto-flow, orgridColumns/gridRowsforgrid-template-columns/grid-template-rows.valid-presetaccepts thenormalmodifier (line-height: normal), both after a slash (h1 / normal) and as the modifier-only shorthand (preset: 'normal').- Color token opacity suffixes are read as a decimal fraction, as Tasty reads them, so any digit string is valid:
#purple.150(15%) and#purple.999(99.9%) no longer report "exceeds 100". A suffix that is not a digit string, such as#purple.5.5, is now reported.