Skip to content

Commit

Permalink
web: fix chart background in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
hoang-rio committed Dec 5, 2024
1 parent abafebd commit a34a7b2
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 11 deletions.
9 changes: 9 additions & 0 deletions web_viewer/fe_src/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ a {
color: #646cff;
text-decoration: inherit;
}

a:hover {
color: #535bf2;
}
Expand Down Expand Up @@ -60,10 +61,18 @@ h1 {
color: #213547;
background-color: #f2f7f8;
}

a:hover {
color: #747bff;
}

.card {
background-color: #ffffff;
}
}

@media (prefers-color-scheme: dark) {
.apexcharts-canvas svg {
background-color: unset !important;
}
}

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

Original file line number Diff line number Diff line change
@@ -1 +1 @@
import{j as e}from"./index-Duw0VNc5.js";function l({value:r,unit:s,className:n}){return e.jsxs("div",{className:`${n||""} general-value`,children:[e.jsx("strong",{children:r}),s]})}export{l as G};
import{j as e}from"./index-CqVdXGey.js";function l({value:r,unit:s,className:n}){return e.jsxs("div",{className:`${n||""} general-value`,children:[e.jsx("strong",{children:r}),s]})}export{l as G};

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

Loading

0 comments on commit a34a7b2

Please sign in to comment.