Amplify-js: [Feedback]More Control over the styling.

Created on 25 Aug 2020  路  4Comments  路  Source: aws-amplify/amplify-js

Page: /ui/customization/customizing-css/q/framework/react

Feedback:

It is very difficult to remove the boxshadow of the authenticator, individual styling for the elements will be very uselful rather than changing css vars.

Amplify UI Components React feature-request

Most helpful comment

I am closing this issue and leaving in this repo so other can see the response here.

I will create an issue on docs repo that will point to this one

All 4 comments

Thanks for the feedback @xxcheckmatexx ! Will move to the js-repo since this is closer to product feedback.

You are able to modify the box-shadow of the Authenticator by using:

amplify-authenticator {
  --box-shadow: 0;
}

There are also:

  --width
  --min-width
  --border-radius
  --padding
  --margin-bottom

As these were added pretty recently, we are working on auto-documenting the css API on the Authenticator docs page. Thanks for the feedback!

I am closing this issue and leaving in this repo so other can see the response here.

I will create an issue on docs repo that will point to this one

You are able to modify the box-shadow of the Authenticator by using:

amplify-authenticator {
  --box-shadow: 0;
}

There are also:

  --width
  --min-width
  --border-radius
  --padding
  --margin-bottom

As these were added pretty recently, we are working on auto-documenting the css API on the Authenticator docs page. Thanks for the feedback!

Thank you for this :)
I've used this https://aws-amplify.github.io/amplify-js/api/classes/authclass.html with formik for more control of styles for now .

Was this page helpful?
0 / 5 - 0 ratings