* Update dependencies
* Change "license" in package.json to SPDX format
Fixes the "npm WARN simple-icons@1.9.19 license should be a valid SPDX
license expression" warning given by NPM.
* Added CodeSandbox icon SVG
- Updated icon hex in json
- Optimized with SVGO
* moved CodeSandbox to proper alphabetical order
* Pascal case(Capitalization issue) title
- removed version
- added rule="img"
* Improve performance of search on website
By reducing the number of times a search query loops over all icons or
all icons that match the search query (from 3 to 1 and 2 to 0
respectively) the search on simpleicons.org should now be noticeably
faster (if it was slow before). Especially in conjunction with #1169.
This was achieved by utilizing CSS (which operates faster then plain
JavaScript) to do most of the heavy lifting. A class on <body> now
dictates the order of the icons rather then a JavaScript for-loop (found
in the removed function `orderIcons`).
It was also achieved by more cleverly utilizing the fuzzy search logic
and recognizing that the CSS `order` property also works if number are
not consecutive. Less relevant numbers will have a higher value assigned
by fuzzy search, which is what the `order`-value of the icon will
become, removing the need for sorting and an additional loop.
Some resources that helped me:
- https://css-tricks.com/css-attr-function-got-nothin-custom-properties/
- https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_variables
Specifically the "Values in JavaScript" section
* * *
One unrelated change in stylesheet.css where 2 separate rulesets for
.grid-item__link have been merged.
* Simplify script with regard to button states
* Reduce complexity of `previousQuery` variables
* Add GOG icon SVG
As it is found here https://www.cdprojekt.com/en/media/logotypes/
* Add GOG icon details
Added GOG icon details. The name is written as GOG as this is how it
appears as their website title and on their social media (even though
the logo is clearly lowercase). The (purple) color #86328A was picked
because GOG clearly has a purple esthetic, although the logos found at
the source all use (the gray) #333333.
* Rename GOG to GOG.com
* add Sourcegraph
* Update simple-icons.json
Change Sourcegraph source to base repository, the logo's can be found (currently) in `website/static/sourcegraph`