nuxt / nuxt/ui

Error page should inherit Nuxt UI styles when available

Open
#6,537 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

triage
Dominant language
TypeScript
Stars
6.9k
Forks
1.1k
Avg merge
1d 7h
Merged PRs (30d)
57

Description

Describe the feature

I have installed Nuxt UI and set the background color to neutral, but the error page still uses slate.

I've simply duplicated the error component and adjusted the background color, but I assume this would be a relatively quick feature to implement. If Nuxt UI is installed, it could check whether a background color is configured in app.config.ts and use that value automatically.

Additional information
  • Would you be willing to help implement this feature?
  • Could this feature be implemented as a module?
Final checks

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the error component and reading app.config.ts handling; confirm where the current slate background is selected and how Nuxt UI configuration is exposed. Done when an installed Nuxt UI setup can use its configured background color on the error page while the existing behavior remains unchanged otherwise.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt, tailwindcss, typescript
Domain
design, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.