-
Notifications
You must be signed in to change notification settings - Fork 331
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
Document how to use the legacy palette #1439
Conversation
@m-green would you have any time to review this? Happy to talk it through in person. |
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.
Factually this looks great :)
@36degrees I've rejigged for style and conciseness - let me know what you think. Happy to chat through! |
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.
Very concise, good stuff 👍
There are a couple of changes I'm not sure are quite right.
docs/installation/compatibility.md
Outdated
|
||
## Compatibility mode | ||
GOV.UK Frontend components in your pages will: |
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.
It's not just the components – this would also apply to anything styled using GOV.UK Frontend, for example headings, paragraphs and links.
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.
Ah good to know, thanks - tweaked in f621496.
docs/installation/compatibility.md
Outdated
- include adjustments to the CSS to 'counter' specific CSS rules in the legacy | ||
frameworks | ||
- use the previous version of the font included with GOV.UK Template | ||
Set a variable to `false` to turn off compatibility mode for that framework. |
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.
I think we'd generally encourage people to omit the variable entirely if they're not changing it from the default.
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.
Thank you - fixed in f621496.
f621496
to
093e2a2
Compare
It’s hard to talk about this option without also talking about compatibility mode, so this also splits the documentation on compatibility mode out from the installation instructions and adds more detail about what it actually does. Co-authored-by: Mark Green <[email protected]>
093e2a2
to
1402166
Compare
Squashed into one commit and wrapped at 80 characters. |
It’s hard to talk about this option without also talking about compatibility mode, so this also splits the documentation on compatibility mode out from the installation instructions and adds more detail about what it actually does.
There is some duplication between this and the compatibility mode Sass documentation updated in #1438 – it feels like it does need to be explained in both places. Open to ideas on how to reduce that duplication.
Closes #1432