mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
dashboard: change scale to green to red
This commit is contained in:
parent
8e09b8b0eb
commit
d96f2ae0e7
2 changed files with 7 additions and 11 deletions
File diff suppressed because one or more lines are too long
|
|
@ -88,9 +88,5 @@ export const simplifyBytes = (x: number) => {
|
|||
};
|
||||
|
||||
// hues contains predefined colors for gradient stop colors.
|
||||
// export const hues = ['#00FF00', '#FFFF00', '#FF0000'];
|
||||
// export const hueScale = [0, 1 << 16, 1 << 20];
|
||||
|
||||
// Rainbow colors.
|
||||
export const hues = ['#8B00FF', '#0000FF', '#00FF00', '#FFFF00', '#FF7F00', '#FF0000'];
|
||||
export const hueScale = [0, 1 << 7, 1 << 12, 1 << 14, 1 << 17, 1 << 20];
|
||||
export const hues = ['#00FF00', '#FFFF00', '#FF7F00', '#FF0000'];
|
||||
export const hueScale = [0, 2048, 102400, 2097152];
|
||||
|
|
|
|||
Loading…
Reference in a new issue