summaryrefslogtreecommitdiff
path: root/examples/portfolio/src/components/Pill.astro
blob: 2c410faa0b2e566c69b0d330decce2fa49c57195 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<div class="pill"><slot /></div>

<style>
	.pill {
		display: flex;
		padding: 0.5rem 1rem;
		gap: 0.5rem;
		color: var(--accent-text-over);
		border: 1px solid var(--accent-regular);
		background-color: var(--accent-regular);
		border-radius: 999rem;
		font-size: var(--text-md);
		line-height: 1.35;
		white-space: nowrap;
	}
</style>