-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: David Karlsson <[email protected]>
- Loading branch information
Showing
17 changed files
with
1,868 additions
and
2,994 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,73 @@ | ||
@import "tailwindcss"; | ||
|
||
@layer base { | ||
:root { | ||
/* | ||
* Font faces for Roboto Flex and Roboto Mono. | ||
* | ||
* - https://fonts.google.com/specimen/Roboto+Flex | ||
* - https://fonts.google.com/specimen/Roboto+Mono | ||
* | ||
* The TTF fonts have been compressed to woff2, | ||
* preserving the latin character subset. | ||
* | ||
* */ | ||
|
||
/* Roboto Flex */ | ||
@font-face { | ||
font-family: "Roboto Flex"; | ||
src: url("/assets/fonts/RobotoFlex.woff2") format("woff2"); | ||
font-weight: 100 1000; /* Range of weights Roboto Flex supports */ | ||
font-stretch: 100%; /* Range of width Roboto Flex supports */ | ||
font-style: oblique 0deg 10deg; /* Range of oblique angle Roboto Flex supports */ | ||
font-display: fallback; | ||
} | ||
|
||
/* Roboto Mono */ | ||
@font-face { | ||
font-family: "Roboto Mono"; | ||
src: url("/assets/fonts/RobotoMono-Regular.woff2") format("woff2"); | ||
font-weight: 100 700; /* Define the range of weight the variable font supports */ | ||
font-style: normal; | ||
font-display: fallback; | ||
} | ||
|
||
/* Roboto Mono Italic */ | ||
@font-face { | ||
font-family: "Roboto Mono"; | ||
src: url("/assets/fonts/RobotoMono-Italic.woff2") format("woff2"); | ||
font-weight: 100 700; /* Define the range of weight the variable font supports */ | ||
font-style: italic; | ||
font-display: fallback; | ||
} | ||
} | ||
} | ||
|
||
@theme { | ||
/* Font variables */ | ||
--font-sans: "Roboto Flex", system-ui, -apple-system, BlinkMacSystemFont, | ||
"Segoe UI", Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", | ||
sans-serif; | ||
--font-mono: "Roboto Mono", monospace; | ||
--font-icons: "Material Symbols Rounded"; | ||
|
||
/* Font sizes */ | ||
--text-xs: 0.7143rem; | ||
--text-xs--letter-spacing: 0.015em; | ||
--text-xs--font-weight: 500; | ||
--text-sm: 0.851rem; | ||
--text-base: 14px; | ||
--text-lg: 1.1429rem; | ||
--text-lg--line-height: 1.75; | ||
--text-xl: 1.2857rem; | ||
--text-xl--letter-spacing: -0.015em; | ||
--text-xl--font-weight: 500; | ||
--text-2xl: 1.5rem; | ||
--text-2xl--letter-spacing: -0.015em; | ||
--text-2xl--font-weight: 500; | ||
--text-3xl: 2rem; | ||
--text-3xl--font-weight: 500; | ||
--text-4xl: 2.5rem; | ||
--text-4xl--letter-spacing: -0.015em; | ||
--text-4xl--font-weight: 500; | ||
} |
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 |
---|---|---|
@@ -1,29 +1,29 @@ | ||
@layer utilities { | ||
.icon-svg { | ||
svg { | ||
font-size: 24px; | ||
width: 1em; | ||
height: 1em; | ||
display: inline-block; | ||
fill: currentColor; | ||
} | ||
@import "tailwindcss"; | ||
|
||
@utility icon-svg { | ||
svg { | ||
font-size: 24px; | ||
width: 1em; | ||
height: 1em; | ||
display: inline-block; | ||
fill: currentColor; | ||
} | ||
} | ||
|
||
.icon-xs { | ||
svg { | ||
font-size: 12px; | ||
} | ||
@utility icon-xs { | ||
svg { | ||
font-size: 12px; | ||
} | ||
} | ||
|
||
.icon-sm { | ||
svg { | ||
font-size: 16px; | ||
} | ||
@utility icon-sm { | ||
svg { | ||
font-size: 16px; | ||
} | ||
} | ||
|
||
.icon-lg { | ||
svg { | ||
font-size: 32px; | ||
} | ||
@utility icon-lg { | ||
svg { | ||
font-size: 32px; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.