Skip to content

Commit

Permalink
feat(kbd): kbd component
Browse files Browse the repository at this point in the history
  • Loading branch information
Siumauricio committed Jan 28, 2023
1 parent 2f4533c commit 5586892
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 @@ -21,6 +21,7 @@
@import "./informational/pagination.css";
@import "./informational/skeleton.css";
@import "./informational/stepper.css";
@import "./informational/kbd.css";
@import "./navigation/navbar.css";
@import "./navigation/breadcrumb.css";
@import "./navigation/drawer.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;
}

0 comments on commit 5586892

Please sign in to comment.