Skip to content

Commit 16db15d

Browse files
committed
chore: use _add_defaults_hdr() in additional place
1 parent f7f5605 commit 16db15d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

shiny/ui/_theme_brand.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,8 @@ def _add_defaults_hdr(self, header: str, **kwargs: YamlScalarType):
399399

400400
def _add_sass_ensure_variables(self):
401401
"""Ensure the variables we create to augment Bootstrap's variables exist"""
402-
self.add_defaults(
402+
self._add_defaults_hdr(
403+
"added variables",
403404
**{
404405
"code-font-weight": None,
405406
"code-inline-font-weight": None,
@@ -409,9 +410,8 @@ def _add_sass_ensure_variables(self):
409410
"code-block-line-height": None,
410411
"link-bg": None,
411412
"link-weight": None,
412-
}
413+
},
413414
)
414-
self.add_defaults("// *---- brand: added variables ---* //")
415415

416416
def _add_sass_brand_grays(self):
417417
"""

0 commit comments

Comments
 (0)