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

Disable sub-brand and transparent o-header styles #561

Merged
merged 1 commit into from
Aug 20, 2019

Conversation

i-like-robots
Copy link
Contributor

This PR adds a list of o-header features to output the styles for. By excluding the sub-brand and transparent styles we can reduce the output size by 20%.

@i-like-robots i-like-robots added UI Performance Making the sites built with Page Kit faster labels Aug 15, 2019
@i-like-robots i-like-robots requested a review from a team August 15, 2019 15:31

$o-header-is-silent: false !default;
// We don't need the sub-brand or transparent header styles so disable them.
// TODO: move drawer styles into a separate stylesheet which can be lazy loaded?

Choose a reason for hiding this comment

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

Could/should TODOs be issues on this project?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think this one is covered by #546 already!

@i-like-robots i-like-robots merged commit f93b343 into master Aug 20, 2019
@i-like-robots i-like-robots deleted the matth/reduce-header-styles branch August 20, 2019 08:02
@i-like-robots i-like-robots added this to the Release v0.2.0 milestone Aug 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Performance Making the sites built with Page Kit faster UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants