-
-
Notifications
You must be signed in to change notification settings - Fork 552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XWIKI-13912: Impossible to control contrast of the panel headers on Flamingo #2497
Changes from 10 commits
a5f43e7
983ebcd
5e32302
0ac12e6
6db564c
16fc48e
337d02e
5587492
b7b788f
dc4c9d5
9c640c2
afc21a6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -98,6 +98,9 @@ | |
|
||
@panel-bg: $theme.panelBackgroundColor; | ||
@panel-default-text: $theme.panelTextColor; | ||
@panel-header-bg: $theme.panelHeaderBackgroundColor; | ||
@panel-header-text: $theme.panelHeaderTextColor; | ||
## Kept for backward compatibility | ||
@xwiki-panel-header-bg: $theme.panelHeaderBackgroundColor; | ||
@xwiki-panel-header-text: $theme.panelHeaderTextColor; | ||
|
||
|
@@ -194,6 +197,7 @@ | |
"legend-border-color": "color", | ||
"panel-bg" : "color", | ||
"panel-default-text" : "color", | ||
"panel-header-text" : "color", | ||
"breadcrumb-bg": "color", | ||
"breadcrumb-color": "color", | ||
"breadcrumb-separator": "escapedText", | ||
|
@@ -225,13 +229,16 @@ | |
## currently, it comes from the old color theme object (see colorThemeInit.vm) | ||
// Default | ||
@xwiki-border-color: $theme.borderColor; | ||
@xwiki-panel-header-bg: $theme.panelHeaderBackgroundColor; | ||
@xwiki-panel-header-text: $theme.panelHeaderTextColor; | ||
@panel-header-bg: $theme.panelHeaderBackgroundColor; | ||
@panel-header-text: $theme.panelHeaderTextColor; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here, wouldn't it be better to (additionally) keep the old variable names for backwards-compatibility? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Addressed in 5587492 👍 |
||
@xwiki-page-content-bg: $theme.pageContentBackgroundColor; | ||
@xwiki-background-secondary-color: $theme.backgroundSecondaryColor; | ||
@xwiki-page-header-bg-color: $theme.pageHeaderBackgroundColor; | ||
@xwiki-page-header-bg-image: $stringtool.defaultString($theme.headerBackgroundImage, '""'); | ||
@xwiki-page-header-bg-position: $stringtool.defaultString($theme.headerBackgroundPosition, '""'); | ||
## Kept for backward compatibility | ||
@xwiki-panel-header-bg: $theme.panelHeaderBackgroundColor; | ||
@xwiki-panel-header-text: $theme.panelHeaderTextColor; | ||
|
||
## Some values are changed from the bootstrap default in order to make sure there's no accessibility contrast issue | ||
## Make sure the links are dark enough in the tmDrawer | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -753,6 +753,19 @@ | |
<validationRegExp/> | ||
<classType>com.xpn.xwiki.objects.classes.StringClass</classType> | ||
</panel-bg> | ||
<panel-header-text> | ||
<customDisplay/> | ||
<disabled>0</disabled> | ||
<name>panel-header-text</name> | ||
<number>46</number> | ||
<picker>0</picker> | ||
<prettyName>panel-header-text</prettyName> | ||
<size>30</size> | ||
<unmodifiable>0</unmodifiable> | ||
<validationMessage/> | ||
<validationRegExp/> | ||
<classType>com.xpn.xwiki.objects.classes.StringClass</classType> | ||
</panel-header-text> | ||
<text-color> | ||
<customDisplay/> | ||
<disabled>0</disabled> | ||
|
@@ -2050,6 +2063,9 @@ a.list-group-item { | |
<property> | ||
<panel-bg>#060606</panel-bg> | ||
</property> | ||
<property> | ||
<panel-default-text>#ffffff</panel-default-text> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This looks like a bad merge. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Addressed in 9c640c2 👍 |
||
</property> | ||
<property> | ||
<text-color>#999999</text-color> | ||
</property> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't it be better to (additionally) keep the old variable names for backwards-compatibility?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed in 5587492 👍