From a27aeda57f4f18e7adf28d97535b947140168adf Mon Sep 17 00:00:00 2001 From: vrugtehagel Date: Sat, 25 May 2024 11:09:59 +0200 Subject: [PATCH] Add transition-behavior property --- CSS3.sublime-syntax | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/CSS3.sublime-syntax b/CSS3.sublime-syntax index 6848ddf..e940f47 100644 --- a/CSS3.sublime-syntax +++ b/CSS3.sublime-syntax @@ -10380,6 +10380,20 @@ contexts: - include: single-transition - include: stray-paren-or-semicolon + # CSS Transitions + property-transition-behavior: + - match: \b(transition-behavior)\s*(:) + captures: + 1: support.type.property-name.css + 2: punctuation.separator.key-value.css + push: + - meta_content_scope: meta.property-value.transition-behavior.css + - include: end-value + - include: value-css-wide + - match: '\b(?:allow-discrete|normal){{b}}' + scope: support.constant.property-value.css + - include: stray-paren-or-semicolon + # CSS Transitions property-transition-delay: - match: \b(transition-delay)\s*(:)