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

Wrong format CSS behavior on deno fmt #25926

Closed
LitoMore opened this issue Sep 28, 2024 · 0 comments · Fixed by #26469
Closed

Wrong format CSS behavior on deno fmt #25926

LitoMore opened this issue Sep 28, 2024 · 0 comments · Fixed by #26469
Labels
bug Something isn't working correctly deno fmt Related to the "deno fmt" subcommand or dprint upstream Changes in upstream are required to solve these issues

Comments

@LitoMore
Copy link

LitoMore commented Sep 28, 2024

Version: Deno 2.0.0.rc.7

The CSS below, deno fmt will format it to:

:root {
-	--color-accent-fg: theme(colors.slate.100) !important;
+	--color-accent-fg: theme(colors . slate 0.100) !important;
}

It should be theme("colors.slate.100").

@LitoMore LitoMore changed the title Wrong CSS behavior on deno fmt Wrong format CSS behavior on deno fmt Sep 28, 2024
@bartlomieju bartlomieju added bug Something isn't working correctly upstream Changes in upstream are required to solve these issues deno fmt Related to the "deno fmt" subcommand or dprint labels Sep 28, 2024
bartlomieju pushed a commit that referenced this issue Oct 25, 2024
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 upstream Changes in upstream are required to solve these issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants