Skip to content

Commit

Permalink
Merge branch 'feature/58149_colorchange' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
einpraegsam committed Aug 11, 2023
2 parents 49e0069 + 5c22bbc commit 97500ac
Show file tree
Hide file tree
Showing 11 changed files with 39 additions and 28 deletions.
31 changes: 16 additions & 15 deletions Resources/Private/Build/JavaScript/Backend/Diagram.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,17 @@ define(['jquery', 'TYPO3/CMS/Lux/Vendor/Chart.min'], function($) {
datasets: [{
data: element.getAttribute('data-chart-data').split(','),
backgroundColor: [
'rgba(77, 231, 255, 1)',
'rgba(221, 221, 221, 1)',
'rgba(255, 233, 51, 1)',
'rgba(77, 231, 255, 0.6)',
'rgba(255, 233, 51, 0.6)',
'rgba(77, 231, 255, 0.4)',
'rgba(255, 233, 51, 0.4)',
'rgba(77, 231, 255, 0.2)',
'rgba(255, 233, 51, 0.2)',
'rgba(77, 231, 255, 0.1)'
'rgba(2, 122, 202, 1)',
'rgba(242, 182, 2, 1)',
'rgba(209, 35, 53, 1)',
'rgba(73, 159, 104, 1)',
'rgba(18, 38, 58, 1)',
'rgba(242, 182, 2, 0.6)',
'rgba(209, 35, 53, 0.6)',
'rgba(73, 159, 104, 0.6)',
'rgba(242, 182, 2, 0.3)',
'rgba(209, 35, 53, 0.3)',
'rgba(73, 159, 104, 0.3)',
]
}],
labels: element.getAttribute('data-chart-labels').split(',')
Expand Down Expand Up @@ -82,7 +83,7 @@ define(['jquery', 'TYPO3/CMS/Lux/Vendor/Chart.min'], function($) {
label: element.getAttribute('data-chart-label') || 'Leads',
data: element.getAttribute('data-chart-data').split(','),
backgroundColor: [
'rgba(77, 231, 255, 1)',
'rgba(2, 122, 202, 1)',
'rgba(221, 221, 221, 1)'
]
}],
Expand Down Expand Up @@ -119,8 +120,8 @@ define(['jquery', 'TYPO3/CMS/Lux/Vendor/Chart.min'], function($) {
label: element.getAttribute('data-chart-labelbottom'),
data: element.getAttribute('data-chart-databottom').split(','),
backgroundColor: [
'rgba(77, 231, 255, 1)',
'rgba(77, 231, 255, 1)'
'rgba(2, 122, 202, 1)',
'rgba(2, 122, 202, 1)'
]
},
{
Expand Down Expand Up @@ -167,15 +168,15 @@ define(['jquery', 'TYPO3/CMS/Lux/Vendor/Chart.min'], function($) {
var datasets = [{
label: element.getAttribute('data-chart-label'),
data: element.getAttribute('data-chart-data').split(','),
borderColor: 'rgb(77, 231, 255)',
borderColor: 'rgba(2, 122, 202, 1)',
"lineTension": 0.5
}];
for (var i = 2; i < 7; i++) {
if (element.hasAttribute('data-chart-data' + i) && element.hasAttribute('data-chart-label' + i)) {
datasets.push({
label: element.getAttribute('data-chart-label' + i),
data: element.getAttribute('data-chart-data' + i).split(','),
borderColor: '#FFE933'
borderColor: '#F2B602'
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion Resources/Private/Partials/Box/Leads/Map.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<f:for each="{lux:charts.getPercentageFromValue(countries:countries)}" key="countryCode" as="visitPercentage">
#{countryCode} {
<f:comment>Hey Fluid, listen to the following variable</f:comment>
fill: rgba(77, 231, 255, 1);
fill: rgba(2, 122, 202, 1);
filter: saturate({visitPercentage}%);
}
</f:for>
Expand Down
8 changes: 8 additions & 0 deletions Resources/Private/Sass/Modules.scss
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,10 @@ label {
*/
.table {
border: 1px solid $colorGreyBright;

.soft {
color: $colorGreySoft;
}
}

.table.min-height-50 {
Expand All @@ -290,6 +294,10 @@ label {

> td {
color: $white;

.soft {
color: $colorGreyBright;
}
}
}

Expand Down
9 changes: 5 additions & 4 deletions Resources/Private/Sass/_Settings.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
$colorMain: #4DE7FF;
$colorSoft: #A5E7FF;
$colorAlternative: #08E7FF;
$colorMain: #027ACA;
$colorSoft: #7cc6fe;
$colorAlternative: #027ACA;

$colorSecondary: #FFE933;
$colorSecondary: #F2B602;

$white: #ffffff;
$colorGrey: #DDDDDD;
$colorGreyBright: #CCCCCC;
$colorGreySoft: #737373;
$colorGreyDark: #292929;
$black: #000000;

Expand Down
2 changes: 1 addition & 1 deletion Resources/Public/Css/Modules.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Resources/Public/Css/PageOverview.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Resources/Public/Icons/Extension.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion Resources/Public/Icons/lux_module_analysis.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions Resources/Public/Icons/lux_module_lead.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Resources/Public/Icons/lux_module_workflow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Resources/Public/JavaScript/Lux/Diagram.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 97500ac

Please sign in to comment.