master
1---
2import { Icon } from 'astro-icon/components';
3import type { ComponentProps } from 'astro/types';
4
5type Props = ComponentProps<typeof Icon>;
6
7const { class: className, ...rest } = Astro.props;
8---
9
10<Icon {...rest} class:list={['meta-icon', className]} />
11
12<style>
13 .meta-icon {
14 width: 1.5rem;
15 height: 1.5rem;
16 align-items: center;
17 display: flex;
18 justify-content: center;
19 color: color-mix(in oklab, var(--color-secondary) 80%, transparent);
20 }
21</style>