Skip to content

Commit

Permalink
invert dark theme colors
Browse files Browse the repository at this point in the history
  • Loading branch information
lakshith-403 committed Oct 15, 2024
1 parent 8e05b51 commit ec110af
Show file tree
Hide file tree
Showing 3 changed files with 22,367 additions and 3 deletions.
141 changes: 140 additions & 1 deletion python/inspectus/static/css/charts.css

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

22,227 changes: 22,226 additions & 1 deletion python/inspectus/static/js/charts.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ui/src/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export class PlotColors {

public getInterpolatedColor(value: number, chart: string) {
if (this.theme === 'dark') {
value = 0.2 + (value) * 0.8
value = 0.3 + (1 - value) * 0.7
} else {
value = value * 0.8
}
Expand Down

0 comments on commit ec110af

Please sign in to comment.