Skip to content

Conversation

@mathewjordan
Copy link
Member

@mathewjordan mathewjordan commented Feb 26, 2025

What does this do?

This updates any types using Campton to now use Poppins. As part of this the variables have been renamed accordingly, and replaced across sass files.

Variables renamed:

$PoppinsLight: "Poppins Light", Tahoma, sans-serif;
$PoppinsBold: "Poppins Bold", Impact, sans-serif;
$PoppinsExtraBold: "Poppins Extra Bold", Impact, sans-serif;
$PoppinsExtraLight: "Poppins Extra Light", "Courier New", sans-serif;

Font imports updated:

@font-face {
font-family: "Poppins Light";
src: url("#{$path-fonts}/Poppins-Light.woff") format("woff");
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: "Poppins Bold";
src: url("#{$path-fonts}/Poppins-Bold.woff") format("woff");
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: "Poppins Extra Bold";
src: url("#{$path-fonts}/Poppins-ExtraBold.woff") format("woff");
font-weight: 800;
font-style: normal;
}
@font-face {
font-family: "Poppins Extra Light";
src: url("#{$path-fonts}/Poppins-ExtraLight.woff") format("woff");
font-weight: 100;
font-style: normal;
}

Styling updates for font:

h2 {
font: 46px/1.2em $PoppinsExtraLight;
color: $nu-purple;
margin-bottom: 1rem;
}
h3 {
font: 30px/1.2em $PoppinsBold;
color: $nu-purple;
margin-bottom: 0.5rem;
&.demo {
// used only for boilerplate.html (not for production!)
font: 26px/1.2em $PoppinsBold;
background: $nu-purple-120;
color: $white;
padding: 1rem;
display: inline-block;
}
}

@mathewjordan mathewjordan self-assigned this Feb 26, 2025
@mathewjordan mathewjordan marked this pull request as ready for review February 26, 2025 16:29
@mathewjordan mathewjordan requested a review from mbklein February 26, 2025 16:58
@mbklein mbklein merged commit 5958796 into deploy/staging Feb 26, 2025
3 of 4 checks passed
@mbklein mbklein deleted the 5398-goodbye-campton branch February 26, 2025 21:23
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.

3 participants