-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Recreated all icons to have a strict size
Import all icons at once with require.context Accessibility for icons Updated MIP post Updated components for Icon update Changed theme switch design Added todos
- Loading branch information
Marvin Heilemann
committed
Jan 29, 2020
1 parent
c134958
commit 47668be
Showing
50 changed files
with
242 additions
and
247 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
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,52 @@ | ||
import React from 'react' | ||
|
||
import LightSVG from '../images/theme/light.svg' | ||
import DarkSVG from '../images/theme/dark.svg' | ||
import AutoLightSVG from '../images/theme/auto-light.svg' | ||
import AutoDarkSVG from '../images/theme/auto-dark.svg' | ||
import HighContrastSVG from '../images/theme/hc.svg' | ||
|
||
export const Light = () => ( | ||
<path | ||
id="icon-light" | ||
fill="var(--color-light)" | ||
fillRule="evenodd" | ||
d={LightSVG().props.children.props.d} | ||
/> | ||
) | ||
|
||
export const Dark = () => ( | ||
<path | ||
id="icon-dark" | ||
fill="var(--color-dark)" | ||
fillRule="evenodd" | ||
d={DarkSVG().props.children.props.d} | ||
/> | ||
) | ||
|
||
export const AutoLight = () => ( | ||
<path | ||
id="icon-auto-light" | ||
fill="var(--color-light)" | ||
fillRule="evenodd" | ||
d={AutoLightSVG().props.children.props.d} | ||
/> | ||
) | ||
|
||
export const AutoDark = () => ( | ||
<path | ||
id="icon-auto-dark" | ||
fill="var(--color-dark)" | ||
fillRule="evenodd" | ||
d={AutoDarkSVG().props.children.props.d} | ||
/> | ||
) | ||
|
||
export const HighContrast = () => ( | ||
<path | ||
id="icon-high-contrast" | ||
fill="var(--color-06)" | ||
fillRule="evenodd" | ||
d={HighContrastSVG().props.children.props.d} | ||
/> | ||
) |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.