mirror of
https://github.com/bartvdbraak/hellob.art.git
synced 2025-04-27 09:31:21 +00:00
Merge pull request #161 from bartvdbraak/feat/minor-changes
Minor changes for README
This commit is contained in:
commit
e134d1cf00
1 changed files with 1 additions and 1 deletions
2
.github/workflows/unlighthouse.yaml
vendored
2
.github/workflows/unlighthouse.yaml
vendored
|
@ -97,7 +97,7 @@ jobs:
|
|||
|
||||
const formatScore = score => `${Math.round(score * 100)} (${score})`;
|
||||
const getEmoji = score => score >= 0.9 ? '🟢' : score >= 0.5 ? '🟠' : '🔴';
|
||||
const getColor = score => score >= 0.9 ? 'green' : score >= 0.5 ? 'orange' : 'red';
|
||||
const getColor = score => score >= 0.9 ? '4c1' : score >= 0.5 ? 'ffa400' : 'eb0f00';
|
||||
|
||||
const score = res => `${getEmoji(res)} ${formatScore(res)}`;
|
||||
|
||||
|
|
Loading…
Reference in a new issue