---
title: "Discussion on \"currentColor: the one SVG trick that makes icons themeable\" | Hashnode"
description: "Discussion on \"currentColor: the one SVG trick that makes icons themeable\". Every frontend codebase eventually grows an icon problem. The designer hands over icons that are dark grey. Then the primary button needs them white, the danger menu item needs them red, dark mode nee"
url: "https://hashnode.com/posts/currentcolor-the-one-svg-trick-that-makes-icons-themeable/6ae5ab438802b53e9913f8c3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [currentColor: the one SVG trick that makes icons themeable](https://svgtoreact.hashnode.dev/currentcolor-the-one-svg-trick-that-makes-icons-themeable?utm_source=hashnode&utm_medium=feed)

Every frontend codebase eventually grows an icon problem. The designer hands over icons that are dark grey. Then the primary button needs them white, the danger menu item needs them red, dark mode nee

Oct 31 · 5 min read · svgtoreact.hashnode.dev  
Read the article

-   [#svg](https://hashnode.com/tag/svg)
-   [#css](https://hashnode.com/tag/css)
-   [#react](https://hashnode.com/tag/react)

## Written by

[SVG to React](https://hashnode.com/@svgtoreact)

@svgtoreact

  
[View profile](https://hashnode.com/@svgtoreact)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
