Skip to content

Commit

Permalink
Merge pull request #63 from Siumauricio/feat/kbd
Browse files Browse the repository at this point in the history
feat(kbd): kbd component
  • Loading branch information
Siumauricio committed Jan 29, 2023
2 parents f052e84 + d25357f commit 7a7c0a5
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/components.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
@import "./informational/pagination.css";
@import "./informational/skeleton.css";
@import "./informational/stepper.css";
@import "./informational/kbd.css";
@import "./informational/progress.css";
@import "./navigation/navbar.css";
@import "./navigation/breadcrumb.css";
Expand Down
23 changes: 23 additions & 0 deletions components/informational/kbd.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
.kbd {
@apply inline-flex h-fit items-center justify-center whitespace-nowrap rounded-md border border-gray-500 bg-gray-200 py-1.5 px-2.5 text-xs font-semibold shadow-[0px_1.5px_0px_rgba(0,0,0,0.1)];
}

.kbd-xs {
@apply py-0.5 px-1.5 text-xs;
}

.kbd-sm {
@apply py-1 px-2 text-xs;
}

.kbd-md {
@apply py-1.5 px-2.5 text-xs;
}

.kbd-lg {
@apply py-2 px-3 text-sm;
}

.kbd-xl {
@apply py-2 px-3.5 text-base;
}

1 comment on commit 7a7c0a5

@vercel
Copy link

@vercel vercel bot commented on 7a7c0a5 Jan 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.