Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/added tick mark #39

Merged
merged 5 commits into from
Nov 3, 2020
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>
</>
```
1 change: 1 addition & 0 deletions docs/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ module.exports = {
"vertical-promise-tabs"
]
},
"tickmark",
{
type: "category",
label: "Typography",
Expand Down
9 changes: 9 additions & 0 deletions src/components/Tickmark/tickmark.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.lil-tick-wrapper{
Copy link
Contributor

Choose a reason for hiding this comment

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

may be Icon/tick.css

@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;
}
1 change: 1 addition & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
@import "./components/Common/navbar.css";
@import "./components/Common/caret.css";
@import "./components/SideNav/sidenav.css";
@import "./components/Tickmark/tickmark.css";
@import "./components/Tabs/verticalPromiseTabs.css";