Style book settings

This table shows common setting types that are available in style books and how to specify information for the settings.
Setting type Accepted values
Color
  • A color from selected from the color picker.
  • A hex code, for example #5e5e5e.
  • A reference to a cascading style sheet (CSS) variable, for example var(--font-color).
Width Number of pixels, for example 2px.
Image A URL.
To use an image from documents and media, complete these steps:
  1. Open the Site menu.
  2. Select Content & Data > Documents and Media.
  3. Click the name of the image.
  4. Click the Info button in the top panel.
  5. In the Latest Version URL link, copy the file path. The file path starts after the base URL and ends after the file extension. For example, if the URL is http://rhythm.mycompany.com/documents/123456/0/image.png/xxx, then the file path is /documents/123456/0/image.png.
  6. In the image field, specify url(file path), for example url(/documents/123456/0/image.png).
Button radius Number of pixels, for example 5px.
Text decoration Leave blank, or specify one of these values:
  • underline
  • line-through
Font family
  • The name of a font family, such as Arial
  • A list of font families
  • A reference to a CSS variable
Font weight A number, for example 700.
Font size A value in rem, such as 1.5rem