Hi everyone.
I'm trying to upgrade one of our custom themes for Confluence 5.2 and I'm having trouble with the colour scheme. The Atlassian documentation only lists the colour keys up to Confluence 3.0, and it seems they have changed since then. Can someone please provide the latest list of these keys?
Here's what I had for Confluence 3.5...
<colour-scheme key="defaultscheme" name="External Colour Scheme" class="com.atlassian.confluence.themes.BaseColourScheme">
<colour key="property.style.topbarcolour" value="#a01202"/>
<colour key="property.style.navbgcolour" value="#b32a31"/>
<colour key="property.style.navtextcolour" value="#ffffff"/>
<colour key="property.style.breadcrumbstextcolour" value="#ffffff"/>
<colour key="property.style.spacenamecolour" value="#a01202"/>
<colour key="property.style.headingtextcolour" value="#a01202"/>
<colour key="property.style.linkcolour" value="#a01202"/>
<colour key="property.style.bordercolour" value="#b32a31"/>
<colour key="property.style.navselectedbgcolour" value="#a01202"/>
<colour key="property.style.navselectedtextcolour" value="#ffffff"/>
<colour key="property.style.topbarmenuselectedbgcolour" value="#a01202"/>
<colour key="property.style.topbarmenuitemtextcolour" value="#a01202"/>
<colour key="property.style.menuselectedbgcolour" value="#b32a31"/>
<colour key="property.style.menuitemtextcolour" value="#a01202"/>
<colour key="property.style.menuitemselectedbgcolour" value="#b32a31"/>
<colour key="property.style.menuitemselectedtextcolour" value="#ffffff"/>
</colour-scheme>
Thanks in advance.
- Glenn
Community moderators have prevented the ability to post new answers.
check this document for theme development
https://developer.atlassian.com/display/CONFDEV/Writing+a+Confluence+Theme
sample code you can get here
check this document by changing extenstion to pdf(i renames to txt because it is not allowed to upload here)
(CP-HowtosetyourThemeColorScheme-040913-0058-2.txt)
Thanks for the quick reply, but both those links are missing a few keys. Confluence 5.2 list 19 configurable items in it's colour scheme (as defined in both the global and space colour schemes) as follows...
Top Bar
Top Bar Text
Header Button Background
Header Button Text
Top Bar Menu Selected Background
Top Bar Menu Selected Text
Top Bar Menu Item Text
Menu Item Selected Background
Menu Item Selected Text
Page Menu Selected Background
Page Menu Item Text
Heading Text
Space Name Text
Links
Borders and Dividers
Tab Navigation Background
Tab Navigation Text
Tab Navigation Background Highlight
Tab Navigation Text Highlight
The equivalent atlassian-plugin.xml colour keys must be listed somewhere.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually, you're spot on. That last link above lists the correct keys for Confluence 5, and matches the list of colours in the Confluence global colour scheme and the Confluence API for the ColourScheme interface perfectly.
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.