change font
This commit is contained in:
@@ -31,10 +31,8 @@ const CoffeeIcon = () => {
|
||||
flexDirection: 'column',
|
||||
}}
|
||||
>
|
||||
<h4 style={{ lineHeight: '24px' }}>
|
||||
Hi, if you found my project is useful, please conside buy me a
|
||||
coffee to support my work. Thanks!
|
||||
</h4>
|
||||
Hi, if you found my project is useful, please conside buy me a coffee
|
||||
to support my work. Thanks!
|
||||
<img
|
||||
src={CoffeeMachineGif}
|
||||
alt="coffee machine"
|
||||
|
||||
@@ -30,6 +30,5 @@
|
||||
}
|
||||
|
||||
.file-select-message {
|
||||
font-family: 'WorkSans';
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
column-gap: 1rem;
|
||||
background-color: var(--page-bg);
|
||||
color: var(--btn-text-color);
|
||||
font-family: 'WorkSans', sans-serif;
|
||||
width: max-content;
|
||||
padding: 0.5rem;
|
||||
place-items: center;
|
||||
|
||||
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.
Binary file not shown.
Binary file not shown.
@@ -1,7 +1,6 @@
|
||||
@mixin accented-display($bg-color) {
|
||||
background: $bg-color;
|
||||
color: rgb(0, 0, 0);
|
||||
font-family: 'WorkSans';
|
||||
padding: 0.5rem;
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
@font-face {
|
||||
font-family: 'WorkSans';
|
||||
src: url('../media/fonts/Work_Sans/WorkSans-Regular.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'WorkSans-Semibold';
|
||||
src: url('../media/fonts/Work_Sans/WorkSans-SemiBold.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'WorkSans-Bold';
|
||||
src: url('../media/fonts/Work_Sans/WorkSans-Bold.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'WorkSans-Black';
|
||||
src: url('../media/fonts/Work_Sans/WorkSans-Black.ttf');
|
||||
}
|
||||
@@ -1,5 +1,13 @@
|
||||
@use '~inter-ui/default' with (
|
||||
$inter-font-display: swap,
|
||||
$inter-font-path: '~inter-ui/Inter (web)'
|
||||
);
|
||||
@use '~inter-ui/variable' with (
|
||||
$inter-font-display: swap,
|
||||
$inter-font-path: '~inter-ui/Inter (web)'
|
||||
);
|
||||
|
||||
// General
|
||||
@use './Fonts';
|
||||
@use './Colors';
|
||||
@use './ColorsDark';
|
||||
@use './Animations';
|
||||
@@ -40,7 +48,15 @@
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
font-family: 'WorkSans', sans-serif;
|
||||
@include default.all;
|
||||
@include variable.all;
|
||||
|
||||
html {
|
||||
font-family: 'Inter', 'system-ui';
|
||||
}
|
||||
|
||||
@supports (font-variation-settings: normal) {
|
||||
html {
|
||||
font-family: 'Inter var', 'system-ui';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user