Skip to content

Commit

Permalink
feat(HomepageFeatures): Add additional description to feature item
Browse files Browse the repository at this point in the history
This commit adds an additional description to the feature item in the `HomepageFeatures` component. The new description emphasizes creating a welcoming and supportive space for everyone by ensuring safe, positive, and respectful messages.

fix(custom.scss): Update font family

In this commit, the font family in the `custom.scss` file is updated from 'Rubik' to 'Geist'. Additionally, a new font-face rule is added to import the 'Geist' font from the `geist/Geist.woff2` file.

add(static/fonts/geist): Add Geist font file

This commit adds a new font file named `Geist.woff2` to the `static/fonts/geist` directory.
  • Loading branch information
BillChirico committed Nov 16, 2023
1 parent 3676826 commit f9d9d91
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/components/HomepageFeatures/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const FeatureList: FeatureItem[] = [
description: (
<>
Protect your community by ensuring only safe, positive, and respectful messages emerge.
Doing so creates a space where everyone feels welcome and valued and where constructive and supportive interactions are the standard.
</>
),
},
Expand Down
8 changes: 6 additions & 2 deletions src/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* work well for content-centric websites.
*/

@import url('https://fonts.googleapis.com/css2?family=Rubik&display=swap');

/* You can override the default Infima variables here. */
:root {
Expand All @@ -17,7 +16,7 @@
--ifm-color-primary-lightest: #6BB1FF;
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
--ifm-font-family-base: 'Rubik';
--ifm-font-family-base: 'Geist';
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
Expand All @@ -32,6 +31,11 @@
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}

@font-face {
font-family: Geist;
src: url(../../static/fonts/geist/Geist.woff2);
}

// Dark GitHub Icon
html[data-theme='dark'] .github-link {
align-items: center;
Expand Down
Binary file added static/fonts/geist/Geist.woff2
Binary file not shown.

0 comments on commit f9d9d91

Please sign in to comment.