Skip to content

Commit d0b6a83

Browse files
authoredJul 3, 2020
Switch layer-icon to pure SVGs (#25448)
* Switch layer-icon to pure SVGs * Updated LayerIcon parent style
1 parent 1081ea7 commit d0b6a83

File tree

7 files changed

+47
-331
lines changed

7 files changed

+47
-331
lines changed
 
+8
Loading

‎www/src/assets/icons/app-window.svg

+4
Loading
+4
Loading

‎www/src/assets/icons/graphql-logo.svg

+9
Loading

‎www/src/assets/icons/layer-icon.js

+11-326
Large diffs are not rendered by default.

‎www/src/assets/icons/react-logo.svg

+4
Loading

‎www/src/components/layer-model/layer-model.js

+7-5
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,13 @@ const Layer = ({ buttonRef, layer, onClick, selected, index }) => {
4545
p: 2,
4646
}}
4747
>
48-
<span css={{ height: 40 }}>
49-
<LayerIcon
50-
name={icon}
51-
fillColor={selected ? colors[baseColor][70] : colors.grey[50]}
52-
/>
48+
<span
49+
sx={{
50+
height: 40,
51+
color: selected ? colors[baseColor][70] : colors.grey[50],
52+
}}
53+
>
54+
<LayerIcon name={icon} />
5355
</span>
5456
<span>{title}</span>
5557
</span>

0 commit comments

Comments
 (0)
Please sign in to comment.