AKAspanion / ui-neumorphism

📕 React component library designed on the "new skeuomorphism" or "neumorphism" UI/UX trend.
https://akaspanion.github.io/ui-neumorphism/
MIT License
616 stars 57 forks source link

Unable to change button font size. #30

Closed pietdaniel closed 1 year ago

pietdaniel commented 1 year ago

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.

AKAspanion commented 1 year ago

@pietdaniel You can try this. .nu-button-inner { font-size: 16px !important; }

pietdaniel commented 1 year ago

What about something like this: https://github.com/AKAspanion/ui-neumorphism/compare/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