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

Remove gray() #213

Merged
merged 1 commit into from
May 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 3 additions & 20 deletions CSS3.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ contexts:
- include: func-filter
- include: func-fit-content
- include: func-format
- include: func-gray
- include: func-hsla
- include: func-hue
- include: func-hue-rotate
Expand Down Expand Up @@ -694,7 +693,6 @@ contexts:
- include: func-hwb
- include: func-lab
- include: func-lch
- include: func-gray
- include: func-device-cmyk
- include: func-color
- include: func-color-adjust
Expand Down Expand Up @@ -2108,8 +2106,7 @@ contexts:
- include: number-zero-to-one
- include: color

# Additions to CSS Color 4
# TODO: This function currently isn't clearly defined by the spec.
# Not in the CSS spec, but part of SVG2
func-device-gray:
- match: \b(device-gray)(\()
captures:
Expand All @@ -2121,8 +2118,7 @@ contexts:
- include: func-var
- include: number

# Additions to CSS Color 4
# TODO: This function currently isn't clearly defined by the spec.
# Not in the CSS spec, but part of SVG2
func-device-nchannel:
- match: \b(device-nchannel)(\()
captures:
Expand All @@ -2134,8 +2130,7 @@ contexts:
- include: func-var
- include: number

# Additions to CSS Color 4
# TODO: This function currently isn't clearly defined by the spec.
# Not in the CSS spec, but part of SVG2
func-device-rgb:
- match: \b(device-rgb)(\()
captures:
Expand Down Expand Up @@ -2247,18 +2242,6 @@ contexts:
- include: func-var
- include: integer-positive

func-gray:
- match: \b(gray)(\()
captures:
1: support.function.gray.css
2: punctuation.section.function.begin.css
push:
- meta_scope: meta.function.gray.css
- include: end-func
- include: func-var
- include: percentage-zero-to-100
- include: number

func-hsla:
- match: \b(hsla?)(\()
captures:
Expand Down
Loading