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
@aeschli@dmitrivMS hi! Could you please take a look at PR #52 when you have a chance? It adds CSS TextMate grammar support for @layer, fixes #17 and #24, partially relates to #20, covers @layer, anonymous/nested layers, and @import ... layer(...), and includes tests. The PR has been open since May 22, 2026 and has not received a review yet. I’d really appreciate any feedback or guidance on what needs to be adjusted to move it toward merge.
@lszomoru sorry for the extra ping — would you be able to help route this PR to the right reviewers? It touches only grammars/css.cson and spec/css-spec.mjs, includes tests, and the current blocker seems to be the VS Code Engineering “Community PR Approvals” check requiring 2 collaborator approvals. If you’re not the right person for CSS TextMate grammar changes, could you please point me to who is?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #17
Fixes #24
Part of #20
Related to #7
This adds TextMate grammar support for CSS cascade layers.
Covered syntax:
@layer reset, framework.theme;@layer framework { ... }@layer { ... }@layer foo { @layer bar { ... } }@import "theme.css" layer;@import url("theme.css") layer(framework.theme);This intentionally keeps the scope limited to cascade layer syntax. Broader latest
@importsyntax support from #20 can be handled separately.Testing
npm testResult:
Screenshots
Before:

After:
