mirror of
https://github.com/hyprwm/hyprland-website.git
synced 2025-12-20 04:00:02 +01:00
use Inter, drop London font (#97)
This commit is contained in:
parent
df8ee9ee04
commit
1e961aafeb
6 changed files with 10 additions and 17 deletions
|
|
@ -48,7 +48,7 @@
|
||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fontsource-variable/work-sans": "^5.0.19",
|
"@fontsource-variable/inter": "^5.2.5",
|
||||||
"@fontsource/ibm-plex-mono": "^5.0.13",
|
"@fontsource/ibm-plex-mono": "^5.0.13",
|
||||||
"@tailwindcss/container-queries": "^0.1.1",
|
"@tailwindcss/container-queries": "^0.1.1",
|
||||||
"@tailwindcss/typography": "^0.5.13",
|
"@tailwindcss/typography": "^0.5.13",
|
||||||
|
|
|
||||||
12
pnpm-lock.yaml
generated
12
pnpm-lock.yaml
generated
|
|
@ -8,9 +8,9 @@ importers:
|
||||||
|
|
||||||
.:
|
.:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@fontsource-variable/work-sans':
|
'@fontsource-variable/inter':
|
||||||
specifier: ^5.0.19
|
specifier: ^5.2.5
|
||||||
version: 5.0.19
|
version: 5.2.5
|
||||||
'@fontsource/ibm-plex-mono':
|
'@fontsource/ibm-plex-mono':
|
||||||
specifier: ^5.0.13
|
specifier: ^5.0.13
|
||||||
version: 5.0.13
|
version: 5.0.13
|
||||||
|
|
@ -311,8 +311,8 @@ packages:
|
||||||
resolution: {integrity: sha512-BsWiH1yFGjXXS2yvrf5LyuoSIIbPrGUWob917o+BTKuZ7qJdxX8aJLRxs1fS9n6r7vESrq1OUqb68dANcFXuQQ==}
|
resolution: {integrity: sha512-BsWiH1yFGjXXS2yvrf5LyuoSIIbPrGUWob917o+BTKuZ7qJdxX8aJLRxs1fS9n6r7vESrq1OUqb68dANcFXuQQ==}
|
||||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||||
|
|
||||||
'@fontsource-variable/work-sans@5.0.19':
|
'@fontsource-variable/inter@5.2.5':
|
||||||
resolution: {integrity: sha512-UAHRcHDhCt1RyDwzigdQXFwL6skyVDQJxcnD7neHEdAHP9aQuDPWDWeHUfWsmPiBlseOlyczpfsQQcAllOxA9w==}
|
resolution: {integrity: sha512-TrWffUAFOnT8zroE9YmGybagoOgM/HjRqMQ8k9R0vVgXlnUh/vnpbGPAS/Caz1KIlOPnPGh6fvJbb7DHbFCncA==}
|
||||||
|
|
||||||
'@fontsource/ibm-plex-mono@5.0.13':
|
'@fontsource/ibm-plex-mono@5.0.13':
|
||||||
resolution: {integrity: sha512-gtlMmvk//2AgDEZDFsoL5z9mgW3ZZg/9SC7pIfDwNKp5DtZpApgqd1Fua3HhPwYRIHrT76IQ1tMTzQKLEGtJGQ==}
|
resolution: {integrity: sha512-gtlMmvk//2AgDEZDFsoL5z9mgW3ZZg/9SC7pIfDwNKp5DtZpApgqd1Fua3HhPwYRIHrT76IQ1tMTzQKLEGtJGQ==}
|
||||||
|
|
@ -1852,7 +1852,7 @@ snapshots:
|
||||||
|
|
||||||
'@eslint/object-schema@2.1.4': {}
|
'@eslint/object-schema@2.1.4': {}
|
||||||
|
|
||||||
'@fontsource-variable/work-sans@5.0.19': {}
|
'@fontsource-variable/inter@5.2.5': {}
|
||||||
|
|
||||||
'@fontsource/ibm-plex-mono@5.0.13': {}
|
'@fontsource/ibm-plex-mono@5.0.13': {}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="/"
|
href="/"
|
||||||
class="flex items-center gap-4 rounded-full bg-black/50 px-4 py-2 font-london font-bold tracking-wider text-white backdrop-blur"
|
class="flex items-center gap-4 rounded-full bg-black/50 px-4 py-2 font-bold tracking-wider text-white backdrop-blur"
|
||||||
>
|
>
|
||||||
<HyprlandLogo class="h-8 w-6 object-contain" /></a
|
<HyprlandLogo class="h-8 w-6 object-contain" /></a
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -2,12 +2,6 @@
|
||||||
@tailwind components;
|
@tailwind components;
|
||||||
@tailwind utilities;
|
@tailwind utilities;
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: 'London Between';
|
|
||||||
src: url('/fonts/LondonBetween.woff') format('woff');
|
|
||||||
font-display: swap;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
color: theme(colors.white);
|
color: theme(colors.white);
|
||||||
background-color: theme(colors.black);
|
background-color: theme(colors.black);
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -9,9 +9,8 @@ export default {
|
||||||
colors: { black: '#090b0c', primary: '#58E1FF', secondary: '#00A2F8' },
|
colors: { black: '#090b0c', primary: '#58E1FF', secondary: '#00A2F8' },
|
||||||
fontFamily: {
|
fontFamily: {
|
||||||
...fontFamily,
|
...fontFamily,
|
||||||
sans: ['Work Sans Variable', ...fontFamily['sans']],
|
sans: ['Inter Variable', ...fontFamily['sans']],
|
||||||
mono: ['IBM Plex Mono', ...fontFamily['mono']],
|
mono: ['IBM Plex Mono', ...fontFamily['mono']]
|
||||||
london: ['"London Between"', ...fontFamily['sans']]
|
|
||||||
},
|
},
|
||||||
backgroundImage: {
|
backgroundImage: {
|
||||||
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))'
|
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))'
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue