Are there theme types in INTPUT / DYNAMIC-INPUT ? #2170
Replies: 7 comments 6 replies
-
https://www.naiveui.com/en-US/os-theme/docs/customize-theme#Use-the-peers-vars |
Beta Was this translation helpful? Give feedback.
-
https://github.com/TuSimple/naive-ui/blob/main/src/dynamic-input/styles/light.ts |
Beta Was this translation helpful? Give feedback.
-
Thank you! |
Beta Was this translation helpful? Give feedback.
-
Your answers are not really an answer to my question. Your documentation... The theme variables related to peers have not been exposed yet. Use GlobalThemeOverrides to view the peers variables of the corresponding component. The specific available peers will be updated later." I dont understand how to manage your answers regarding to my first post. |
Beta Was this translation helpful? Give feedback.
-
What exactly is the idea behind "peers" and how exactly does it work? (and by the way, i´m also no native english speaker) :-) |
Beta Was this translation helpful? Give feedback.
-
Thank you for implement it to the newest version! :-) |
Beta Was this translation helpful? Give feedback.
-
Hi,
there are theme types for BUTTONS for example.
So ist there any "type" theme property for INPUT?
I saw in the theme vars, that there are set colors for that types.
But how can i use it? For example on input-errors?
kr
Beta Was this translation helpful? Give feedback.
All reactions