mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2025-12-06 11:46:42 +01:00
This commit is contained in:
parent
12998a94ea
commit
f21781e816
1 changed files with 3 additions and 3 deletions
|
|
@ -103,9 +103,9 @@ impl ItemTheme {
|
||||||
let mut builder = konst::array::ArrayBuilder::new();
|
let mut builder = konst::array::ArrayBuilder::new();
|
||||||
while !builder.is_full() {
|
while !builder.is_full() {
|
||||||
let index = builder.len() as u8;
|
let index = builder.len() as u8;
|
||||||
let light = (index as f64 * 1.3) as u8;
|
let light = (index as f64 * 1.15) as u8;
|
||||||
let lighter = (index as f64 * 1.6) as u8;
|
let lighter = (index as f64 * 1.7) as u8;
|
||||||
let lightest = (index as f64 * 1.9) as u8;
|
let lightest = (index as f64 * 1.85) as u8;
|
||||||
let dark = (index as f64 * 0.9) as u8;
|
let dark = (index as f64 * 0.9) as u8;
|
||||||
let darker = (index as f64 * 0.6) as u8;
|
let darker = (index as f64 * 0.6) as u8;
|
||||||
let darkest = (index as f64 * 0.3) as u8;
|
let darkest = (index as f64 * 0.3) as u8;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue