Skip to content

Commit

Permalink
feat: make tracking support arbitrary css
Browse files Browse the repository at this point in the history
  • Loading branch information
arlyon committed Nov 30, 2022
1 parent 92dcc97 commit 7eaab04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/tailwind-parse/src/eval/plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ lookup_plugin!(bottom, height, "bottom");
lookup_plugin!(fill, colors, "fill");
lookup_plugin!(left, width, "left");
lookup_plugin!(right, width, "right");
lookup_plugin!(tracking, letter_spacing, "letterSpacing");
lookup_plugin_arbitrary!(tracking, letter_spacing, "letterSpacing");
lookup_plugin_arbitrary!(h, height, "height");
lookup_plugin!(to, colors, "--tw-gradient-to");
lookup_plugin_arbitrary!(w, width, "width");
Expand Down
2 changes: 1 addition & 1 deletion crates/tailwind-parse/src/literal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ impl<'a> Literal<'a> {
Left => Required(plugin::left),
Right => Required(plugin::right),
Translate => Required(plugin::translate),
Tracking => Required(plugin::tracking),
Tracking => RequiredArbitrary(plugin::tracking),
Invert => Optional(plugin::invert),
Space => Required(plugin::space),
Transform => Optional(plugin::transform),
Expand Down

0 comments on commit 7eaab04

Please sign in to comment.