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

Make components CSS available to static in the component guide #286

Merged
merged 1 commit into from Apr 30, 2018

Conversation

andysellick
Copy link
Contributor

  • applications include the styles for the components as part of the application's css, but static does not
  • this means gem components viewed in the static component guide are not styled, which can cause accessibility errors to trigger
  • adds logic and a couple of stylesheets to pull in the component styles if static is the application

This is a temporary (and slightly ugly) measure while all the components are migrated from static into the gem. If there's a cleaner way of doing it please let me know.

@tijmenb tijmenb temporarily deployed to govuk-publishing-compon-pr-286 April 26, 2018 13:07 Inactive
- applications include the styles for the components as part of the application's css, but static does not
- this means gem components viewed in the static component guide are not styled, which can cause accessibility errors to trigger
- adds logic and a couple of stylesheets to pull in the component styles if static is the application
@andysellick andysellick merged commit c852ab1 into master Apr 30, 2018
@andysellick andysellick deleted the make-gem-components-work-in-static branch April 30, 2018 12:46
@vanitabarrett vanitabarrett mentioned this pull request May 1, 2018
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.

None yet

2 participants