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

Use a Sass variable for default font #151

Merged
merged 4 commits into from
Oct 30, 2024

Conversation

Bisaloo
Copy link
Contributor

@Bisaloo Bisaloo commented Oct 23, 2024

The goal of this PR is to facilitate theming in varnish forks.

Currently, forks that want to set their own fonts need to edit numerous files and it takes a lot of maintainance work to fix the various git conflicts that arise as a result when pulling from upstream.

By setting the font once as a Sass variable, this should reduce the difficulty of:

  • creating a custom theme using custom fonts
  • keeping this theme up to date with the active development of varnish by making it easier to rebase / merge with upstream

I'm definitely not a CSS or Sass expert but I have tested this locally and it works as expected as far as I can tell.

@froggleston
Copy link
Contributor

Hey @Bisaloo - please could you merge in main/rebase this PR and we can move forward with it?

@froggleston froggleston merged commit 68b8cef into carpentries:main Oct 30, 2024
1 check passed
@froggleston
Copy link
Contributor

LGTM! Thank you @Bisaloo !

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.

2 participants