Skip to content

Commit

Permalink
Update src/lib/components/ratio/index.svelte
Browse files Browse the repository at this point in the history
Co-authored-by: Miriam Suzanne <[email protected]>
  • Loading branch information
jamesnw and mirisuzanne authored Dec 11, 2024
1 parent 9c239d7 commit 51feefe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/ratio/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
let alphaWarning = $derived.by(() => {
if ($bg.alpha !== 1)
return 'Alpha is not considered when the background is not opaque.';
if ($fg.alpha !== 1) return 'This ratio is our best estimate.';
if ($fg.alpha !== 1) return 'This ratio is our best estimate with transparency.';
return null;
});
</script>
Expand Down

0 comments on commit 51feefe

Please sign in to comment.