CSS API

Supported from Jira Software 11.0, Jira Service Management 11.0, Confluence 10.0, Bitbucket 11.0, Bamboo 11.0

All the provided default values are not part of public contract and are subject to change.

Prior to the major releases, the variables and names are subject to change.

Jira

Look and feel / Color scheme

Variable nameDefault value
--jira-color-heroButtonBaseBGColourvar(--ds-background-brand-bold)
--jira-color-heroButtonTextColourvar(--ds-text-inverse)
--jira-color-menuBackgroundColourvar(--ds-surface-overlay-hovered)
--jira-color-menuSeparatorColourvar(--ds-border)
--jira-color-menuTxtColourvar(--ds-text-subtlest)
--jira-color-textActiveLinkColourvar(--ds-link-pressed)
--jira-color-textHeadingColourvar(--ds-text)
--jira-color-textLinkColourvar(--ds-link)
--jira-color-topBackgroundColourvar(--ds-surface)
--jira-color-topHighlightColorvar(--ds-surface-hovered)
--jira-color-topSeparatorBackgroundColorvar(--ds-border)
--jira-color-topTextHighlightColorvar(--ds-text-subtle)
--jira-color-topTextColourvar(--ds-text-subtle)
Gadgets colors
--jira-color-gadgetcolor1var(--ds-background-brand-bold)
--jira-color-gadgetcolor2var(--ds-background-danger-bold)
--jira-color-gadgetcolor3var(--ds-background-accent-orange-subtler-pressed)
--jira-color-gadgetcolor4var(--ds-background-accent-green-bolder-hovered)
--jira-color-gadgetcolor5var(--ds-background-accent-teal-bolder)
--jira-color-gadgetcolor6var(--ds-background-accent-purple-bolder-hovered)
--jira-color-gadgetcolor7var(--ds-background-accent-gray-bolder)

Confluence

Look and feel / Color scheme

Variable nameDefault light valueDefault dark value
--confluence-color-scheme-breadcrumbsTextColor#44546F#9FADBC
--confluence-color-scheme-headerButtonBaseBackgroundColor#0C66E4#579DFF
--confluence-color-scheme-headerButtonTextColor#FFFFFF#1D2125
--confluence-color-scheme-headingTextColor#172B4D#B6C2CF
--confluence-color-scheme-linkColor#0052CC#579DFF
--confluence-color-scheme-menuItemSelectedBackgroundColorrgba(9, 30, 66, 0.06)rgba(161, 189, 217, 0.08)
--confluence-color-scheme-menuItemSelectedTextColor#172B4D#B6C2CF
--confluence-color-scheme-menuItemTextColor#172B4D#B6C2CF
--confluence-color-scheme-searchFieldBackgroundColor#FFFFFF#22272B
--confluence-color-scheme-searchFieldTextColor#626f86#8C9BAB
--confluence-color-scheme-topBarColor#FFFFFF#1D2125
--confluence-color-scheme-topBarMenuSelectedBackgroundColor#E9F2FF#09326C
--confluence-color-scheme-topBarMenuSelectedTextColor#0C66E4#579DFF
Variable nameDefault value
--confluence-custom-logo-content

Bitbucket

Look and feel / Color scheme (AUI)

Variables are loaded before the AUI theme styles by com.atlassian.lookandfeel.lookandfeel-plugin:styles web resource. The values can be set in the product Look and Feel customization settings.

AUI Documentation: https://aui.atlassian.com/aui/9.13/docs/look-and-feel.html

Variable nameDescription
--atl-theme-header-bg-colorSets app header background. Sets item text color to contrast with the background unless the text color is customized.
--atl-theme-header-item-text-colorSets text color for regular items in the header. If not set, the appropriate value --ds-text will be used to contrast with the background.
--atl-theme-header-primary-button-bg-colorSets background for the primary button in the header. Sets its text color to contrast with the background unless the text color is customized.
--atl-theme-header-primary-button-text-colorSets text color for the primary button in the header. If not set, the of --ds-text-inverse will be used to contrast with the background.
--atl-theme-header-logo-imageFor the CSS mode of logo rendering, applies the background-image property on the .aui-header-logo-device element. Use in conjunction with the --atl-theme-header-logo-width (see below), otherwise the logo won't be visible.
--atl-theme-header-logo-widthFor the CSS mode of logo rendering, applies width on the .aui-header-logo-device element.

Bamboo

Look and feel / Color scheme (AUI)

Variables are loaded before the AUI theme styles by com.atlassian.lookandfeel.lookandfeel-plugin:styles web resource. The values can be set in the product Look and Feel customization settings.

AUI Documentation: https://aui.atlassian.com/aui/9.13/docs/look-and-feel.html

Variable nameDescription
--atl-theme-header-bg-colorSets app header background. Sets item text color to contrast with the background unless the text color is customized.
--atl-theme-header-item-text-colorSets text color for regular items in the header. If not set, the appropriate value --ds-text will be used to contrast with the background.
--atl-theme-header-primary-button-bg-colorSets background for the primary button in the header. Sets its text color to contrast with the background unless the text color is customized.
--atl-theme-header-primary-button-text-colorSets text color for the primary button in the header. If not set, the of --ds-text-inverse will be used to contrast with the background.
--atl-theme-header-logo-imageFor the CSS mode of logo rendering, applies the background-image property on the .aui-header-logo-device element. Use in conjunction with the --atl-theme-header-logo-width (see below), otherwise the logo won't be visible.
--atl-theme-header-logo-widthFor the CSS mode of logo rendering, applies width on the .aui-header-logo-device element.

Rate this page: