Skip to content

Commit

Permalink
chore: add missing fonts (#21)
Browse files Browse the repository at this point in the history
Signed-off-by: Jakob Steiner <jakob.steiner@glasskube.eu>
  • Loading branch information
kosmoz authored Nov 25, 2024
1 parent 18ea0ca commit e114de9
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</button>
<a href="/" class="flex ms-2 md:me-24">
<img src="/glasskube-logo.svg" class="h-8 me-3" alt="Glasskube Logo" />
<h1 class="font-poppins self-center text-xl font-semibold sm:text-2xl whitespace-nowrap dark:text-white">
<h1 class="font-display self-center text-xl font-semibold sm:text-2xl whitespace-nowrap dark:text-white">
Glasskube
</h1>
</a>
Expand Down
8 changes: 4 additions & 4 deletions frontend/cloud-ui/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
@tailwind components;
@tailwind utilities;

@import '@fontsource/inter/latin-300.css';
@import '@fontsource/inter/latin-400.css';
@import '@fontsource/inter/latin-600.css';
@import '@fontsource/inter/latin-700.css';
@import '@fontsource/poppins/latin-600.css';

.font-poppins {
font-family: Poppins, Inter, system-ui, sans-serif;
}
7 changes: 7 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"@angular/platform-browser": "^19.0.0",
"@angular/platform-browser-dynamic": "^19.0.0",
"@angular/router": "^19.0.0",
"@fontsource/inter": "^5.1.0",
"@fontsource/poppins": "^5.1.0",
"flowbite": "^2.5.2",
"posthog-js": "^1.187.0",
Expand Down
4 changes: 4 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ module.exports = {
content: ['./frontend/cloud-ui/src/**/*.{html,ts}', './frontend/cloud-ui/node_modules/flowbite/**/*.js'],
theme: {
extend: {},
fontFamily: {
sans: ['Inter', 'system-ui', 'sans-serif'],
display: ['Poppins', 'Inter', 'system-ui', 'sans-serif'],
},
},
plugins: [require('flowbite/plugin')],
};

0 comments on commit e114de9

Please sign in to comment.