diff --git a/.changeset/rare-garlics-vanish.md b/.changeset/rare-garlics-vanish.md new file mode 100644 index 0000000000..c0b2d7a541 --- /dev/null +++ b/.changeset/rare-garlics-vanish.md @@ -0,0 +1,5 @@ +--- +"@primer/css": patch +--- + +Use correct weight token for typography utilities diff --git a/src/support/variables/typography.scss b/src/support/variables/typography.scss index 5bc6d46329..6ea8ba4482 100644 --- a/src/support/variables/typography.scss +++ b/src/support/variables/typography.scss @@ -21,8 +21,8 @@ $h6-size: 12px !default; $font-size-small: 12px !default; // Font weights -$font-weight-bold: var(--base-text-weight-medium, 600) !default; -$font-weight-semibold: var(--base-text-weight-semibold, 500) !default; +$font-weight-bold: var(--base-text-weight-semibold, 600) !default; +$font-weight-semibold: var(--base-text-weight-medium, 500) !default; $font-weight-normal: var(--base-text-weight-normal, 400) !default; $font-weight-light: var(--base-text-weight-light, 300) !default;