Skip to content

Commit

Permalink
Update docs/guide/basics/color.md
Browse files Browse the repository at this point in the history
Co-authored-by: Jakob Guddas <[email protected]>
  • Loading branch information
ericfennis and jguddas authored Sep 19, 2023
1 parent 210dd9a commit 0330dff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/basics/color.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The color can be adjusted by passing the color prop to the element.

## Using parent elements text color value

Because the color of lucide icons uses `currentColor`, the color of the icon depends on the computed `color` of the element or it inherits it from it's parent.
Because the color of lucide icons uses `currentColor`, the color of the icon depends on the computed `color` of the element, or it inherits it from its parent.

So for example if a parent element color value is `#fff` and one of the children is a lucide icon, the color of the icon will be rendered as `#fff`. This is browser native behaviour.

Expand Down

0 comments on commit 0330dff

Please sign in to comment.