Sitelet https://github.com/tailng/tailng-ui/issues/85
Skip to content

Fix Theme-Specific Icon Display in TailNG UI #85

Description

@Abinmathew21

The TailNG UI theme control currently displays the same icon regardless of the active theme. The icon should change based on whether the application is in light mode or dark mode.

Issues

  • In light mode, the theme control should display the moon icon, indicating that the user can switch to dark mode.
  • In dark mode, the theme control should display the sun icon, indicating that the user can switch to light mode.
  • The current implementation does not correctly change the displayed icon when the theme changes.

Expected Behavior

  • Light mode → Moon icon
  • Dark mode → Sun icon
  • The displayed icon should update immediately when switching themes.
  • The icon change should use the existing TailNG Icon component consistently.
  • No changes to icon color behavior are required.
Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions