-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(svelte-ui): copy font files from
remix-ui
- Loading branch information
1 parent
0dba644
commit b66d88e
Showing
36 changed files
with
498 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
@import "tailwindcss/base"; | ||
@import "tailwindcss/components"; | ||
@import "tailwindcss/utilities"; | ||
|
||
@layer base { | ||
/* optimize legibility; see https://rauno.me/interfaces */ | ||
body, | ||
html { | ||
text-rendering: optimizeLegibility; | ||
-moz-osx-font-smoothing: grayscale; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-text-size-adjust: none; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export function formatTiming(time: number) { | ||
return `${time.toLocaleString(undefined, { maximumFractionDigits: 2 })}ms`; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* latin-ext */ | ||
@font-face { | ||
font-family: 'Bodoni Moda'; | ||
font-style: normal; | ||
font-weight: 400; | ||
font-display: swap; | ||
src: url(/fonts/bodoni-moda-latin-ext.woff2) format('woff2'); | ||
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; | ||
} | ||
|
||
/* latin */ | ||
@font-face { | ||
font-family: 'Bodoni Moda'; | ||
font-style: normal; | ||
font-weight: 400; | ||
font-display: swap; | ||
src: url(/fonts/bodoni-moda-latin.woff2) format('woff2'); | ||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; | ||
} |
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.
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/*! | ||
* Hack typeface https://github.com/source-foundry/Hack | ||
* License: https://github.com/source-foundry/Hack/blob/master/LICENSE.md | ||
*/ | ||
/* FONT PATHS | ||
* -------------------------- */ | ||
@font-face { | ||
font-family: 'Hack'; | ||
src: url('/fonts/hack-regular-subset.woff2?sha=3114f1256') format('woff2'), | ||
url('/fonts/hack-regular-subset.woff?sha=3114f1256') format('woff'); | ||
font-weight: 400; | ||
font-style: normal; | ||
font-display: swap; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Hack'; | ||
src: url('/fonts/hack-bold-subset.woff2?sha=3114f1256') format('woff2'), | ||
url('/fonts/hack-bold-subset.woff?sha=3114f1256') format('woff'); | ||
font-weight: 700; | ||
font-style: normal; | ||
font-display: swap; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Hack'; | ||
src: url('/fonts/hack-italic-subset.woff2?sha=3114f1256') format('woff2'), | ||
url('/fonts/hack-italic-subset.woff?sha=3114f1256') format('woff'); | ||
font-weight: 400; | ||
font-style: italic; | ||
font-display: swap; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Hack'; | ||
src: url('/fonts/hack-bolditalic-subset.woff2?sha=3114f1256') format('woff2'), | ||
url('/fonts/hack-bolditalic-subset.woff?sha=3114f1256') format('woff'); | ||
font-weight: 700; | ||
font-style: italic; | ||
font-display: swap; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/*! | ||
* Hack typeface https://github.com/source-foundry/Hack | ||
* License: https://github.com/source-foundry/Hack/blob/master/LICENSE.md | ||
*/ | ||
/* FONT PATHS | ||
* -------------------------- */ | ||
@font-face { | ||
font-family: 'Hack'; | ||
src: url('/fonts/hack-regular.woff2?sha=3114f1256') format('woff2'), | ||
url('/fonts/hack-regular.woff?sha=3114f1256') format('woff'); | ||
font-weight: 400; | ||
font-style: normal; | ||
font-display: swap; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Hack'; | ||
src: url('/fonts/hack-bold.woff2?sha=3114f1256') format('woff2'), | ||
url('/fonts/hack-bold.woff?sha=3114f1256') format('woff'); | ||
font-weight: 700; | ||
font-style: normal; | ||
font-display: swap; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Hack'; | ||
src: url('/fonts/hack-italic.woff2?sha=3114f1256') format('woff2'), | ||
url('/fonts/hack-italic.woff?sha=3114f1256') format('woff'); | ||
font-weight: 400; | ||
font-style: italic; | ||
font-display: swap; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Hack'; | ||
src: url('/fonts/hack-bolditalic.woff2?sha=3114f1256') format('woff2'), | ||
url('/fonts/hack-bolditalic.woff?sha=3114f1256') format('woff'); | ||
font-weight: 700; | ||
font-style: italic; | ||
font-display: swap; | ||
} |
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.
Oops, something went wrong.