Did you know? You can quickly create, edit, preview and apply themes to your experiences with Theme Builder, a new application available now in the ServiceNow Store. Check it out
HooksReleasesValidatorDecoderColorsThemes

proportion

Expects a number from 0 to 1, where 0 represents 0% and 1 represents 100%. Used to style things like opacity where 0% means fully opaque and 100% means fully transparent.

  • Format: <integer|decimal> in the range 0-1 inclusive
  • Also accepts a reference to another style hook with the same schema
  • Example: 0.2 for 20%, 0.85% for 85%