Skip to content

Commit

Permalink
Feat/added tick mark (#39)
Browse files Browse the repository at this point in the history
* feat:added tick

* feat: added tick mark

* feat: resolved comments

Co-authored-by: anshul-pinto0410 <[email protected]>
  • Loading branch information
anshul-pinto0410 and anshul-pinto0410 authored Nov 3, 2020
1 parent 853d9a4 commit ec7ffc5
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 1 deletion.
24 changes: 24 additions & 0 deletions docs/docs/tickmark.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
id: tickmark
title: Tick Mark
sidebar_label: Tick Mark
---

```html live
<>
<div class="lil-bg-white">
<div class="lil-tick-wrapper">
<div class="lil-tick"></div>
</div>

<div class="lil-tick-wrapper lil-bg-blue-300 lil-border-none">
<div class="lil-tick lil-border-white"></div>
</div>

<div class="lil-tick-wrapper lil-bg-green-250 lil-border-none">
<div class="lil-tick lil-border-white"></div>
</div>

</div>
</>
```
5 changes: 5 additions & 0 deletions docs/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ module.exports = {
"colors",
"cursor",
"grid",
{
type: "category",
label: "Icons",
items :["tickmark"]
},
"input-action",
{
type: "category",
Expand Down
9 changes: 9 additions & 0 deletions src/components/Icons/tick.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.lil-tick-wrapper{
@apply lil-rounded-full lil-w-6 lil-h-6 lil-flex lil-items-center lil-justify-center lil-border-sm lil-border-font-200;
}


.lil-tick{
top: -2px;
@apply lil-relative lil-w-1 lil-h-2 lil-border-b-sm lil-border-r-sm lil-border-font-200 lil-transform lil-rotate-45 lil-inline-block;
}
2 changes: 1 addition & 1 deletion src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
@import "./components/Common/navbar.css";
@import "./components/Common/caret.css";
@import "./components/SideNav/sidenav.css";
@import "./components/Icons/tick.css";
@import "./components/Tabs/verticalPromiseTabs.css";

0 comments on commit ec7ffc5

Please sign in to comment.