-
-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: improve readability (code group icons + code titles)
- Loading branch information
Showing
7 changed files
with
663 additions
and
1,091 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/icons.json b/icons.json | ||
index 9c70e49c6f28a18f7d601b641d182c94e7710f1f..44d3776aff994b8e64df9040a7408aaa9cd5ed4d 100644 | ||
--- a/icons.json | ||
+++ b/icons.json | ||
@@ -1609,5 +1609,7 @@ | ||
"parent": "apache" | ||
} | ||
}, | ||
+ "width": 16, | ||
+ "height": 16, | ||
"lastModified": 1726289695 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/dist/index.mjs b/dist/index.mjs | ||
index 7960fa7137696d6a6751359bb634aa215a18a3e9..f21c9b4a2fbf4e6ca02c54b9e81d098ba4ae1431 100644 | ||
--- a/dist/index.mjs | ||
+++ b/dist/index.mjs | ||
@@ -103,7 +103,7 @@ async function generateCSS(labels, options) { | ||
border-top-right-radius: 0 !important; | ||
} | ||
`; | ||
- const mergedIcons = { ...options.customIcon, ...builtinIcons }; | ||
+ const mergedIcons = { ...builtinIcons, ...options.customIcon }; | ||
const matched = getMatchedLabels(labels, mergedIcons); | ||
const css = baseCSS + await generateIconCSS(matched); | ||
return { css }; |
Oops, something went wrong.