Skip to content

Commit 01d6e8b

Browse files
authored
chore: keep - in field names in brand Sass vars
1 parent b17d04f commit 01d6e8b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

shiny/ui/_theme_brand.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,6 @@ def _prepare_typography_vars(brand: "Brand") -> dict[str, YamlScalarType]:
314314

315315
for field, prop in brand_typography.items():
316316
for prop_key, prop_value in prop.items():
317-
field = field.replace("-", "_")
318-
prop_key = prop_key.replace("-", "_")
319317
typo_sass_var = f"brand_typography_{field}_{prop_key}"
320318
mapped[typo_sass_var] = prop_value
321319

0 commit comments

Comments
 (0)