Skip to content

Commit 6156b24

Browse files
committed
.
1 parent 7f9a266 commit 6156b24

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

posts/2022-12-07-font-scaling-in-css.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Below is a series of buttons using the `.iffy` method with their font sizes rang
139139
style={{
140140
display: "flex",
141141
alignItems: "center",
142-
background: `var(${cssVariable("--primary")})`,
142+
background: "#3498db",
143143
color: "white",
144144
padding: "12px 24px",
145145
fontSize: `${16 * scale}px`,
@@ -169,7 +169,7 @@ Now we'll switch to the `.improved` method — notice the button only grows
169169
style={{
170170
display: "flex",
171171
alignItems: "center",
172-
background: `var(${cssVariable("--primary")})`,
172+
background: "#3498db",
173173
color: "white",
174174
padding: "4px 24px",
175175
minHeight: "44px",

0 commit comments

Comments
 (0)