Skip to content

fix: Missing background in lukso-input - #916

Merged
dzbo merged 1 commit into
mainfrom
fix/input-missing-background
Jun 16, 2026
Merged

dzbo merged 1 commit into
mainfrom
fix/input-missing-background

Conversation

@dzbo

@dzbo dzbo commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Ticket ID

DEV-16385

Description

  • bg-neutral-100 was moved from the base input slot to variant.default in commit a49aa92, which broke inputs on non-white backgrounds when variant is unset or empty
  • Restored bg-neutral-100 to the base input and unit slots in lukso-input so background is always present regardless of variant value
  • variant.default is now a no-op; variant.subtle still overrides to bg-neutral-97 as intended
  • Applied the same fix to lukso-input-date-picker which had the identical pattern in its own inputStyles

Copilot AI review requested due to automatic review settings June 16, 2026 10:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Restores a consistent background color for lukso-input and lukso-input-date-picker when variant is unset/empty, ensuring inputs remain readable on non-white surfaces.

Changes:

  • Moved bg-neutral-100 back into the base styles for lukso-input (input + unit slots).
  • Made variant.default a no-op for lukso-input, keeping variant.subtle as the override.
  • Applied the same base-background fix to lukso-input-date-picker and made its variant.default a no-op.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/components/lukso-input/index.ts Ensures the base input and unit always have bg-neutral-100, independent of variant value.
src/components/lukso-input-date-picker/index.ts Ensures the date-picker input base always has bg-neutral-100, with subtle still overriding.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions

Copy link
Copy Markdown
Contributor

Storybook deployed with Cloudflare Pages ☁️ 📖 🚀

Storybook

Built from commit 6d75fad

@dzbo
dzbo enabled auto-merge (squash) June 16, 2026 10:36
@dzbo
dzbo merged commit e11f135 into main Jun 16, 2026
9 checks passed
@dzbo
dzbo deleted the fix/input-missing-background branch June 16, 2026 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants