-
Notifications
You must be signed in to change notification settings - Fork 328
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
Rename govuk-typography-responsive
#4243
Comments
It looks like it's already covered in the done whens (thanks! 🙌🏻 ) but we should follow our process for renaming Sass mixins for this. |
That does make me wonder if there needs to be some formality introduced as to how all the mixins are named though. Some begin with That might be spinning off a whole other bunch of changes, though 😅 |
@querkmachine Excellent point. I do wonder if there's an argument to changing all our typography mixins to use a I can guess at the reason for at least the weight mixins since they're tied explicitly to the I personally would like to do some data gathering on our naming somewhen during the lifecycle of the typography work since it feels non-trivial to change in-flight mixins in our API. I'm thinking about polling the community about this. We already have #4276, maybe instead of being specifically about the need for a mixin we ask about our font mixins in general? |
The team have picked a new name: |
Moving this into blocked until we're ready to launch this |
What
Rename the mixin
govuk-typoraphy-responsive
to something that more clearly dictates what it does.Why
It emerged during #3837 that users may not understand how to use
govuk-font
is it is intended. Part of this is driven by the fact that users don't know aboutgovuk-typography-responsive
as the mixin that handles the retrieval offont-size
andline-height
from the typography scale. Part of this can be handled by documenting it better however we have a reckon that a more appropriate name would help users understand it at a glance and recall it easier.A name that emerged during the linked spike is
govuk-font-size
however this isn't set in stone.Who needs to work on this
Developers
Who needs to review this
Developers
Done when
govuk-typography-responsive
is deprecatedThe text was updated successfully, but these errors were encountered: