feat(Components): Add Button and BackgroudnImage

This commit is contained in:
Alexander Navarro 2024-03-11 19:29:50 -03:00
parent a1528a2ad8
commit b74fcb19cc
5 changed files with 399 additions and 10 deletions

View file

@ -0,0 +1,27 @@
---
interface Props {
className?: string;
}
const { className = '' } = Astro.props;
---
<button class:list={className}>
<slot />
</button>
<style>
button {
font-size: 1rem;
padding: var(--prj-spacing-1) var(--prj-spacing-3);
background-color: var(--prj-accent-bg);
color: var(--prj-accent-text);
border-radius: 6px;
border-color: var(--prj-accent-bg);
cursor: pointer;
margin-bottom: 0;
}
</style>