Add/rename braces/brackets/parenthesis icons and improve braces/json metadata (#1063)

* Add `square-brackets` icon

* Add `parentheses` icon

* Improve `curly-braces`/`json` metadata

* Refine `parentheses` icon

Match `path`s in #1134.

* Rename `square-brackets` to `brackets`

* Rename `curly-braces` to `braces`

* Update icons/parentheses.json

---------

Co-authored-by: Karsa <contact@karsa.org>
This commit is contained in:
Daniel Bayley
2023-05-01 17:58:43 +01:00
committed by GitHub
parent 716c5baea0
commit 175b2cd483
8 changed files with 77 additions and 5 deletions

17
icons/braces.json Normal file
View File

@@ -0,0 +1,17 @@
{
"$schema": "../icon.schema.json",
"tags": [
"json",
"code",
"token",
"curly brackets",
"data"
],
"categories": [
"development",
"files"
],
"aliases": [
"curly-braces"
]
}

View File

Before

Width:  |  Height:  |  Size: 380 B

After

Width:  |  Height:  |  Size: 380 B

View File

@@ -1,12 +1,14 @@
{
"$schema": "../icon.schema.json",
"tags": [
"json",
"code",
"token"
"token",
"array",
"list",
"square"
],
"categories": [
"development",
"files"
]
}
}

14
icons/brackets.svg Normal file
View File

@@ -0,0 +1,14 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M16 3h3v18h-3" />
<path d="M8 21H5V3h3" />
</svg>

After

Width:  |  Height:  |  Size: 264 B

View File

@@ -3,7 +3,8 @@
"tags": [
"code",
"json",
"curly braces"
"curly braces",
"curly brackets"
],
"categories": [
"files",

View File

@@ -3,7 +3,8 @@
"tags": [
"code",
"json",
"curly braces"
"curly braces",
"curly brackets"
],
"categories": [
"files",

23
icons/parentheses.json Normal file
View File

@@ -0,0 +1,23 @@
{
"$schema": "../icon.schema.json",
"tags": [
"code",
"token",
"parenthesis",
"parens",
"brackets",
"parameters",
"arguments",
"args",
"input",
"call",
"maths",
"formula",
"function"
],
"categories": [
"development",
"files",
"maths"
]
}

14
icons/parentheses.svg Normal file
View File

@@ -0,0 +1,14 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M8 21s-4-3-4-9 4-9 4-9" />
<path d="M16 3s4 3 4 9-4 9-4 9" />
</svg>

After

Width:  |  Height:  |  Size: 283 B