Skip to content

Fonts #261

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

Merged
merged 1 commit into from
May 14, 2023
Merged

Fonts #261

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added client/public/fonts/signifier-bold-italic.woff2
Binary file not shown.
Binary file added client/public/fonts/signifier-bold.woff2
Binary file not shown.
Binary file added client/public/fonts/signifier-light-italic.woff2
Binary file not shown.
Binary file added client/public/fonts/signifier-light.woff2
Binary file not shown.
Binary file added client/public/fonts/soehne-buch-kursiv.woff2
Binary file not shown.
Binary file added client/public/fonts/soehne-buch.woff2
Binary file not shown.
Binary file added client/public/fonts/soehne-halbfett-kursiv.woff2
Binary file not shown.
Binary file added client/public/fonts/soehne-halbfett.woff2
Binary file not shown.
Binary file added client/public/fonts/soehne-kraftig-kursiv.woff2
Binary file not shown.
Binary file added client/public/fonts/soehne-kraftig.woff2
Binary file not shown.
Binary file added client/public/fonts/soehne-mono-buch-kursiv.woff2
Binary file not shown.
Binary file added client/public/fonts/soehne-mono-buch.woff2
Binary file not shown.
Binary file added client/public/fonts/soehne-mono-halbfett.woff2
Binary file not shown.
2 changes: 1 addition & 1 deletion client/src/components/Conversations/Conversation.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export default function Conversation({ conversation, retainView }) {
/>
</div>
) : (
<div className="absolute inset-y-0 right-0 z-10 w-8 bg-gradient-to-l from-gray-900 group-hover:from-[#2A2B32]" />
<div className="absolute inset-y-0 right-0 z-10 w-8 bg-gradient-to-l from-gray-900 group-hover:from-[#2A2B32] rounded-r-md" />
)}
</a>
);
Expand Down
104 changes: 104 additions & 0 deletions client/src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,110 @@
@tailwind components;
@tailwind utilities;

@font-face {
font-display: swap;
font-family: Signifier;
font-style: normal;
font-weight: 400;
src: url("../public/fonts/signifier-light.woff2") format("woff2")
}

@font-face {
font-display: swap;
font-family: Signifier;
font-style: italic;
font-weight: 400;
src: url("../public/fonts/signifier-light-italic.woff2") format("woff2")
}

@font-face {
font-display: swap;
font-family: Signifier;
font-style: normal;
font-weight: 700;
src: url("../public/fonts/signifier-bold.woff2") format("woff2")
}

@font-face {
font-display: swap;
font-family: Signifier;
font-style: italic;
font-weight: 700;
src: url("../public/fonts/signifier-bold-italic.woff2") format("woff2")
}

@font-face {
font-display: swap;
font-family: Söhne;
font-style: normal;
font-weight: 400;
src: url("../public/fonts/soehne-buch.woff2") format("woff2")
}

@font-face {
font-display: swap;
font-family: Söhne;
font-style: italic;
font-weight: 400;
src: url("../public/fonts/soehne-buch-kursiv.woff2") format("woff2")
}

@font-face {
font-display: swap;
font-family: Söhne;
font-style: normal;
font-weight: 500;
src: url("../public/fonts/soehne-kraftig.woff2") format("woff2")
}

@font-face {
font-display: swap;
font-family: Söhne;
font-style: italic;
font-weight: 500;
src: url("../public/fonts/soehne-kraftig-kursiv.woff2") format("woff2")
}

@font-face {
font-display: swap;
font-family: Söhne;
font-style: normal;
font-weight: 600;
src: url("../public/fonts/soehne-halbfett.woff2") format("woff2")
}

@font-face {
font-display: swap;
font-family: Söhne;
font-style: italic;
font-weight: 600;
src: url("../public/fonts/soehne-halbfett-kursiv.woff2") format("woff2")
}

@font-face {
font-display: swap;
font-family: Söhne Mono;
font-style: normal;
font-weight: 400;
src: url("../public/fonts/soehne-mono-buch.woff2") format("woff2")
}

@font-face {
font-display: swap;
font-family: Söhne Mono;
font-style: normal;
font-weight: 700;
src: url("../public/fonts/soehne-mono-halbfett.woff2") format("woff2")
}

@font-face {
font-display: swap;
font-family: Söhne Mono;
font-style: italic;
font-weight: 400;
src: url("../public/fonts/soehne-mono-buch-kursiv.woff2") format("woff2")
}

/* * {
box-sizing: border-box;
outline: 1px solid limegreen !important;
Expand Down
9 changes: 5 additions & 4 deletions client/tailwind.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ module.exports = {
// colors: {
// 'gpt-dark-gray': '#343541',
// },
fontFamily: {
sans: ['Söhne', 'sans-serif'],
mono: ['Söhne Mono', 'monospace'],
},
extend: {
// fontFamily: {
// sans: ['var(--font-sans)', ...fontFamily.sans]
// },
keyframes: {
'accordion-down': {
from: { height: 0 },
Expand Down Expand Up @@ -52,7 +53,7 @@ module.exports = {
800: "#06373e",
900: "#031f29",
},
}
}
}
},
plugins: [
Expand Down