Skip to content

Commit 4908b43

Browse files
Step 2.3: fix color-contrast issues in PivotGrid, TimeView, checkbox disabled state, gantt
1 parent 6aabbcc commit 4908b43

26 files changed

Lines changed: 40 additions & 72 deletions

File tree

apps/demos/Demos/PivotGrid/ExcelJSCellCustomization/Angular/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export class AppComponent {
132132

133133
return (value > 50000)
134134
? { font: '006100', fill: 'C6EFCE', bold: false }
135-
: { font: '9C6500', fill: 'FFEB9C', bold: false };
135+
: { font: '6E4600', fill: 'FFEB9C', bold: false };
136136
}
137137
}
138138

apps/demos/Demos/PivotGrid/ExcelJSCellCustomization/React/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const getConditionalAppearance = (cell: PivotGridCell): ConditionalAppearance =>
8181
if (value > 50000) {
8282
return { font: '006100', fill: 'C6EFCE' };
8383
}
84-
return { font: '9C6500', fill: 'FFEB9C' };
84+
return { font: '6E4600', fill: 'FFEB9C' };
8585
};
8686

8787
const onExporting = (e: PivotGridTypes.ExportingEvent) => {

apps/demos/Demos/PivotGrid/ExcelJSCellCustomization/ReactJs/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const getConditionalAppearance = (cell) => {
6666
if (value > 50000) {
6767
return { font: '006100', fill: 'C6EFCE' };
6868
}
69-
return { font: '9C6500', fill: 'FFEB9C' };
69+
return { font: '6E4600', fill: 'FFEB9C' };
7070
};
7171
const onExporting = (e) => {
7272
const workbook = new Workbook();

apps/demos/Demos/PivotGrid/ExcelJSCellCustomization/Vue/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ function getConditionalAppearance(cell: DxPivotGridTypes.Cell): ConditionalAppea
125125
if (value > 50000) {
126126
return { font: '006100', fill: 'C6EFCE' };
127127
}
128-
return { font: '9C6500', fill: 'FFEB9C' };
128+
return { font: '6E4600', fill: 'FFEB9C' };
129129
}
130130
131131
</script>

apps/demos/Demos/PivotGrid/ExcelJSCellCustomization/jQuery/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,6 @@ $(() => {
110110
if (cell.value > 50000) {
111111
return { font: '006100', fill: 'C6EFCE' };
112112
}
113-
return { font: '9C6500', fill: 'FFEB9C' };
113+
return { font: '6E4600', fill: 'FFEB9C' };
114114
}
115115
});

apps/demos/Demos/Sortable/Kanban/Angular/app/app.component.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
}
4747

4848
.card-assignee {
49-
opacity: 0.6;
49+
color: var(--dx-color-icon);
5050
}
5151

5252
.card-priority {

apps/demos/Demos/Sortable/Kanban/React/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
}
4747

4848
.card-assignee {
49-
opacity: 0.6;
49+
color: var(--dx-color-icon);
5050
}
5151

5252
.card-priority {

apps/demos/Demos/Sortable/Kanban/ReactJs/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
}
4747

4848
.card-assignee {
49-
opacity: 0.6;
49+
color: var(--dx-color-icon);
5050
}
5151

5252
.card-priority {

apps/demos/Demos/Sortable/Kanban/Vue/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ function getPriorityClass(task: Task) {
127127
}
128128
129129
.card-assignee {
130-
opacity: 0.6;
130+
color: var(--dx-color-icon);
131131
}
132132
133133
.card-priority {

apps/demos/Demos/Sortable/Kanban/jQuery/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
}
4747

4848
.card-assignee {
49-
opacity: 0.6;
49+
color: var(--dx-color-icon);
5050
}
5151

5252
.card-priority {

0 commit comments

Comments
 (0)