diff --git a/package.json b/package.json index b69bc60..21f5033 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "license": "MIT", "devDependencies": { "onchange": "^3.2.1", - "parallelshell": "^2.0.0" + "parallelshell": "^2.0.0", + "svgo": "^0.7.2" } } diff --git a/style.css b/style.css index bcf9b5c..23c7002 100644 --- a/style.css +++ b/style.css @@ -40,10 +40,14 @@ box-sizing: content-box; } -.icon svg { +.icon [stroke] { stroke: currentColor; } +.icon [fill]:not([fill=none]) { + fill: currentColor; +} + .tooltip { position: absolute; top: calc(100% + 1rem); diff --git a/svgo-config.yml b/svgo-config.yml new file mode 100644 index 0000000..38a34f3 --- /dev/null +++ b/svgo-config.yml @@ -0,0 +1,3 @@ +plugins: + - removeTitle: true + - convertShapeToPath: false