mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
Fixed chart colors
This commit is contained in:
parent
f926caedf9
commit
224b4ee9ff
13 changed files with 95 additions and 95 deletions
|
@ -68,9 +68,9 @@ export default {
|
|||
},
|
||||
setChartOptions() {
|
||||
const documentStyle = getComputedStyle(document.documentElement);
|
||||
const textColor = documentStyle.getPropertyValue('--text-color');
|
||||
const textColorSecondary = documentStyle.getPropertyValue('--text-secondary-color');
|
||||
const surfaceBorder = documentStyle.getPropertyValue('--border-color');
|
||||
const textColor = documentStyle.getPropertyValue('--p-text-color');
|
||||
const textColorSecondary = documentStyle.getPropertyValue('--p-text-muted-color');
|
||||
const surfaceBorder = documentStyle.getPropertyValue('--p-content-border-color');
|
||||
|
||||
return {
|
||||
stacked: false,
|
||||
|
@ -167,9 +167,9 @@ const setChartData = () => {
|
|||
};
|
||||
const setChartOptions = () => {
|
||||
const documentStyle = getComputedStyle(document.documentElement);
|
||||
const textColor = documentStyle.getPropertyValue('--text-color');
|
||||
const textColorSecondary = documentStyle.getPropertyValue('--text-secondary-color');
|
||||
const surfaceBorder = documentStyle.getPropertyValue('--border-color');
|
||||
const textColor = documentStyle.getPropertyValue('--p-text-color');
|
||||
const textColorSecondary = documentStyle.getPropertyValue('--p-text-muted-color');
|
||||
const surfaceBorder = documentStyle.getPropertyValue('--p-content-border-color');
|
||||
|
||||
return {
|
||||
stacked: false,
|
||||
|
@ -265,9 +265,9 @@ const setChartOptions = () => {
|
|||
},
|
||||
setChartOptions() {
|
||||
const documentStyle = getComputedStyle(document.documentElement);
|
||||
const textColor = documentStyle.getPropertyValue('--text-color');
|
||||
const textColorSecondary = documentStyle.getPropertyValue('--text-secondary-color');
|
||||
const surfaceBorder = documentStyle.getPropertyValue('--border-color');
|
||||
const textColor = documentStyle.getPropertyValue('--p-text-color');
|
||||
const textColorSecondary = documentStyle.getPropertyValue('--p-text-muted-color');
|
||||
const surfaceBorder = documentStyle.getPropertyValue('--p-content-border-color');
|
||||
|
||||
return {
|
||||
stacked: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue