Skip to content

Commit

Permalink
Add view-transition-class
Browse files Browse the repository at this point in the history
  • Loading branch information
vrugtehagel committed May 28, 2024
1 parent 0e7bd38 commit 680182c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions CSS3.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -4046,6 +4046,7 @@ contexts:
- include: property-vector-effect
- include: property-vertical-align
- include: property-view-transition-name
- include: property-view-transition-class
- include: property-voice-balance
- include: property-voice-duration
- include: property-voice-family
Expand Down Expand Up @@ -10522,6 +10523,20 @@ contexts:
- include: identifier
- include: stray-paren-or-semicolon

# CSS View Transitions Module Level 1
property-view-transition-class:
- match: \b(view-transition-class)\s*(:)
captures:
1: support.type.property-name.css
2: punctuation.separator.key-value.css
push:
- meta_content_scope: meta.property-value.view-transition-class.css
- include: end-value
- match: \bnone{{b}}
scope: support.constant.property-value.css
- include: identifier
- include: stray-paren-or-semicolon

# CSS basic box model
property-visibility:
- match: \b(visibility)\s*(:)
Expand Down

0 comments on commit 680182c

Please sign in to comment.