Edit in GitHubLog an issue

font-weight

Since: UXP 3, PS 22.0.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
1.someElement {
2 font-weight: bold;
3}

Quirks and Exceptions#

  • Text edit fields do not support overriding the font weight.
  • Not all Spectrum UXP components support overriding the font weight.
Copyright © 2021 Adobe. All rights reserved.