Skip to content

Commit c9c6082

Browse files
author
Miles Hinchliffe
committed
Change category of textColor prop and correct comment
1 parent daca5c0 commit c9c6082

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib/components/ui/Masthead.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@
255255
color: var(
256256
--masthead-text-color,
257257
#ffffff
258-
); /* Override to white for masthead */
258+
); /* Override to textColor prop if specified otherwise fall back to white */
259259
font-family: "GDS Transport", arial, sans-serif;
260260
font-weight: 700;
261261
font-size: 2rem;

src/wrappers/components/ui/MastheadWrapper.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@
211211
},
212212
{
213213
name: "textColor",
214-
category: "Content",
214+
category: "Visual",
215215
value: "#FFFFFF",
216216
description: {
217217
markdown: true,

0 commit comments

Comments
 (0)