Skip to content
Draft
Show file tree
Hide file tree
Changes from 2 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
9 changes: 5 additions & 4 deletions oldvintage.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,18 @@
--base-font-color: var(--color-primary-950);
--base-font-color-dark: var(--color-primary-50);
--base-font-family:
Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
'Segoe UI Symbol', 'Noto Color Emoji';
"Cormorant",
Comment thread
domsteinbach marked this conversation as resolved.
Outdated
"Georgia",
"Times New Roman",
serif;
--base-font-size: inherit;
--base-line-height: inherit;
--base-font-weight: normal;
--base-font-style: normal;
--base-letter-spacing: 0em;
--heading-font-color: var(--base-font-color);
--heading-font-color-dark: var(--base-font-color-dark);
--heading-font-family: 'Abril Fatface', serif;
--heading-font-family: inherit;
--heading-font-weight: bold;
--heading-font-style: normal;
--heading-letter-spacing: inherit;
Expand Down
2 changes: 1 addition & 1 deletion parzival.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
--text-scaling: 1.067;
--base-font-color: var(--color-surface-950);
--base-font-color-dark: var(--color-surface-50);
--base-font-family: system-ui;
--base-font-family: inherit;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this change doesn't really make sense. A base font-family should be set here..
(and the change does nothing because this file is nowhere imported and not used)

Suggested change
--base-font-family: inherit;

--base-font-size: inherit;
--base-line-height: inherit;
--base-font-weight: normal;
Expand Down
37 changes: 32 additions & 5 deletions src/app.css
Original file line number Diff line number Diff line change
@@ -1,19 +1,46 @@
@import '../oldvintage.css';
@import 'tailwindcss';
@import '@skeletonlabs/skeleton';

@import '@skeletonlabs/skeleton/optional/presets';

@source "../node_modules/@skeletonlabs/skeleton-svelte/dist";


@tailwind utilities;

@font-face {
/* Reference name */
font-family: 'Abril Fatface';
src: url('/fonts/AbrilFatface-Regular.ttf');
font-family: "Cormorant Garamond";
src: url("/static/fonts/Cormorant-Regular.ttf") format("truetype");
Comment thread
domsteinbach marked this conversation as resolved.
Outdated
font-style: normal;
font-weight: 400;
font-display: swap;
}
@import '../oldvintage.css';

@font-face {
font-family: "Cormorant Garamond";
src: url("/static/fonts/Cormorant-Italic.ttf") format("truetype");
Comment thread
domsteinbach marked this conversation as resolved.
Outdated
font-style: italic;
font-weight: 400;
font-display: swap;
}

@font-face {
font-family: "Cormorant Garamond";
src: url("/static/fonts/Cormorant-Bold.ttf") format("truetype");
Comment thread
domsteinbach marked this conversation as resolved.
Outdated
font-style: normal;
font-weight: 700;
font-display: swap;
}

@font-face {
font-family: "Cormorant Garamond";
src: url("/static/fonts/Cormorant-BoldItalic.ttf") format("truetype");
Comment thread
domsteinbach marked this conversation as resolved.
Outdated
font-style: italic;
font-weight: 700;
font-display: swap;
}


.typography {
h1:not(:where([class~='unstyled'], [class~='unstyled'] *)) {
Expand Down Expand Up @@ -110,7 +137,7 @@
.majuscule,
.large-variant {
@apply font-black;
@apply text-xl;
@apply text-base;
}

.glory-initial {
Expand Down
Binary file removed static/fonts/AbrilFatface-Regular.ttf
Binary file not shown.
Binary file added static/fonts/Cormorant-Bold.ttf
Binary file not shown.
Binary file added static/fonts/Cormorant-BoldItalic.ttf
Binary file not shown.
Binary file added static/fonts/Cormorant-Italic.ttf
Binary file not shown.
Binary file added static/fonts/Cormorant-Regular.ttf
Binary file not shown.