Skip to content

Commit

Permalink
feat(forms): forms component
Browse files Browse the repository at this point in the history
  • Loading branch information
Siumauricio committed Feb 1, 2023
1 parent 6b81e2a commit dbea29a
Show file tree
Hide file tree
Showing 2 changed files with 20 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 @@ -25,6 +25,7 @@
@import "./informational/kbd.css";
@import "./informational/progress.css";
@import "./informational/dot.css";
@import "./informational/form-control.css";
@import "./navigation/navbar.css";
@import "./navigation/breadcrumb.css";
@import "./navigation/drawer.css";
Expand Down
19 changes: 19 additions & 0 deletions components/informational/form-control.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
.form-group {
@apply flex w-full flex-col gap-3;
}

.form-field {
@apply flex flex-col gap-1.5;
}

.form-label {
@apply flex flex-row justify-between px-1 text-sm text-content1;
}

.form-label-alt {
@apply text-xs text-content2;
}

.form-control {
@apply relative flex flex-row gap-1.5 text-sm;
}

0 comments on commit dbea29a

Please sign in to comment.