diff --git a/css/compat/index.css b/css/compat/index.css index 03b1b47..03791c0 100644 --- a/css/compat/index.css +++ b/css/compat/index.css @@ -268,7 +268,8 @@ fieldset legend { border-style: var(--fieldset-legend-border-style); border-width: var(--fieldset-legend-border-width); box-shadow: var(--fieldset-legend-box-shadow); - font-weight: bold; + font-size: var(--fieldset-legend-font-size); + font-weight: var(--fieldset-legend-font-weight); color: var(--fieldset-legend-color); } /* Details tag */ diff --git a/css/compat/variables.css b/css/compat/variables.css index 585c8da..89c2d6d 100644 --- a/css/compat/variables.css +++ b/css/compat/variables.css @@ -172,6 +172,8 @@ --fieldset-legend-border-width: 0; --fieldset-legend-box-shadow: none; --fieldset-legend-color: hsl(0, 0%, 33%); + --fieldset-legend-font-size: inherit; + --fieldset-legend-font-weight: 700; /** Details **/ --details-bg: transparent;