Edit in GitHubLog an issue

:root

Since: UXP 3, PS 22.0.0

Matches the root of the plugin's document. This is a useful element to attach custom properties and CSS variables to.

See: https://developer.mozilla.org/en-US/docs/Web/CSS/:root

Example:

Copied to your clipboard
1:root {
2 --theme-primary-color: red;
3}
  • Privacy
  • Terms of Use
  • Do not sell my personal information
  • AdChoices
Copyright © 2022 Adobe. All rights reserved.