feat: landing page + smart components

This commit is contained in:
Liyas Thomas
2021-07-02 05:01:29 +00:00
committed by GitHub
parent 6bcf1a3522
commit 5abf837e95
23 changed files with 1124 additions and 55 deletions

View File

@@ -149,6 +149,46 @@ hr {
@apply my-4;
}
.tippy-popper {
.tooltip-theme {
@apply bg-secondary;
@apply text-primaryLight;
@apply text-xs;
@apply font-semibold;
@apply px-2;
@apply px-4;
@apply shadow;
}
.popover-theme {
@apply bg-primaryLight;
@apply text-secondary;
@apply p-2;
@apply shadow-md;
}
&[x-placement^="top"] .tippy-tooltip .tippy-arrow {
border-top-color: var(--color-primary-light);
}
&[x-placement^="bottom"] .tippy-tooltip .tippy-arrow {
border-bottom-color: var(--color-primary-light);
}
&[x-placement^="left"] .tippy-tooltip .tippy-arrow {
border-left-color: var(--color-primary-light);
}
&[x-placement^="right"] .tippy-tooltip .tippy-arrow {
border-right-color: var(--color-primary-light);
}
}
[arrow] > div {
@apply flex;
@apply w-full;
}
.tooltip {
@apply z-50;
@apply outline-none;