mirror of
https://github.com/feathericons/feather.git
synced 2023-08-10 21:13:24 +03:00
Add svgo
This commit is contained in:
parent
119a9f2c15
commit
b25a67dc0f
@ -16,6 +16,7 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"onchange": "^3.2.1",
|
"onchange": "^3.2.1",
|
||||||
"parallelshell": "^2.0.0"
|
"parallelshell": "^2.0.0",
|
||||||
|
"svgo": "^0.7.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -40,10 +40,14 @@
|
|||||||
box-sizing: content-box;
|
box-sizing: content-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon svg {
|
.icon [stroke] {
|
||||||
stroke: currentColor;
|
stroke: currentColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.icon [fill]:not([fill=none]) {
|
||||||
|
fill: currentColor;
|
||||||
|
}
|
||||||
|
|
||||||
.tooltip {
|
.tooltip {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: calc(100% + 1rem);
|
top: calc(100% + 1rem);
|
||||||
|
3
svgo-config.yml
Normal file
3
svgo-config.yml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
plugins:
|
||||||
|
- removeTitle: true
|
||||||
|
- convertShapeToPath: false
|
Loading…
Reference in New Issue
Block a user