Skip to content
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

Feature/update layout helpers #81

Open
wants to merge 18 commits into
base: main
Choose a base branch
from

Conversation

NicolaSaunders
Copy link
Member

An extensive number of changes to Amplify and its static docs site:

  • Add Sass function/mixins for handling CSS custom properties (CSS variables)
  • Update layout helpers provided in Amplify to use CSS custom props and newer CSS functionality (flexbox gap, aspect-ratio)
  • Update supporting CSS where needed
  • Update guidance docs
  • Update Amplify component markup and Amplify navigation mark to reflect changes to layout helpers being used

@sean-dunwoody I have not been able to find a neat way of allowing CSS custom properties to be declared with a fallback value using the Sass helpers. This may require further discussion and investigation if you think this could be problematic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant