lots of work
This commit is contained in:
@@ -2,10 +2,14 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
import { postFromProps, PostHeader } from "./PostHelpers.svelte";
|
||||||
|
|
||||||
let props = $props();
|
let props = $props();
|
||||||
|
console.log(props);
|
||||||
|
let post = postFromProps(props);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<h1>meow</h1>
|
{@render PostHeader(post)}
|
||||||
{@render props.children?.()}
|
{@render props.children?.()}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|||||||
+223
-20
@@ -1,17 +1,26 @@
|
|||||||
<script module lang="ts">
|
<script module lang="ts">
|
||||||
|
import { tagImg } from "./tag_store/TagImgHelper.svelte";
|
||||||
|
|
||||||
let posts = import.meta.glob("/src/routes/posts/**/*.md", {
|
let posts = import.meta.glob("/src/routes/posts/**/*.md", {
|
||||||
eager: true,
|
eager: true,
|
||||||
});
|
});
|
||||||
export type Post = {
|
export type Post = {
|
||||||
title: string;
|
title: string;
|
||||||
description: string;
|
description: string;
|
||||||
path: string;
|
path?: string;
|
||||||
catagory: string;
|
catagory: string;
|
||||||
date: Date;
|
date: Date;
|
||||||
updated: Date;
|
updated?: Date;
|
||||||
tags: string[];
|
tags: string[];
|
||||||
};
|
};
|
||||||
export { PostCard };
|
export { PostCard, PostHeader };
|
||||||
|
function dateRender(date: Date): string {
|
||||||
|
const day = String(date.getDate()).padStart(2, "0");
|
||||||
|
const month = String(date.getMonth() + 1).padStart(2, "0"); // Months are zero-indexed
|
||||||
|
const year = String(date.getFullYear()).slice(-2); // Get last two digits of the year
|
||||||
|
|
||||||
|
return `${day}/${month}/${year}`;
|
||||||
|
}
|
||||||
export function getPosts(): Post[] {
|
export function getPosts(): Post[] {
|
||||||
console.log(posts);
|
console.log(posts);
|
||||||
let postsNew: Post[] = new Array();
|
let postsNew: Post[] = new Array();
|
||||||
@@ -21,11 +30,12 @@
|
|||||||
let updated = new Date(metadata.updated);
|
let updated = new Date(metadata.updated);
|
||||||
let tags = metadata.tags.split(" ");
|
let tags = metadata.tags.split(" ");
|
||||||
let trimedPath = path.replace("/src/routes/", "");
|
let trimedPath = path.replace("/src/routes/", "");
|
||||||
|
let trimmedPath = trimedPath.replace("/+page.md", "");
|
||||||
let post: Post = {
|
let post: Post = {
|
||||||
title: metadata.title,
|
title: metadata.title,
|
||||||
description: metadata.description,
|
description: metadata.description,
|
||||||
date: date,
|
date: date,
|
||||||
path: trimedPath,
|
path: trimmedPath,
|
||||||
updated: updated,
|
updated: updated,
|
||||||
catagory: metadata.catagory,
|
catagory: metadata.catagory,
|
||||||
tags: tags,
|
tags: tags,
|
||||||
@@ -35,40 +45,233 @@
|
|||||||
console.log(postsNew);
|
console.log(postsNew);
|
||||||
return postsNew;
|
return postsNew;
|
||||||
}
|
}
|
||||||
|
/// Doesn't provide path
|
||||||
|
export function postFromProps(props: any): Post {
|
||||||
|
const metadata = props;
|
||||||
|
let date = new Date(metadata.date);
|
||||||
|
let updated = new Date(metadata.updated);
|
||||||
|
let tags = metadata.tags.split(" ");
|
||||||
|
// let trimedPath = path.replace("/src/routes/", "");
|
||||||
|
// let trimmedPath = trimedPath.replace("/+page.md", "");
|
||||||
|
let post: Post = {
|
||||||
|
title: metadata.title,
|
||||||
|
description: metadata.description,
|
||||||
|
date: date,
|
||||||
|
updated: updated,
|
||||||
|
catagory: metadata.catagory,
|
||||||
|
tags: tags,
|
||||||
|
};
|
||||||
|
return post;
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#snippet PostCard(post: Post)}
|
{#snippet PostCard(post: Post)}
|
||||||
<a href={post.path}>
|
<a class="container" href={post.path}>
|
||||||
<div class="card_body">
|
<div class="card">
|
||||||
<div>
|
<div class="left">
|
||||||
<!-- // Left -->
|
<span class="post-title">{post.title}</span>
|
||||||
<p>meow Left</p>
|
<div class="seperater"></div>
|
||||||
<p>{post.title}</p>
|
<p class="post-descr">{post.description}</p>
|
||||||
|
<div class="seperater"></div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div class="right">
|
||||||
<!-- // Right -->
|
<div class="icons">
|
||||||
<p>meow Right</p>
|
<div class="icon_container">
|
||||||
|
{@render tagImg(post.tags[0])}
|
||||||
|
</div>
|
||||||
|
<div class="icon_container">
|
||||||
|
{@render tagImg(post.tags[1])}
|
||||||
|
</div>
|
||||||
|
<div class="icon_container">
|
||||||
|
{@render tagImg(post.tags[2])}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="seperater"></div>
|
||||||
|
<span title={post.date.toString()}>{dateRender(post.date)}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
{/snippet}
|
{/snippet}
|
||||||
|
|
||||||
<style>
|
{#snippet PostHeader(post: Post)}
|
||||||
.card_body {
|
<div class="card-header-top-div">
|
||||||
|
<div class="card-header-container">
|
||||||
|
<div class="card-header-container-left">
|
||||||
|
<span>{post.title}</span><span>{post.description}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{/snippet}
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
.container {
|
||||||
|
width: 100%;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.container:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
.card-header-top-div {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.card-header-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
height: 200px;
|
flex-grow: 1;
|
||||||
width: 200px;
|
max-width: 1000px;
|
||||||
justify-content: space-between;
|
background-color: var(--accent-3);
|
||||||
|
border: 3px, inset, var(--accent-2);
|
||||||
}
|
}
|
||||||
.card_left {
|
.card-header-container-left {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
row-gap: 3px;
|
||||||
|
span {
|
||||||
|
padding-left: 4px;
|
||||||
|
border-left-style: inset;
|
||||||
|
border-left-width: 3px;
|
||||||
|
border-left-color: whitesmoke;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.card {
|
||||||
|
--text-color: white;
|
||||||
|
position: relative;
|
||||||
|
background: #4f0515;
|
||||||
|
display: flex;
|
||||||
|
align-items: start;
|
||||||
|
align-content: stretch;
|
||||||
|
justify-content: start;
|
||||||
|
padding-inline-start: 10px;
|
||||||
|
padding-inline-end: 10px;
|
||||||
|
padding-block-start: 10px;
|
||||||
|
padding-block-end: 10px;
|
||||||
|
flex-direction: row;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
flex-grow: 1;
|
||||||
|
flex-shrink: 0;
|
||||||
|
|
||||||
|
border-style: ridge;
|
||||||
|
border-color: var(--accent-2);
|
||||||
|
border-width: 4px;
|
||||||
|
|
||||||
|
span {
|
||||||
|
text-decoration: none !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.icons {
|
||||||
|
position: relative;
|
||||||
|
display: grid;
|
||||||
|
align-items: end;
|
||||||
|
justify-items: end;
|
||||||
|
column-gap: 5px;
|
||||||
|
flex-grow: 1;
|
||||||
|
grid-template-rows: 1fr;
|
||||||
|
grid-template-columns: 1fr 1fr 1fr;
|
||||||
|
}
|
||||||
|
.icon_container {
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
background: #555555ff;
|
||||||
|
display: grid;
|
||||||
|
align-items: center;
|
||||||
|
align-content: stretch;
|
||||||
|
justify-content: center;
|
||||||
|
flex-direction: row;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
flex-grow: 1;
|
||||||
|
align-self: center;
|
||||||
|
justify-self: center;
|
||||||
|
grid-row: 1;
|
||||||
|
width: 35px;
|
||||||
|
height: 35px;
|
||||||
|
.img {
|
||||||
|
width: 35px;
|
||||||
|
height: 35px;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
border-width: 2px;
|
||||||
|
border-style: inset;
|
||||||
|
border-color: var(--accent-3);
|
||||||
|
}
|
||||||
|
|
||||||
|
.left {
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
align-items: start;
|
||||||
|
align-content: stretch;
|
||||||
|
justify-content: center;
|
||||||
|
flex-direction: column;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
flex: 1;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
.card_right {
|
.right {
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
align-items: end;
|
||||||
|
align-content: stretch;
|
||||||
|
justify-content: start;
|
||||||
|
row-gap: 2.5px;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
flex: 1;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
span {
|
||||||
|
color: var(--text-color);
|
||||||
|
margin: 0px;
|
||||||
|
text-box-trim: trim-both;
|
||||||
|
font-family: "sourcesanspro";
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.seperater {
|
||||||
|
width: 115px;
|
||||||
|
height: 2.5px;
|
||||||
|
margin-top: 2px;
|
||||||
|
margin-bottom: 2px;
|
||||||
|
background: #000000ff;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
.post-title {
|
||||||
|
color: var(--text-color);
|
||||||
|
text-transform: none;
|
||||||
|
height: 34px;
|
||||||
|
margin: 0px;
|
||||||
|
|
||||||
|
line-break: auto;
|
||||||
|
overflow-wrap: initial;
|
||||||
|
white-space: pre;
|
||||||
|
font-size: 28px;
|
||||||
|
text-rendering: geometricPrecision;
|
||||||
|
caret-color: rgba(0, 0, 0, 1);
|
||||||
|
text-decoration: none;
|
||||||
|
letter-spacing: 0px;
|
||||||
|
font-family: "sourcesanspro";
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
.post-descr {
|
||||||
|
color: var(--text-color);
|
||||||
|
text-transform: none;
|
||||||
|
height: 22px;
|
||||||
|
margin: 0px;
|
||||||
|
|
||||||
|
line-break: auto;
|
||||||
|
overflow-wrap: initial;
|
||||||
|
white-space: pre;
|
||||||
|
font-size: 18px;
|
||||||
|
text-rendering: geometricPrecision;
|
||||||
|
caret-color: rgba(0, 0, 0, 1);
|
||||||
|
text-decoration: none;
|
||||||
|
letter-spacing: 0px;
|
||||||
|
font-family: "sourcesanspro";
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -0,0 +1,34 @@
|
|||||||
|
<script module lang="ts">
|
||||||
|
const imgs = import.meta.glob(
|
||||||
|
"./imgs/*.{avif,AVIF,heif,HEIF,jpeg,JPEG,jpg,JPG,png,PNG,tiff,TIFF,webp,WEBP}",
|
||||||
|
{
|
||||||
|
eager: true,
|
||||||
|
import: "default",
|
||||||
|
query: {
|
||||||
|
enhanced: true,
|
||||||
|
w: "35",
|
||||||
|
h: "35",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
);
|
||||||
|
console.log(imgs);
|
||||||
|
let trimmedImgs: Record<string, unknown> = {};
|
||||||
|
Object.entries(imgs).forEach(([key, value]) => {
|
||||||
|
let trimmedString = key.replace("./imgs/", "");
|
||||||
|
let trimmedString2 = trimmedString.replace(/(.*)\.[^.]+$/, "$1");
|
||||||
|
trimmedImgs[trimmedString2] = value;
|
||||||
|
});
|
||||||
|
function getTagImg(name: string): any {
|
||||||
|
console.log(trimmedImgs);
|
||||||
|
if (trimmedImgs[name]) {
|
||||||
|
return trimmedImgs[name];
|
||||||
|
} else {
|
||||||
|
return trimmedImgs["unknown"];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
export { tagImg };
|
||||||
|
</script>
|
||||||
|
|
||||||
|
{#snippet tagImg(name: string)}
|
||||||
|
<enhanced:img src={getTagImg(name)} width="35" height="35" />
|
||||||
|
{/snippet}
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 4.6 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 6.1 KiB |
@@ -4,6 +4,33 @@
|
|||||||
const posts = getPosts();
|
const posts = getPosts();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#each posts as post}
|
<div class="posts_header">
|
||||||
|
<h2>Posts and what not</h2>
|
||||||
|
</div>
|
||||||
|
<div class="posts_container">
|
||||||
|
{#each posts as post}
|
||||||
{@render PostCard(post)}
|
{@render PostCard(post)}
|
||||||
{/each}
|
{/each}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
.posts_container {
|
||||||
|
margin-left: 20px;
|
||||||
|
margin-right: 20px;
|
||||||
|
|
||||||
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
align-content: stretch;
|
||||||
|
justify-content: start;
|
||||||
|
row-gap: 20px;
|
||||||
|
padding-block-start: 20px;
|
||||||
|
z-index: 0;
|
||||||
|
flex-direction: column;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
|
.posts_header {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
---
|
---
|
||||||
title: hi
|
title: Test Post, Mreow
|
||||||
date: 1995-12-17T03:24:00
|
date: 2026-04-17T03:24:00
|
||||||
updated: 1995-12-17T03:24:00
|
updated: 2026-04-18T03:24:00
|
||||||
description: meow
|
description: Description of the test post
|
||||||
catagory: main
|
catagory: main
|
||||||
tags: moew meow meow
|
tags: Ammo_Scavenger Rust_Lang Ammo_Scavenger
|
||||||
---
|
---
|
||||||
Test post, this tests the frontmatter processing
|
Test post, this tests the frontmatter processing
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
title: Test Post 2, Mreow
|
||||||
|
date: 2026-04-17T03:24:00
|
||||||
|
updated: 2026-04-18T03:24:00
|
||||||
|
description: Description of the test post
|
||||||
|
catagory: main
|
||||||
|
tags: Ammo_Scavenger Rust_Lang Ammo_Scavenger
|
||||||
|
---
|
||||||
|
Test post, this tests the frontmatter processing
|
||||||
Binary file not shown.
@@ -0,0 +1,93 @@
|
|||||||
|
Copyright 2018 The Lexend Project Authors (https://github.com/googlefonts/lexend), with Reserved Font Name “RevReading Lexend”.
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
@@ -0,0 +1,71 @@
|
|||||||
|
Lexend Variable Font
|
||||||
|
====================
|
||||||
|
|
||||||
|
This download contains Lexend as both a variable font and static fonts.
|
||||||
|
|
||||||
|
Lexend is a variable font with this axis:
|
||||||
|
wght
|
||||||
|
|
||||||
|
This means all the styles are contained in a single file:
|
||||||
|
Lexend-VariableFont_wght.ttf
|
||||||
|
|
||||||
|
If your app fully supports variable fonts, you can now pick intermediate styles
|
||||||
|
that aren’t available as static fonts. Not all apps support variable fonts, and
|
||||||
|
in those cases you can use the static font files for Lexend:
|
||||||
|
static/Lexend-Thin.ttf
|
||||||
|
static/Lexend-ExtraLight.ttf
|
||||||
|
static/Lexend-Light.ttf
|
||||||
|
static/Lexend-Regular.ttf
|
||||||
|
static/Lexend-Medium.ttf
|
||||||
|
static/Lexend-SemiBold.ttf
|
||||||
|
static/Lexend-Bold.ttf
|
||||||
|
static/Lexend-ExtraBold.ttf
|
||||||
|
static/Lexend-Black.ttf
|
||||||
|
|
||||||
|
Get started
|
||||||
|
-----------
|
||||||
|
|
||||||
|
1. Install the font files you want to use
|
||||||
|
|
||||||
|
2. Use your app's font picker to view the font family and all the
|
||||||
|
available styles
|
||||||
|
|
||||||
|
Learn more about variable fonts
|
||||||
|
-------------------------------
|
||||||
|
|
||||||
|
https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts
|
||||||
|
https://variablefonts.typenetwork.com
|
||||||
|
https://medium.com/variable-fonts
|
||||||
|
|
||||||
|
In desktop apps
|
||||||
|
|
||||||
|
https://theblog.adobe.com/can-variable-fonts-illustrator-cc
|
||||||
|
https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts
|
||||||
|
|
||||||
|
Online
|
||||||
|
|
||||||
|
https://developers.google.com/fonts/docs/getting_started
|
||||||
|
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide
|
||||||
|
https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts
|
||||||
|
|
||||||
|
Installing fonts
|
||||||
|
|
||||||
|
MacOS: https://support.apple.com/en-us/HT201749
|
||||||
|
Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux
|
||||||
|
Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows
|
||||||
|
|
||||||
|
Android Apps
|
||||||
|
|
||||||
|
https://developers.google.com/fonts/docs/android
|
||||||
|
https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts
|
||||||
|
|
||||||
|
License
|
||||||
|
-------
|
||||||
|
Please read the full license text (OFL.txt) to understand the permissions,
|
||||||
|
restrictions and requirements for usage, redistribution, and modification.
|
||||||
|
|
||||||
|
You can use them in your products & projects – print or digital,
|
||||||
|
commercial or otherwise.
|
||||||
|
|
||||||
|
This isn't legal advice, please consider consulting a lawyer and see the full
|
||||||
|
license for all details.
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -2,6 +2,7 @@
|
|||||||
"extends": "./.svelte-kit/tsconfig.json",
|
"extends": "./.svelte-kit/tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"rewriteRelativeImportExtensions": true,
|
"rewriteRelativeImportExtensions": true,
|
||||||
|
"types": ["vite/client"],
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
// "baseUrl": ".",
|
// "baseUrl": ".",
|
||||||
// "paths": {
|
// "paths": {
|
||||||
|
|||||||
Reference in New Issue
Block a user