Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

v9: How do you specify light and dark colour schemes in atlassian-plugin.xml?

Calum
August 14, 2025

We've been using Confluence Data Centre v8, and have a custom plugin that specifies its own colour scheme. In our atlassian-plugin.xml, that looked like:

<colour-scheme key="our-color-scheme" name="Our Colour Scheme" class="com.atlassian.confluence.themes.BaseColourScheme">
<colour key="property.style.topbarcolour" value="#312D2A"/>
<colour key="property.style.breadcrumbstextcolour" value="#FFFFFF"/>
<colour key="property.style.headerbuttonbasebgcolour" value="#C74634"/>
.
.
.
</colour-scheme>

Now we're about to upgrade to v9, and this no longer works—our colour scheme is not applied, and does not appear in the space Look & Feel panel as an option to apply. Also, we can find no documentation on how to specify a similar colour scheme for dark mode, which we now have for the first time.

What should we be doing here?

3 answers

0 votes
Scott Selberg
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
December 5, 2025

I got ahold of the confluence 9.2 source and found the values below:

<colour-scheme key="keysight-colour-scheme" name="Keysight Color Scheme" class="com.atlassian.confluence.themes.BaseColourScheme">
    <!-- Header -->
    <colour key="property.style.topbarcolour" value="#343434"/>
    <colour key="property.style.topbarcolour.dark" value="#343434"/>

    <!-- Header items -->
    <colour key="property.style.breadcrumbstextcolour" value="#E8E8E8"/>
    <colour key="property.style.breadcrumbstextcolour.dark" value="#E8E8E8"/>

    <!-- Header item hover background -->
    <colour key="property.style.topbarmenuselectedbgcolour" value="#343434"/>
    <colour key="property.style.topbarmenuselectedbgcolour.dark" value="#343434"/>

    <!-- Header item hover text -->
    <colour key="property.style.topbarmenuselectedtextcolour" value="#E90029"/>
    <colour key="property.style.topbarmenuselectedtextcolour.dark" value="#E90029"/>

    <!-- Header button -->
    <colour key="property.style.headerbuttonbgcolour" value="#E90029"/>
    <colour key="property.style.headerbuttonbgcolour.dark" value="#E90029"/>

    <!-- Header button text -->
    <colour key="property.style.headerbuttontextcolour" value="#E90029"/>
    <colour key="property.style.headerbuttontextcolour.dark" value="#E90029"/>

    <!-- Search field background -->
    <colour key="property.style.searchfieldbgcolour" value="#E8E8E8"/>
    <colour key="property.style.searchfieldbgcolour.dark" value="#E8E8E8"/>

    <!-- Search field text -->
    <colour key="property.style.searchfieldtextcolour" value="#555555"/>
    <colour key="property.style.searchfieldtextcolour.dark" value="#555555"/>

    <!-- Menu item text -->
    <colour key="property.style.menuitemtextcolour" value="#555555"/>
    <colour key="property.style.menuitemtextcolour.dark" value="#555555"/>

    <!-- Menu item hover background -->
    <colour key="property.style.menuitemselectedbgcolour" value="#E90029"/>
    <colour key="property.style.menuitemselectedbgcolour.dark" value="#E90029"/>

    <!-- Menu item hover text -->
    <colour key="property.style.menuitemselectedtextcolour" value="#E8E8E8"/>
    <colour key="property.style.menuitemselectedtextcolour.dark" value="#E8E8E8"/>

    <!-- Heading text -->
    <colour key="property.style.headingtextcolour" value="#E8E8E8"/>
    <colour key="property.style.headingtextcolour.dark" value="#E8E8E8"/>

    <!-- Links -->
    <colour key="property.style.linkcolour" value="#E90029"/>
    <colour key="property.style.linkcolour.dark" value="#E90029"/>
</colour-scheme>

Screenshot 2025-12-05 at 10.20.47 AM.png

0 votes
Scott Selberg
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
December 2, 2025

I'm looking for this answer as well.  Did you find a solution?

 

0 votes
John Funk
Community Champion
August 24, 2025

Hi Calum,

Since no one has responded, it is probably best of your to open a support ticket with Atlassian for their feedback. 

https://support.atlassian.com/contact/#/

Best of luck!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
TAGS
AUG Leaders

Atlassian Community Events