Skip to content

Commit dc4d902

Browse files
[autofix.ci] apply automated fixes
1 parent 2ced70f commit dc4d902

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/components/Chart/SplitSparkline.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ const configs = computed(() => {
102102
const fallbackColor = palette[i] ?? palette[i % palette.length] ?? palette[0]!
103103
const seriesColor = unit.color ?? fallbackColor
104104
const lightenedSeriesColor: string = unit.color
105-
? lightenOklch(unit.color, 0.5) ?? seriesColor
106-
: lightenColor(seriesColor, 0.5) ?? seriesColor // palette uses hex colours
105+
? (lightenOklch(unit.color, 0.5) ?? seriesColor)
106+
: (lightenColor(seriesColor, 0.5) ?? seriesColor) // palette uses hex colours
107107
108108
return {
109109
a11y: {
@@ -118,7 +118,7 @@ const configs = computed(() => {
118118
theme: isDarkMode.value ? 'dark' : '',
119119
temperatureColors: {
120120
show: isDarkMode.value,
121-
colors: [lightenedSeriesColor, seriesColor]
121+
colors: [lightenedSeriesColor, seriesColor],
122122
},
123123
skeletonConfig: {
124124
style: {

0 commit comments

Comments
 (0)