Skip to content

Commit

Permalink
fix: color validation
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyGraceSeville7cf authored and sharkdp committed Apr 7, 2024
1 parent 9369e6d commit afb1699
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions schemas/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"definitions": {
"color": {
"type": "string",
"minLength": 6,
"minLength": 3,
"maxLength": 6,
"pattern": "^[0-9a-fA-F]{6}$",
"pattern": "^([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$",
"examples": [
"000000",
"FFFFFF",
Expand Down

0 comments on commit afb1699

Please sign in to comment.