Add component name prefix to errors

This commit is contained in:
Will Faught
2023-03-04 11:06:38 -08:00
parent bfb3e90505
commit b6ea579be1
7 changed files with 8 additions and 8 deletions

View File

@@ -113,7 +113,7 @@ body, html {
{{ else if eq . "light" }}
{{ partial "paige/light.css" . | safeCSS }}
{{ else }}
{{ errorf "invalid color scheme: %q" . }}
{{ errorf "paige/style: invalid color scheme: %q" . }}
{{ end }}
{{ else }}
@media (prefers-color-scheme: dark) {