mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-28 13:08:01 +02:00
Search Improvements
This commit is contained in:
parent
51c56abe16
commit
19fc65e6c0
19 changed files with 545 additions and 404 deletions
|
@ -1,16 +1,16 @@
|
|||
const c = [
|
||||
"linear-gradient(45deg, #88c0d0, #5e81ac)",
|
||||
"linear-gradient(45deg, #5e81ac, #b48ead)",
|
||||
"linear-gradient(45deg, #a3be8c, #88c0d0)",
|
||||
"linear-gradient(45deg, #ebcb8b, #a3be8c)",
|
||||
"linear-gradient(45deg, #d08770, #bf616a)"
|
||||
'linear-gradient(45deg, #88c0d0, #5e81ac)',
|
||||
'linear-gradient(45deg, #5e81ac, #b48ead)',
|
||||
'linear-gradient(45deg, #a3be8c, #88c0d0)',
|
||||
'linear-gradient(45deg, #ebcb8b, #a3be8c)',
|
||||
'linear-gradient(45deg, #d08770, #bf616a)',
|
||||
];
|
||||
|
||||
export function useColors() {
|
||||
return c
|
||||
return c;
|
||||
}
|
||||
|
||||
export function useRand() {
|
||||
const i = Math.floor(Math.random() * c.length);
|
||||
return c[i]
|
||||
}
|
||||
const i = Math.floor(Math.random() * c.length);
|
||||
return c[i];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue