Skip to content

Commit

Permalink
css fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
elcritch committed Jan 12, 2025
1 parent 6a61545 commit 015bd49
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion figuro/common/nodes/csstheme.nim
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,10 @@ proc apply*(prop: CssProperty, node: Figuro) =
if child of Text:
child.fill = c
of "background":
node.fill = c
if evHover in node.events:
discard
else:
node.fill = c
of "border-color":
node.stroke.color = c
else:
Expand Down

0 comments on commit 015bd49

Please sign in to comment.