Skip to content

Commit

Permalink
Removing fill from the token svgs.
Browse files Browse the repository at this point in the history
  • Loading branch information
daveyholler committed Apr 16, 2019
1 parent 8c77e7d commit 93e4160
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## [`master`](https://github.com/elastic/eui/tree/master)

- Adding `tokenModule` and `tokenNamespace` icons to `EuiToken` ([#1839](https://github.com/elastic/eui/pull/1839))

No public interface changes since `10.0.0`.

## [`10.0.0`](https://github.com/elastic/eui/tree/v10.0.0)
Expand Down
37 changes: 37 additions & 0 deletions src/components/icon/__snapshots__/icon.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -5950,6 +5950,43 @@ exports[`EuiIcon props type tokenMethod is rendered 1`] = `
</svg>
`;

exports[`EuiIcon props type tokenModule is rendered 1`] = `
<svg
class="euiIcon euiIcon--medium"
fill="none"
focusable="false"
height="16"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M8 2l5.196 3v.178l-.866.468V5.5L8 3 3.67 5.5v5L8 13l4.33-2.5V5.77l.866-.474V11L8 14l-5.196-3V5L8 2z"
fill="#000"
/>
<path
d="M5.243 4.429L9.597 7.04 8 7.928 3.743 5.563a.5.5 0 1 0-.486.874L7.5 8.794V13.5h1V8.794l4.243-2.357a.508.508 0 0 0 .06-.04l.392-.202V5.047l-.917.505a.573.573 0 0 0-.02.01l-.106.06-.191.105-1.355.753-4.849-2.909-.514.858z"
fill="#000"
/>
</svg>
`;

exports[`EuiIcon props type tokenNamespace is rendered 1`] = `
<svg
class="euiIcon euiIcon--medium"
fill="none"
focusable="false"
height="16"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M7.556 8.416l-.804-1.68h-.036v5.64H5V4h1.992l2.292 3.96.804 1.68h.036V4h1.716v8.376H9.848l-2.292-3.96z"
/>
</svg>
`;

exports[`EuiIcon props type tokenNull is rendered 1`] = `
<svg
class="euiIcon euiIcon--medium"
Expand Down
6 changes: 3 additions & 3 deletions src/components/icon/assets/tokens/tokenModule.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 src/components/icon/assets/tokens/tokenNamespace.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 93e4160

Please sign in to comment.