Skip to content

Commit

Permalink
Merge pull request #64 from Siumauricio/feat/dot
Browse files Browse the repository at this point in the history
feat(dot): dot component
  • Loading branch information
Siumauricio committed Jan 30, 2023
2 parents 7a7c0a5 + a11a242 commit f75fa97
Show file tree
Hide file tree
Showing 2 changed files with 44 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 @@ -24,6 +24,7 @@
@import "./informational/stepper.css";
@import "./informational/kbd.css";
@import "./informational/progress.css";
@import "./informational/dot.css";
@import "./navigation/navbar.css";
@import "./navigation/breadcrumb.css";
@import "./navigation/drawer.css";
Expand Down
43 changes: 43 additions & 0 deletions components/informational/dot.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
.dot {
@apply h-2.5 min-h-[10px] w-2.5 min-w-[10px] select-none rounded-[50%] bg-gray-700 leading-3;
}

.dot-primary {
@apply bg-primary;
}

.dot-secondary {
@apply bg-secondary;
}

.dot-success {
@apply bg-success;
}

.dot-error {
@apply bg-error;
}

.dot-warning {
@apply bg-warning;
}

.dot-xs {
@apply h-1.5 min-h-[7px] w-1.5 min-w-[7px] leading-[8px];
}

.dot-sm {
@apply h-2 min-h-[8px] w-2 min-w-[8px] leading-[9px];
}

.dot-md {
@apply h-2.5 min-h-[10px] w-2.5 min-w-[10px] leading-[11px];
}

.dot-lg {
@apply h-3 min-h-[12px] w-3 min-w-[12px] leading-[13px];
}

.dot-xl {
@apply h-3.5 min-h-[14px] w-3.5 min-w-[14px] leading-[15px];
}

1 comment on commit f75fa97

@vercel
Copy link

@vercel vercel bot commented on f75fa97 Jan 30, 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.