forked from betaflight/betaflight.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Stats page should build now. Also has pre-emptive support for li…
…ght/dark theme (betaflight#200) Fix: Should build now. Also has light/dark theme
- Loading branch information
1 parent
d90fc11
commit 08e0925
Showing
3 changed files
with
62 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export const theme = { | ||
export const themeDark = { | ||
background: 'transparent', | ||
text: { | ||
fontSize: 16, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
export const themeLight = { | ||
background: 'transparent', | ||
text: { | ||
fontSize: 16, | ||
fill: '#181818', | ||
outlineWidth: 0, | ||
outlineColor: 'transparent', | ||
}, | ||
axis: { | ||
domain: { | ||
line: { | ||
stroke: 'transparent', | ||
}, | ||
}, | ||
legend: { | ||
text: { | ||
fill: '#181818', | ||
}, | ||
}, | ||
ticks: { | ||
text: { | ||
fill: '#181818', | ||
fontSize: 12, | ||
}, | ||
}, | ||
}, | ||
grid: { | ||
line: { | ||
stroke: 'rgba(25, 25, 25, 0.1)', | ||
strokeWidth: 1, | ||
}, | ||
}, | ||
tooltip: { | ||
container: { | ||
background: '#2E2D2D', | ||
}, | ||
chip: {}, | ||
}, | ||
legends: { | ||
text: { | ||
fill: '#181818', | ||
}, | ||
}, | ||
}; |