-
-
Notifications
You must be signed in to change notification settings - Fork 553
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 7 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,8 +98,8 @@ | |
|
||
@panel-bg: $theme.panelBackgroundColor; | ||
@panel-default-text: $theme.panelTextColor; | ||
@xwiki-panel-header-bg: $theme.panelHeaderBackgroundColor; | ||
@xwiki-panel-header-text: $theme.panelHeaderTextColor; | ||
@panel-header-bg: $theme.panelHeaderBackgroundColor; | ||
@panel-header-text: $theme.panelHeaderTextColor; | ||
|
||
## | ||
## XWiki variables: LESS variables specific to XWiki | ||
|
@@ -194,6 +194,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,8 +226,8 @@ | |
## 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; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -766,6 +766,19 @@ | |
<validationRegExp/> | ||
<classType>com.xpn.xwiki.objects.classes.StringClass</classType> | ||
</panel-default-text> | ||
<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> | ||
|
@@ -2063,6 +2076,9 @@ a.list-group-item { | |
<property> | ||
<panel-bg>#060606</panel-bg> | ||
</property> | ||
<property> | ||
<panel-header-text/> | ||
</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> | ||
|
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 👍