-
Notifications
You must be signed in to change notification settings - Fork 1
Add demo form, add theme customization #100
Conversation
Add a quick example of enhanced FUN for buttons
…e (eye) icon placement so it's not broken with error messages, refactor to simplify password input
…background colors
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
drbrady8800
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Aside from the small comments I had a question around default.css. It seems like it has been replaced everywhere except package/.storybook/preview.cjs and in the blurb around CSS in the README. Was wondering if this was intentional and if not if we should get rid of the default.css file?
Good catches, thank you! I addressed your other comments as well. |
drbrady8800
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
|
Published version 1.1.0-alpha.1 to npm. |
Draft
Normal
Closes DEV-NNN
window.Userfrontdynamic.cssfile + controls for it in theUniversalFormcomponentlight,dark, optionallyaccent, optionallylight-background, optionallydark-background@media prefers-color-scheme)sizeparameter that can be set todefault,compact,spaced,mini, andlargeoundedfor corners to be more rounded than the defaultsquaredto remove corner rounding altogetherhideSecuredMessageto hide the "secured by Userfront" brandinggradientButtonsto add a subtle interactive gradient effect to buttonsraisedButtonsto make the buttons pseudo-3D, like operating system buttonsgradientButtonsandraisedButtonsplay nicely together (currentlyraisedButtonsjust overridesgradientButtons, but the gradient effect actually looks better on a raised backgrounddottedOutlinesfor focus/active outlines to be dotted lines (goes well withraisedButtons!)