Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Light Theme for <NTooltip /> #1992

Closed
muchenfine opened this issue Dec 23, 2021 · 8 comments
Closed

Light Theme for <NTooltip /> #1992

muchenfine opened this issue Dec 23, 2021 · 8 comments
Labels

Comments

@muchenfine
Copy link

This function solves the problem (这个功能解决的问题)

Unified Equipment

Expected API (期望的 API)

datatable Support for ellipsis light theme

@github-actions github-actions bot added the feature request New feature or request label Dec 23, 2021
@Talljack
Copy link
Contributor

ellipsis calls the tooltip variables, you can look at the tooltip variables, please refer to https://www.naiveui.com/en-US/light/docs/customize-theme#Use-the-peers-vars

@07akioni
Copy link
Collaborator

07akioni commented Dec 24, 2021

Please describe your scene. Why light is needed.

@muchenfine
Copy link
Author

All themes in the current project are in bright colors. If they are dark, they will not fit

@07akioni
Copy link
Collaborator

Tooltip is black backgrounded by de# light theme.

@07akioni
Copy link
Collaborator

I may add the feature. Not sure for now.

@muchenfine
Copy link
Author

yes thank you

@equt equt changed the title datatable Support for ellipsis light theme Light Theme for <NTooltip /> Aug 19, 2022
@jahnli
Copy link
Collaborator

jahnli commented Mar 12, 2024

This issue does not have any recent activity. If you are still experiencing similar problems, open a new error, including a minimal copy of the problem

@jahnli jahnli closed this as completed Mar 12, 2024
@TimofeyBiryukov
Copy link

I've managed to fix this by adding a :theme-overrides attribute to the n-config-provider with a tooltip colour value set to white.

<n-config-provider
  :theme="lightTheme"
  :theme-overrides="{
    Tooltip: {
      color: 'white'
    }
  }"
>
</n-config-provider>

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants