Edit in GitHubLog an issue

font-weight

Since UXP v3.0

Sets the font weight for the element. Supports normal (default), bold, lighter, and bolder, as well as the following numeric weights: 50, 100, 200, 300, 400, 500, 550, 600, 700, 800, 850, 900, 950, and 1000.

See: https://developer.mozilla.org/en/docs/Web/CSS/font-weight

Example

Copied to your clipboard
.someElement {
font-weight: bold;
}

Quirks and Exceptions

  • Text edit fields do not support overriding the font weight.
  • Not all Spectrum UXP components support overriding the font weight.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.