Skip to content

fix: invalid fontWeight 'semi-bold' in SuccessMessage components #6872

@talissoncosta

Description

@talissoncosta

Problem

Both SuccessMessage.tsx and SuccessMessage.js use fontWeight: 'semi-bold' — this is not a valid CSS value. The browser silently ignores it, so the "SUCCESS" title renders at normal weight instead of semi-bold.

Valid values are keywords (normal, bold) or numeric (100900). The correct value for semi-bold is 600.

Files

  • web/components/messages/SuccessMessage.tsx (line 44)
  • web/components/SuccessMessage.js (line 28)

Fix

Replace 'semi-bold' with 600.

Context

Part of the design system audit (#6606) — QW-8.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions