View this page in the latest version of Appian. CSS Profile Properties Share Share via LinkedIn Reddit Email Copy Link Print On This Page The capabilities described on this page are included in Appian's advanced and premium capability tiers. Usage limits may apply. What are CSS profile properties? CSS profile properties are predefined style variables that control the look of specific UI elements in sites and portals, such as headings, tooltips, and labels. Each property maps to a standard CSS property like color, font-size, or border-radius, and accepts values in standard CSS formats such as hex codes, pixel values, and rem units. When you create a CSS profile, you define property-value pairs using the format property-name: value. These values are applied to the corresponding UI elements on any site or portal that uses the CSS profile. Properties that you don't include in a CSS profile retain their standard Appian values. Validations and supported formatting for CSS profile properties CSS profiles have validations to enforce specific formatting rules. Review the following guidelines when creating or updating CSS profiles to ensure you enter the properties correctly. Property format Each property in a CSS profile must use the format property-name: value. Ensure each property is on a separate line and contains no punctuation between properties, such as commas or semicolons. All property names must be lowercase. Validation logic When you create or modify a CSS profile, a validation check identifies the following issues: Invalid property names: The property name does not match a supported CSS profile property name. Missing values: A property name is listed without a corresponding value. Duplicate names: The same property name appears more than once in the list. Incorrect formatting: A property-value pair is not formatted correctly. Validation limitations and fallback behavior The CSS profile validation check doesn't verify that your CSS values are valid or supported. If a browser can't render a value, it determines what to use instead. Be sure to verify the rendering of your custom values using browser developer tools in a site or portal. Supported values for CSS profile properties Review the following guidelines when entering properties into a CSS profile to ensure the values work correctly. Supported value formats CSS profile properties allow any value that is allowed by the associated CSS property, unless noted otherwise in this section. Refer to MDN for specifics about CSS property values. For example, in the list of CSS profile properties, placeholder-font-style lists font-style as the Associated CSS Property. That means you can use any of the property values defined for the font-style CSS property. Avoid descriptive values Do not use descriptive CSS values such as "thick", "thin", or "medium" in CSS profile properties. These values can produce inconsistent results because many Appian components calculate dimensions based on specific values. Font weight unsupported values CSS profile properties ending in -font-weight don't accept the following values: 100, 200, 500, 800, and 900. If you provide an unsupported value, the interface will use the closest supported weight. Color supported formats CSS profile properties support hexadecimal, RGB, RGBA, HSL, and HSLA color values, as well as named color values such as "red". Other formats may not be supported. We recommend avoiding transparent colors. Border radius suggested value format For CSS profile properties ending in -border-radius, provide a single value to ensure consistent rendering across all components. For example, instead of tooltip-border-radius: 8px 12px 8px 12px, use tooltip-border-radius: 8px. Other usage considerations for CSS profile properties Properties with on-light and on-dark colors Some color properties have on-light and on-dark variations, which allow you to configure slightly different values for better contrast on light or dark backgrounds. Unless you use dark backgrounds in your sites and portals, you can usually configure just the on-light color variations. Which properties to include If you don't want to set a property, don't include it in the CSS profile. Properties that you don't include in a CSS profile retain their standard Appian values. Heading level mapping If your organization's design system defines styles by HTML heading level (h1–h6), note that Appian heading sizes don't map directly to heading levels. You can use the headingTag and labelHeadingTag parameters to assign heading levels, which is independent from heading size. However, the following table shows how heading sizes could map to HTML heading levels: Heading Level CSS Profile Property Component Parameter Value H1 heading-large-plus-line-height "LARGE_PLUS" H2 heading-large-line-height "LARGE" H3 heading-medium-plus-line-height "MEDIUM_PLUS" H4 heading-medium-line-height "MEDIUM" H5 heading-small-line-height "SMALL" H6 heading-extra-small-line-height "EXTRA_SMALL" H1 heading-large-plus-font-size "LARGE_PLUS" H2 heading-large-font-size "LARGE" H3 heading-medium-plus-font-size "MEDIUM_PLUS" H4 heading-medium-font-size "MEDIUM" H5 heading-small-font-size "SMALL" H6 heading-extra-small-font-size "EXTRA_SMALL" Color compatibility with Appian colors When you configure negative, error, positive, success, warn, and info properties for CSS profiles, ensure your custom values are compatible with the standard Appian colors for any properties you do not override. For example, if you change the warn-on-light-color color but keep the default info-on-light-color color, make sure the custom warn color doesn't clash with Appian's info color. The following table contains the CSS profile property and its corresponding standard Appian hex color. CSS Profile Property Appian Color negative-on-light-color #B2002C negative-on-dark-color #FF8A8A error-background-color #FDEDF0 positive-on-light-color #117C00 positive-on-dark-color #83B96A success-background-color #EDF7EE warn-on-light-color #D97706 warn-on-dark-color #FCB858 warn-background-color #FFF5E6 info-on-light-color #115EBB info-on-dark-color #80B7FF info-background-color #EBF4FF CSS profile property reference table The following table lists all properties you can configure in a CSS profile: Name Example Associated CSS Property Description Affected UI Elements negative-on-light-color negative-on-light-color: #8B1A1A color Sets the color of the "NEGATIVE" parameter value on light backgrounds. Also applies to validation text and error icons. Components - Box layout (applies to the label when the style parameter is set to "ERROR") - Button - Card layout - Gauge - KPI - Message banner - Milestone - Progress bar - Rich text - Section layout - Stamp - TagOther - Validation text - Validation error icons in section, tab, and box layouts negative-on-dark-color negative-on-dark-color: #E57373 color Sets the color of the "NEGATIVE" parameter value on dark backgrounds. Also applies to validation text and error icons. Components - Button - Card layout - KPI - Message banner - Milestone - Progress bar - Rich text - Section layout - Stamp Other - Validation text - Validation error icons in section, tab, and box layouts error-background-color error-background-color: #F5E0E0 background-color Sets the color of the "ERROR" parameter value when used as a background color. Components - Box layout - Card layout - Grid column - Message bannerOther - Hazard news post positive-on-light-color positive-on-light-color: #2E7D32 color Sets the color of the "POSITIVE" parameter value on light backgrounds. Components - Card layout - Gauge - KPI - Message banner - Milestone - Progress bar - Rich text - Section layout - Stamp - Tag positive-on-dark-color positive-on-dark-color: #81C784 color Sets the color of the "POSITIVE" parameter value on dark backgrounds. Components - Card layout - KPI - Message banner - Milestone - Progress bar - Rich text - Section layout - Stamp success-background-color success-background-color: #E8F5E9 background-color Sets the color of the "SUCCESS" parameter value when used as a background color. Components - Box layout - Card layout - Grid column - Message banner warn-on-light-color warn-on-light-color: #E65100 color Sets the color of the "WARN" parameter value on light backgrounds. Components - Card layout - Gauge - Message banner - Milestone - Progress bar warn-on-dark-color warn-on-dark-color: #FFB74D color Sets the color of the "WARN" parameter value on dark backgrounds. Components - Card layout - Gauge - Message banner - Milestone - Progress bar warn-background-color warn-background-color: #FFF3E0 background-color Sets the color of the "WARN" parameter value when used as a background color. Components - Box layout - Card layout - Grid column - Message banner info-on-light-color info-on-light-color: #00796B color Sets the color of the "INFO" parameter value on light backgrounds. Components - Box layout - Card layout - Message banner info-on-dark-color info-on-dark-color: #80CBC4 color Sets the color of the "INFO" parameter value on dark backgrounds. Components - Box layout - Card layout - Message banner info-background-color info-background-color: #E0F2F1 background-color Sets the color of the "INFO" parameter value when used as a background color. Components - Box layout - Card layout - Grid column - Message banner content-on-accent-color content-on-accent-color: #FFFFFF color This is a global property that helps ensure legibility and accessibility. It affects foreground UI elements when the background color is specifically set to "ACCENT"; it doesn't apply if the background uses the same hex code as the accent color. Components - Components that use"ACCENT" or "STANDARD" parameter values, including headings, rich text, stamps, and tags.Other - UI elements that use the accent color and don't have a component parameter to control the color, such as checkboxes, radio buttons, links, and help tooltip icons. - Text that doesn't have a parameter to control the color, such as component labels and tab labels. tag-standard-semi-rounded-border-radius tag-standard-semi-rounded-border-radius: 6px border-radius Sets the border radius of "STANDARD" tag components. Components - Tag tag-small-semi-rounded-border-radius tag-small-semi-rounded-border-radius: 4px border-radius Sets the border radius of "SMALL" tag components. Components - Tag required-asterisk-on-light-color required-asterisk-on-light-color: #D32F2F color Sets the color of the required field asterisk on light backgrounds. Components - Input, selection, picker, and browser components that have the required parameter set to true. required-asterisk-on-dark-color required-asterisk-on-dark-color: #EF5350 color Sets the color of the required field asterisk on dark backgrounds. Components - Input, selection, picker, and browser components that have the required parameter set to true. required-asterisk-font-size required-asterisk-font-size: 16px font-size Sets the font size of the required field asterisk. Components - Input, selection, picker, and browser components that have the required parameter set to true. required-asterisk-font-weight required-asterisk-font-weight: 600 font-weight Sets the font weight of the required field asterisk. See Font weight supported values for information about valid values. Components - Input, selection, picker, and browser components that have the required parameter set to true. label-font-weight label-font-weight: 400 font-weight Sets the font weight of the label parameter for most components. Only applies to components that also have a labelPosition parameter. See Font weight supported values for information about valid values. Components - Input, selection, picker, and browser components. - Other components that have a label and labelPosition parameter, such as rich text, image, and KPI components. label-font-size label-font-size: 16px font-size Sets the font size of the label parameter for most components. Only applies to components that also have a labelPosition parameter. Components - Input, selection, picker, and browser components. - Other components that have a label and labelPosition parameter, such as rich text, image, and KPI components. label-on-light-color label-on-light-color: #1C3B3F color Sets the font color of the label parameter for most components on light backgrounds. Only applies to components that also have a labelPosition parameter. Components - Input, selection, picker, and browser components. - Other components that have a label and labelPosition parameter, such as rich text, image, and KPI components. label-on-dark-color label-on-dark-color: #ECEFF1 color Sets the font color of the label parameter for most components on dark backgrounds. Only applies to components that also have a labelPosition parameter. Components - Input, selection, picker, and browser components. - Other components that have a label and labelPosition parameter, such as rich text, image, and KPI components. tooltip-background-color tooltip-background-color: #FAFBFF background-color Sets the background color of hover tooltips and help tooltips. Components - Components that have a tooltip, helpTooltip, caption, or selectedTooltips parameter.Other - Any other hover tooltip that displays in a site or portal page. tooltip-text-color tooltip-text-color: #37474F color Sets the font color of hover tooltip and help tooltip text. Components - Components that have a tooltip, helpTooltip, caption, or selectedTooltips parameter.Other - Any other hover tooltip that displays in a site or portal page. tooltip-font-size tooltip-font-size: 14px font-size Sets the font size of hover tooltip and help tooltip text. Components - Components that have a tooltip, helpTooltip, caption, or selectedTooltips parameter.Other - Any other hover tooltip that displays in a site or portal page. tooltip-box-shadow tooltip-box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.25) box-shadow Sets the shadow of hover tooltips and help tooltips. Components - Components that have a tooltip, helpTooltip, caption, or selectedTooltips parameter.Other - Any other hover tooltip that displays in a site or portal page. tooltip-border-radius tooltip-border-radius: 8px border-radius Sets the border radius of hover tooltips and help tooltips. Unless this property is specified, tooltips use the same border-radius as inputs, which is controlled in the site/portal object and with the input-box-semi-rounded-border-radius property. Components - Components that have a tooltip, helpTooltip, caption, or selectedTooltips parameter.Other - Any other hover tooltip that displays in a site or portal page. tooltip-icon-on-light-color tooltip-icon-on-light-color: #263238 fill Sets the color of the help tooltip icon on light backgrounds. Components - Components that have a helpTooltip parameter. tooltip-icon-on-dark-color tooltip-icon-on-dark-color: #ECEFF1 fill Sets the color of the help tooltip icon on dark backgrounds. Components - Components that have a helpTooltip parameter. tooltip-icon-size tooltip-icon-size: 18px width / height Sets the size of the help tooltip icon.Enter one value, which applies to both height and width. Components - Components that have a helpTooltip parameter. instructions-font-weight instructions-font-weight: 400 font-weight Sets the font weight of instruction text. See Font weight supported values for information about valid values. Components - Components that have an instructions parameter. instructions-font-size instructions-font-size: 14px font-size Sets the font size of instruction text. Components - Components that have an instructions parameter. instructions-on-light-color instructions-on-light-color: #546E7A color Sets the font color of instruction text on light backgrounds. Components - Components that have an instructions parameter. instructions-on-dark-color instructions-on-dark-color: #B0BEC5 color Sets the font color of instruction text on dark backgrounds. Components - Components that have an instructions parameter. placeholder-font-weight placeholder-font-weight: 400 font-weight Sets the font weight of text for placeholders, character limits, and search boxes. Components - Components that have a placeholder or showCharacterCount parameter. Does not affect the file upload component when dropZoneStyle is "EXPANDED". - Search box text for components such as read-only grids and dropdowns. placeholder-text-color placeholder-text-color: #78909C color Sets the font color of text for placeholders, character limits, and search boxes. Components - Components that have a placeholder or showCharacterCount parameter. For the file upload component, this also affects the file icon, but it doesn't affect the placeholder text or icon when dropZoneStyle is "EXPANDED". - Search box text and icon for components such as read-only grids and dropdowns. - Documents chat - File icon for the file upload component. placeholder-font-style placeholder-font-style: normal font-style Sets the font style of text (such as italics) for placeholders, character limits, and search boxes. Components - Components that have a placeholder or showCharacterCount parameter. Does not affect the file upload component when dropZoneStyle is "EXPANDED". - Search box text for components such as read-only grids and dropdowns. heading-large-plus-line-height heading-large-plus-line-height: 46px line-height Sets the line height of "LARGE_PLUS" header text. Components - Box Layout - Heading - Section Layout heading-large-line-height heading-large-line-height: 38px line-height Sets the line height of "LARGE" header text. Components - Box Layout - Heading - Section Layout heading-medium-plus-line-height heading-medium-plus-line-height: 30px line-height Sets the line height of "MEDIUM_PLUS" header text. Components - Box Layout - Heading - Section Layout heading-medium-line-height heading-medium-line-height: 26px line-height Sets the line height of "MEDIUM" header text. Components - Box Layout - Heading - Section Layout heading-small-line-height heading-small-line-height: 22px line-height Sets the line height of "SMALL" header text. Components - Box Layout - Heading - Section Layout heading-extra-small-line-height heading-extra-small-line-height: 18px line-height Sets the line height of "EXTRA_SMALL" header text. Components - Box Layout - Heading - Section Layout heading-large-plus-font-size heading-large-plus-font-size: 38px font-size Sets the font size of "LARGE_PLUS" header text. Components - Box Layout - Heading - Section Layout heading-large-font-size heading-large-font-size: 30px font-size Sets the font size of "LARGE" header text. Components - Box Layout - Heading - Section Layout heading-medium-plus-font-size heading-medium-plus-font-size: 24px font-size Sets the font size of "MEDIUM_PLUS" header text. Components - Box Layout - Heading - Section Layout heading-medium-font-size heading-medium-font-size: 20px font-size Sets the font size of "MEDIUM" header text. Components - Box Layout - Heading - Section Layout heading-small-font-size heading-small-font-size: 16px font-size Sets the font size of "SMALL" header text. Components - Box Layout - Heading - Section Layout heading-extra-small-font-size heading-extra-small-font-size: 14px font-size Sets the font size of "EXTRA_SMALL" header text. Components - Box Layout - Heading - Section Layout input-box-border-color input-box-border-color: #90A4AE border-color Sets the border color for search and input boxes. Input boxes are the containers around input values, such as in the text, paragraph, and date components. Components - Input, selection, and picker components, excluding file upload, document viewer, card choices, radio button, and checkbox components. - Search boxes for components such as read-only grids and dropdowns. input-box-semi-rounded-border-radius input-box-semi-rounded-border-radius: 10px border-radius Sets the border radius for search and input boxes. Input boxes are the containers around input values, such as in the text, paragraph, and date components. Only applies when Input Shape is set to Semi-rounded in the site or portal object. Components - Input, selection, and picker components, excluding file upload, document viewer, card choices, radio button, and checkbox components. - Search boxes for components such as read-only grids and dropdowns. input-box-border-width input-box-border-width: 1px border-width Sets the border width for search and input boxes. Input boxes are the containers around input values, such as in the text, paragraph, and date components. Components - Input, selection, and picker components, excluding file upload, document viewer, card choices, radio button, and checkbox components. - Search boxes for components such as read-only grids and dropdowns. input-box-padding input-box-padding: 12px or input-box-border-width: 0 0 2px 0 padding Sets the padding between the border of the box and the text for search and input boxes. Input boxes are the containers around input values, such as in the text, paragraph, and date components. Components - Input, selection, and picker components, excluding file upload, document viewer, card choices, radio button, and checkbox components. - Search boxes for components such as read-only grids and dropdowns. input-card-border-color input-card-border-color: #B0BEC5 border-color Sets the border color of card-style inputs for form fields on light and dark backgrounds. Components - Card choices - Card-style checkboxes - Card-style radio buttons input-card-semi-rounded-border-radius input-card-semi-rounded-border-radius: 10px border-radius Sets the border radius of card-style inputs for form fields. Only applies when Input Shape is set to Semi-rounded in the site or portal object. Components - Card choices - Card-style checkboxes - Card-style radio buttons input-card-border-width input-card-border-width: 2px border-width Sets the border width of card-style inputs for form fields. Components - Card choices - Card-style checkboxes - Card-style radio buttons CSS profile property template The following is a full list of all the available CSS profile properties without values that you can use to create a CSS profile. Be sure to delete any properties that you do not want to set. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 negative-on-light-color: negative-on-dark-color: error-background-color: positive-on-light-color: positive-on-dark-color: success-background-color: warn-on-light-color: warn-on-dark-color: warn-background-color: info-on-light-color: info-on-dark-color: info-background-color: content-on-accent-color: tag-standard-semi-rounded-border-radius: tag-small-semi-rounded-border-radius: required-asterisk-on-light-color: required-asterisk-on-dark-color: required-asterisk-font-size: required-asterisk-font-weight: label-font-weight: label-font-size: label-on-light-color: label-on-dark-color: tooltip-background-color: tooltip-text-color: tooltip-font-size: tooltip-box-shadow: tooltip-border-radius: tooltip-icon-on-light-color: tooltip-icon-on-dark-color: tooltip-icon-size: instructions-font-weight: instructions-font-size: instructions-on-light-color: instructions-on-dark-color: placeholder-font-weight: placeholder-text-color: placeholder-font-style: heading-large-plus-font-size: heading-large-font-size: heading-medium-plus-font-size: heading-medium-font-size: heading-small-font-size: heading-extra-small-font-size: heading-large-plus-line-height: heading-large-line-height: heading-medium-plus-line-height: heading-medium-line-height: heading-small-line-height: heading-extra-small-line-height: input-box-border-color: input-box-semi-rounded-border-radius: input-box-border-width: input-box-padding: input-card-border-color: input-card-border-width: input-card-semi-rounded-border-radius: Feedback Was this page helpful? SHARE FEEDBACK Loading...