diff --git a/src/components/render/DisplayIconSingle.tsx b/src/components/render/DisplayIconSingle.tsx index d04428b..03b94f3 100644 --- a/src/components/render/DisplayIconSingle.tsx +++ b/src/components/render/DisplayIconSingle.tsx @@ -29,6 +29,7 @@ const IconInternal: FunctionComponent = ({label, children, on } +const forcedSets = ['gr', 'tb', 'io5', 'fi', 'hi']; const DisplayIconSingle: FunctionComponent = ({setId, id}) => { // eslint-disable-next-line const IconSet = loadable.lib(() => getIcons(setId)); @@ -42,7 +43,8 @@ const DisplayIconSingle: FunctionComponent = ({setId, id return { void navigator.clipboard.writeText(`import {${id}} from "react-icons/${setId}";`) }}> - + + }} diff --git a/src/styles/globals.scss b/src/styles/globals.scss index 9969761..af41a3d 100644 --- a/src/styles/globals.scss +++ b/src/styles/globals.scss @@ -16,6 +16,9 @@ code { Bitstream Vera Sans Mono, Courier New, monospace; } -.forceStroke > path, g { - stroke: currentColor; +// +.forceStroke { + > path:not([stroke="none"]), g, rect, line, polyline, circle, polygon { + stroke: currentColor; + } } \ No newline at end of file