Skip to content

Commit 7d140cb

Browse files
authored
Merge pull request #3 from ipfs-shipyard/trim
feat: trim icons and transition SVG path elements
2 parents 47597b9 + 438da14 commit 7d140cb

File tree

100 files changed

+169
-164
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+169
-164
lines changed

build/theme.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ function buildThemeCss () {
3333
})
3434

3535
const fill = Object.keys(theme.colors).map(name => {
36-
return `.fill-${name} path { fill: ${theme.colors[name]}; }`
36+
return `.fill-${name} { fill: ${theme.colors[name]}; }`
3737
})
3838

3939
const hoverFill = Object.keys(theme.colors).map(name => {
40-
return `.hover-fill-${name}:hover path { fill: ${theme.colors[name]}; }`
40+
return `.hover-fill-${name}:hover { fill: ${theme.colors[name]}; }`
4141
})
4242

4343
const lines = [

icons/glyph_add.svg

Lines changed: 1 addition & 0 deletions
Loading

icons/glyph_attention.svg

Lines changed: 1 addition & 1 deletion
Loading

icons/glyph_basket.svg

Lines changed: 1 addition & 1 deletion
Loading

icons/glyph_book.svg

Lines changed: 1 addition & 1 deletion
Loading

icons/glyph_calendar.svg

Lines changed: 1 addition & 1 deletion
Loading

icons/glyph_camera.svg

Lines changed: 1 addition & 1 deletion
Loading

icons/glyph_cancel.svg

Lines changed: 1 addition & 1 deletion
Loading

icons/glyph_case.svg

Lines changed: 1 addition & 1 deletion
Loading

icons/glyph_chart.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)