Unable to change button font size.
pietdaniel opened this issue · comments
I cannot change the font-size of the button. I would expect the following to work:
<Button style={{fontSize: '5px'}} />
I believe this value is the culprit.
@pietdaniel
You can try this.
.nu-button-inner {
font-size: 16px !important;
}
What about something like this: master...pietdaniel:ui-neumorphism:master
The reasoning behind this is to have a xs
variant and to have the sm
variant be smaller. Something like:
![Screen Shot 2023-07-15 at 9 28 36 PM](https://private-user-images.githubusercontent.com/1924983/253780605-eee54a3c-c0c3-471d-a8c4-5ac23d38d240.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTYwOTY5MjAsIm5iZiI6MTcxNjA5NjYyMCwicGF0aCI6Ii8xOTI0OTgzLzI1Mzc4MDYwNS1lZWU1NGEzYy1jMGMzLTQ3MWQtYThjNC01YWMyM2QzOGQyNDAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDUxOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA1MTlUMDUzMDIwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MGMyYjhjM2VhNDI4MmQ1ZmMxZmVkZDA1NTk2YjEyZDQ0OTcxNWQ0NGU5MDIxYThlY2E4ZGFkYWYwNGI2MDkyNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.U4mfZHdbPKIAv80tsLjvSZVNtiAvLO7_I3PBhF7FUEs)