Skip to content

Commit

Permalink
Add 12px × icon (#937)
Browse files Browse the repository at this point in the history
* Save x-12.svg

* Create .changeset/rude-balloons-jam.md

* Optimize SVGs

---------

Co-authored-by: Gavin Nelson <[email protected]>
  • Loading branch information
gavinmn and actions-user committed Apr 27, 2023
1 parent 680a888 commit 6c94e0e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/rude-balloons-jam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/octicons": minor
---

Add 12px `×` icon
1 change: 1 addition & 0 deletions icons/x-12.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion lib/octicons_react/__tests__/tree-shaking.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ test('tree shaking single export', async () => {
})

const bundleSize = Buffer.byteLength(output[0].code.trim()) / 1000
expect(`${bundleSize}kB`).toMatchInlineSnapshot(`"2.848kB"`)
expect(`${bundleSize}kB`).toMatchInlineSnapshot(`"3.168kB"`)
})

0 comments on commit 6c94e0e

Please sign in to comment.