1---
2interface Props {
3 color?: string;
4}
5const { color } = Astro.props;
6---
7
8<div class="alc-eyebrow" style={color ? `color:${color};` : undefined}>
9 <slot />
10</div>
11
12<style>
13 .alc-eyebrow {
14 font-family: var(--alc-font-mono);
15 font-size: 11px;
16 letter-spacing: 0.12em;
17 text-transform: uppercase;
18 color: var(--alc-accent-deep);
19 font-weight: 500;
20 }
21 @media (max-width: 480px) {
22 .alc-eyebrow {
23 font-size: 9.5px;
24 letter-spacing: 0.08em;
25 }
26 }
27 @media (max-width: 360px) {
28 .alc-eyebrow {
29 font-size: 9px;
30 letter-spacing: 0.06em;
31 }
32 }
33</style>