Skip to content

Commit c359822

Browse files
committed
Replace spelling of "colour" with "color" for naming consistency
1 parent b678b3a commit c359822

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/vscode-css/grammars/css.cson

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -652,12 +652,12 @@
652652
'color-keywords':
653653
'patterns': [
654654
{
655-
# CSS 2.1 colours: http://www.w3.org/TR/CSS21/syndata.html#value-def-color
655+
# CSS 2.1 colors: http://www.w3.org/TR/CSS21/syndata.html#value-def-color
656656
'match': '(?i)(?<![\\w-])(aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)(?![\\w-])'
657657
'name': 'support.constant.color.w3c-standard-color-name.css'
658658
}
659659
{
660-
# SVG/CSS3 colour names: http://www.w3.org/TR/css3-color/#svg-color
660+
# SVG/CSS3 color names: http://www.w3.org/TR/css3-color/#svg-color
661661
'match': '''(?xi) (?<![\\w-])
662662
(aliceblue|antiquewhite|aquamarine|azure|beige|bisque|blanchedalmond|blueviolet|brown|burlywood
663663
|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan
@@ -679,12 +679,12 @@
679679
'name': 'support.constant.color.w3c-extended-color-name.css'
680680
}
681681
{
682-
# Current text colour
682+
# Current text color
683683
'match': '(?i)(?<![\\w-])currentColor(?![\\w-])'
684684
'name': 'support.constant.color.current.css'
685685
}
686686
{
687-
# These colours are deprecated in CSS3: http://www.w3.org/TR/css3-color/#css2-system
687+
# These colors are deprecated in CSS3: http://www.w3.org/TR/css3-color/#css2-system
688688
'match': '''(?xi) (?<![\\w-])
689689
(ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonFace|ButtonHighlight|ButtonShadow
690690
|ButtonText|CaptionText|GrayText|Highlight|HighlightText|InactiveBorder|InactiveCaption
@@ -837,7 +837,7 @@
837837
}
838838
]
839839
}
840-
# Colours
840+
# Colors
841841
{
842842
'begin': '(?i)(?<![\\w-])(rgba?|rgb|hsla?|hsl|hwb|lab|oklab|lch|oklch|color)(\\()'
843843
'beginCaptures':

0 commit comments

Comments
 (0)