Skip to content
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

fmt(css): Break custom tailwindcss class #27574

Open
ryuapp opened this issue Jan 7, 2025 · 1 comment
Open

fmt(css): Break custom tailwindcss class #27574

ryuapp opened this issue Jan 7, 2025 · 1 comment
Labels
bug Something isn't working correctly deno fmt Related to the "deno fmt" subcommand or dprint

Comments

@ryuapp
Copy link

ryuapp commented Jan 7, 2025

Version: Deno 2.1.4

ease-[cubic-bezier(0.4,0,0.1,1)] is a class name.
Therefore, if we include spaces, it will not be recognized as a class name.
deno fmt formats the name and includes spaces.

Before formatting

.ease-custom {
  @apply ease-[cubic-bezier(0.4,0,0.1,1)];
}

After

.ease-custom {
  @apply ease-[cubic-bezier(0.4, 0, 0.1, 1)];
}
@dsherret dsherret added bug Something isn't working correctly deno fmt Related to the "deno fmt" subcommand or dprint labels Jan 7, 2025
@dsherret
Copy link
Member

dsherret commented Jan 7, 2025

I opened g-plane/malva#23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly deno fmt Related to the "deno fmt" subcommand or dprint
Projects
None yet
Development

No branches or pull requests

2 participants