Skip to content

VerifyCodeDialog OTP input text invisible in light theme (regression from #28623) #28947

@BonsaiSos

Description

@BonsaiSos

Found a bug? Please fill out the sections below. 👍

Issue Summary

#28623 fixed dark-mode OTP input visibility by adding
text-emphasis caret-emphasis [-webkit-text-fill-color:currentColor]
to digitClassName in VerifyCodeDialog.

In the light theme (embed, theme: "light"), the typed digit is now white-on-white and invisible.

Steps to Reproduce

  1. Embed Cal with config={{ theme: "light" }} on an event type
    that requires email verification
  2. Select a slot, fill out form, submit
  3. Verify-email modal appears; type a digit
  4. Digit is invisible

Actual Results

Image

Expected Results

  • Verification code fonts should be dark and readable on light theme.

Technical details

  • Chrome (147.0.7727.56)

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions