mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-04 09:15:58 +02:00
ui: swap inter for ibm plex sans, and oxygen mono for ibm plex mono
This commit is contained in:
+5
-5
@@ -12,16 +12,16 @@ module.exports = {
|
|||||||
resolve: `@el7cosmos/gatsby-plugin-prefetch-google-fonts`,
|
resolve: `@el7cosmos/gatsby-plugin-prefetch-google-fonts`,
|
||||||
options: {
|
options: {
|
||||||
fonts: [
|
fonts: [
|
||||||
{
|
|
||||||
family: `Inter`,
|
|
||||||
variants: [`400`, `700`],
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
family: `Montserrat`,
|
family: `Montserrat`,
|
||||||
variants: [`400`, `700`],
|
variants: [`400`, `700`],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
family: `Oxygen Mono`,
|
family: `IBM+Plex+Sans`,
|
||||||
|
variants: [`400`, `700`],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
family: `IBM+Plex+Mono`,
|
||||||
variants: [`400`],
|
variants: [`400`],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ export const menuItemStyles = css`
|
|||||||
position: relative;
|
position: relative;
|
||||||
transition: color 0.3s;
|
transition: color 0.3s;
|
||||||
margin: 10px 20px 5px 0;
|
margin: 10px 20px 5px 0;
|
||||||
font-family: "Oxygen Mono", monospace;
|
font-family: "IBM Plex Mono", monospace;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ export const HomePartnerWrapper = styled.div`
|
|||||||
margin-top: 32px;
|
margin-top: 32px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-family: "Oxygen Mono", monospace;
|
font-family: "IBM Plex Mono", monospace;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-size: 22px;
|
font-size: 22px;
|
||||||
color: ${(props) => props.theme.main.foreground};
|
color: ${(props) => props.theme.main.foreground};
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ export const MarkdownWrapper = styled.div`
|
|||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
letter-spacing: 0.25px;
|
letter-spacing: 0.25px;
|
||||||
color: #ebedee;
|
color: #ebedee;
|
||||||
font-family: "Oxygen Mono", monospace;
|
font-family: "IBM Plex Mono", monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
:not(pre) > code[class*="language-"],
|
:not(pre) > code[class*="language-"],
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
const FONT_INTER = "Inter, sans-serif"
|
const FONT_BODY = "IBM Plex Sans, sans-serif"
|
||||||
const FONT_MONTSERRAT = "Montserrat, sans-serif"
|
const FONT_HEADER = "Montserrat, sans-serif"
|
||||||
|
|
||||||
export const BASE_FONT_SIZE = 20
|
export const BASE_FONT_SIZE = 20
|
||||||
export const BASE_LINE_HEIGHT = 26
|
export const BASE_LINE_HEIGHT = 26
|
||||||
@@ -24,8 +24,8 @@ export function modularScale(power: number) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const fontFamily = {
|
export const fontFamily = {
|
||||||
header: FONT_MONTSERRAT,
|
header: FONT_HEADER,
|
||||||
body: FONT_INTER,
|
body: FONT_BODY,
|
||||||
}
|
}
|
||||||
|
|
||||||
export default fontFamily
|
export default fontFamily
|
||||||
|
|||||||
Reference in New Issue
Block a user