new font and updated homepage 103bf6c6
Steve · 2023-12-26 17:40 5 file(s) · +17 −3
public/CommitMono-400-Regular.otf (added) +0 −0

Binary file — no preview.

public/CommitMono-700-Regular.otf (added) +0 −0

Binary file — no preview.

src/pages/index.astro +1 −1
15 15
		<h1 class="title mb-6">Hey there!</h1>
16 16
		<p class="mb-4">
17 17
			My name is Steve. I'm a developer, technical writer, and creator with a desire to help build
18 -
			the future of the web. I'm also working on <a href="https://framefixer.co" target="_blank" rel="noopener noreferrer" class="cactus-link">FrameFixer</a>, a tool for professional photographers.
18 +
			the future of the web. I'm also working on <a href="https://honeythread.xyz" target="_blank" rel="noopener noreferrer" class="cactus-link">HoneyThread</a>, an NFT powered subscription service for Creators.
19 19
		</p>
20 20
		<SocialList />
21 21
		<p>Or anywhere with my handle <span class="text-accent">@stevedylandev</span></p>
src/styles/global.css +15 −1
1 +
@font-face {
2 +
  font-family: 'Commit Mono';
3 +
  src: url("/CommitMono-400-Regular.otf") format("opentype");
4 +
  font-weight: 400;
5 +
  font-style: normal;
6 +
  font-display: swap;
7 +
}
8 +
@font-face {
9 +
  font-family: 'Commit Mono';
10 +
  src: url("/CommitMono-700-Regular.otf") format("opentype");
11 +
  font-weight: 700;
12 +
  font-style: normal;
13 +
  font-display: swap;
14 +
}
1 15
@tailwind base;
2 16
@layer base {
3 17
	:root {
27 41
	}
28 42
29 43
	html body {
30 -
		@apply mx-auto flex h-full max-w-3xl flex-col bg-bgColor px-8 pt-16 font-mono text-sm font-normal text-textColor antialiased;
44 +
		@apply mx-auto flex h-full max-w-3xl flex-col bg-bgColor px-8 pt-16 font-sans text-sm font-normal text-textColor antialiased;
31 45
	}
32 46
}
33 47
@tailwind components;
tailwind.config.cjs +1 −1
28 28
			},
29 29
			fontFamily: {
30 30
				// Add any custom fonts here
31 -
				sans: [...fontFamily.sans],
31 +
				sans: ['Commit Mono',...fontFamily.sans],
32 32
				serif: [...fontFamily.serif],
33 33
			},
34 34
			transitionProperty: {