Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Radio: add colorActive theme-override #3610

Closed
OrbisK opened this issue Aug 28, 2022 · 9 comments
Closed

Radio: add colorActive theme-override #3610

OrbisK opened this issue Aug 28, 2022 · 9 comments
Labels
feature request New feature or request

Comments

@OrbisK
Copy link
Collaborator

OrbisK commented Aug 28, 2022

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

currently its not possible to 'invert' the styling of an radio input. (swap background and dot highliting).

Expected API (期望的 API)

const override = {
    Radio: {
        colorActive: 'red',
    }
}
@github-actions github-actions bot added the feature request New feature or request label Aug 28, 2022
@Sepush
Copy link
Collaborator

Sepush commented Aug 29, 2022

image
use these

@Sepush Sepush closed this as completed Aug 29, 2022
@OrbisK
Copy link
Collaborator Author

OrbisK commented Aug 29, 2022

image use these

that's only for <n-radio-button />

image

@Sepush
Copy link
Collaborator

Sepush commented Aug 29, 2022

dot and shadow also works
image

@OrbisK
Copy link
Collaborator Author

OrbisK commented Aug 29, 2022

dot and shadow also works image

Let's say I want to color the background in primary color and the dot white,if radio is active. So I need a colorActive override.

@07akioni 07akioni reopened this Aug 29, 2022
@DannyBoris
Copy link

Where can i find those docs? @OrbisK

@jahnli
Copy link
Collaborator

jahnli commented Apr 23, 2024

Where can i find those docs? @OrbisK

Theme Editor

@OrbisK
Copy link
Collaborator Author

OrbisK commented Apr 23, 2024

Where can i find those docs? @OrbisK

image

@DannyBoris
Copy link

Where can i find those docs? @OrbisK

image

is that internal docs or i can access it too via a link?

@jahnli
Copy link
Collaborator

jahnli commented Apr 23, 2024

image

Where can i find those docs? @OrbisK

image

is that internal docs or i can access it too via a link?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants