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

Add and apply new css variables to override heading styles #202

Merged
merged 2 commits into from
May 19, 2022

Conversation

msayoung
Copy link
Member

No description provided.

@@ -98,6 +98,32 @@ body {
--font-size-h5: var(--font-size-medium);
--font-size-h6: var(--font-size-medium);

/* Heading colours */
--text-colour-dark: #000000;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a little concerned about setting this as a direct colour rather than to another variable that already exists.

By setting it to equal the variable that it should have already been equating too, we should not break existing sites.

Something like this
--text-colour-dark: var(--color-black);

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes, I was waiting to see what we were doing with the --text-colour-dark and --text-colour-light field on the microsites, but I'll change this for now and we can change again if we need to.

@markconroy markconroy merged commit 4e568d3 into 1.x May 19, 2022
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