-
Notifications
You must be signed in to change notification settings - Fork 1
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
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 ↗︎
|
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. |
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.Userfront
dynamic.css
file + controls for it in theUniversalForm
componentlight
,dark
, optionallyaccent
, optionallylight-background
, optionallydark-background
@media prefers-color-scheme
)size
parameter that can be set todefault
,compact
,spaced
,mini
, andlarge
ounded
for corners to be more rounded than the defaultsquared
to remove corner rounding altogetherhideSecuredMessage
to hide the "secured by Userfront" brandinggradientButtons
to add a subtle interactive gradient effect to buttonsraisedButtons
to make the buttons pseudo-3D, like operating system buttonsgradientButtons
andraisedButtons
play nicely together (currentlyraisedButtons
just overridesgradientButtons
, but the gradient effect actually looks better on a raised backgrounddottedOutlines
for focus/active outlines to be dotted lines (goes well withraisedButtons
!)