Skip to content

Commit

Permalink
style: add Ubuntu as default heading font
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Sklar <[email protected]>
Co-authored-by: Erik Margetis <[email protected]>
  • Loading branch information
3 people committed Apr 27, 2024
1 parent a41e6af commit c2efebb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 27 deletions.
25 changes: 3 additions & 22 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,8 @@
@layer base {
html {
font-family: "Ubuntu", system-ui, sans-serif;
}
}

@keyframes glow {
from {
text-shadow: 0 0 2px #fff, 0 0 2px #fff;
}
to {
text-shadow: 0 0 3px #233e87, 0 0 5px #233e87;
-webkit-font-smoothing: auto;
-moz-osx-font-smoothing: auto;
}
}

Expand All @@ -58,6 +51,7 @@
--ifm-color-primary-light: #284390;
--ifm-color-primary-lighter: #294697;
--ifm-color-primary-lightest: #2f4faa;
--ifm-heading-font-family: "Ubuntu", system-ui, sans-serif;
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}
Expand Down Expand Up @@ -230,16 +224,3 @@ figcaption {
background-color: #7ed348;
text-decoration: none;
}

.glow {
font-size: 68px;
color: #fff;
text-align: center;
text-shadow: 0 0 1px #fff, 0 0 3px #fff;
-webkit-animation: glow 2s ease-in-out infinite alternate;
-moz-animation: glow 2s ease-in-out infinite alternate;
animation: glow 2s ease-in-out infinite alternate;
}



10 changes: 5 additions & 5 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ module.exports = {
darkMode: ['class', '[data-theme="dark"]'],
content: ['./src/**/*.{js,ts,jsx,tsx,html}'],
theme: {
fontFamily: {
sans: ['"Ubuntu"', ...fontFamily.sans],
jakarta: ['"Ubuntu"', ...fontFamily.sans],
mono: ['"Fira Code"', ...fontFamily.mono],
},
extend: {
fontFamily: {
sans: ['"Ubuntu"', ...fontFamily.sans],
jakarta: ['"Ubuntu"', ...fontFamily.sans],
mono: ['"Fira Code"', ...fontFamily.mono],
},
borderRadius: {
sm: '4px',
},
Expand Down

0 comments on commit c2efebb

Please sign in to comment.