feat: add steps component

chore: rename breadcrumb-delimiter to chevron-right
This commit is contained in:
Xin
2023-07-30 11:19:12 +01:00
parent 080e6cbb7f
commit 8ed4573422
7 changed files with 58 additions and 3 deletions

View File

@ -0,0 +1,29 @@
.hextra-cards {
grid-template-columns: repeat(auto-fill, minmax(max(250px, calc((100% - 1rem * 2) / var(--rows))), 1fr));
}
.hextra-card img {
user-select: none;
}
.hextra-card:hover svg {
color: currentColor;
}
.hextra-card svg {
width: 1.5rem;
color: #00000033;
transition: color 0.3s ease;
}
.hextra-card p {
margin-top: 0.5rem;
}
.dark .hextra-card svg {
color: #ffffff66;
}
.dark .hextra-card:hover svg {
color: currentColor;
}

View File

@ -0,0 +1,11 @@
.steps h3 {
counter-increment: step;
&:before {
@apply absolute w-[33px] h-[33px];
@apply border-4 border-white bg-gray-100 dark:border-dark dark:bg-neutral-800;
@apply rounded-full text-neutral-400 text-base font-normal text-center -indent-px;
@apply mt-[3px] ml-[-41px];
content: counter(step);
}
}