Skip to content

Commit 709b5be

Browse files
committed
foregroundColor -> foregroundStyle
1 parent 9ec71e3 commit 709b5be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

livebooks/stylesheets.livemd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ We group modifiers together within a class that can be applied to an element. He
455455
```elixir
456456
~SHEET"""
457457
"red-title" do
458-
foregroundColor(.red)
458+
foregroundStyle(.red)
459459
font(.title)
460460
end
461461
"""
@@ -472,8 +472,8 @@ defmodule ServerWeb.Styles.App.SwiftUI do
472472

473473
~SHEET"""
474474
"red-title" do
475-
foregroundColor(.red);
476-
font(.title);
475+
foregroundStyle(.red)
476+
font(.title)
477477
end
478478
"""
479479
end

0 commit comments

Comments
 (0)