feat: 支持GitHub Actions和一堆其他更新

This commit is contained in:
qier222 2022-04-02 19:29:43 +08:00
parent f5ab5ea754
commit e748155032
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
28 changed files with 185 additions and 36 deletions

View file

@ -69,8 +69,6 @@ const FMCard = () => {
if (coverUrl) {
average(coverUrl, { amount: 1, format: 'hex', sample: 1 }).then(color => {
let c = colord(color as string)
console.log({ dark: c.isDark(), light: c.isLight() })
if (c.isLight()) c = c.darken(0.15)
else if (c.isDark()) c = c.lighten(0.1)
const to = c.darken(0.15).rotate(-5).toHex()