mirror of
https://github.com/zen-browser/components.git
synced 2025-07-09 19:55:30 +02:00
Improved UI theme colors generation and newtab aligment
This commit is contained in:
parent
220c9b42a5
commit
3242919033
2 changed files with 6 additions and 9 deletions
|
@ -439,7 +439,7 @@
|
|||
}
|
||||
}
|
||||
const result = this.pSBC(
|
||||
this.isDarkMode ? 0.5 : -0.5,
|
||||
this.isDarkMode ? 0.1 : -0.1,
|
||||
`rgb(${dominantColor[0]}, ${dominantColor[1]}, ${dominantColor[2]})`);
|
||||
return result?.match(/\d+/g).map(Number);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue