TailwindCSS v2.x (#1540)

This commit is contained in:
Liyas Thomas
2021-03-16 01:49:21 -07:00
committed by GitHub
parent 5399ddf6ac
commit f1389cdba0
30 changed files with 6068 additions and 21361 deletions

View File

@@ -110,7 +110,7 @@ footer {
@apply min-h-screen;
@apply flex;
@apply flex-col;
@apply flex-no-wrap;
@apply flex-nowrap;
}
.wrapper .page {
@@ -415,14 +415,10 @@ button {
@apply font-icon;
@apply font-normal;
@apply not-italic;
@apply h-6;
@apply w-6;
@apply text-2xl;
@apply leading-6;
@apply inline-block;
@apply normal-case;
@apply tracking-normal;
@apply whitespace-no-wrap;
@apply whitespace-nowrap;
@apply antialiased;
word-wrap: normal;
@@ -627,7 +623,7 @@ ul li,
ol li {
@apply inline-flex;
@apply flex-col;
@apply flex-no-wrap;
@apply flex-nowrap;
@apply flex-1;
@apply justify-center;
@@ -646,7 +642,7 @@ ol li {
span,
div {
@apply inline-flex;
@apply flex-no-wrap;
@apply flex-nowrap;
@apply items-center;
@apply justify-center;
}
@@ -661,7 +657,7 @@ ol li {
}
.redir-response {
@apply text-orange-400;
@apply text-pink-400;
}
.cl-error-response {
@@ -696,7 +692,7 @@ ol li {
}
#send {
@apply whitespace-no-wrap;
@apply whitespace-nowrap;
@apply outline-none;
@apply border-none;
@@ -719,6 +715,7 @@ ol li {
section {
@apply flex;
@apply rounded-lg;
@apply w-full;
}
.toasted-container .toasted {
@@ -772,7 +769,7 @@ section {
ul,
ol {
@apply flex-col;
@apply flex-no-wrap;
@apply flex-nowrap;
}
ul li,

View File

@@ -83,9 +83,9 @@
--ac-color: theme("colors.green.400");
}
@mixin tealTheme {
@mixin indigoTheme {
// Acent color
--ac-color: theme("colors.teal.400");
--ac-color: theme("colors.indigo.400");
}
@mixin purpleTheme {
@@ -93,11 +93,6 @@
--ac-color: theme("colors.purple.400");
}
@mixin orangeTheme {
// Acent color
--ac-color: theme("colors.orange.400");
}
@mixin pinkTheme {
// Acent color
--ac-color: theme("colors.pink.400");
@@ -137,15 +132,12 @@
:root[data-accent="green"] {
@include greenTheme;
}
:root[data-accent="teal"] {
@include tealTheme;
:root[data-accent="indigo"] {
@include indigoTheme;
}
:root[data-accent="purple"] {
@include purpleTheme;
}
:root[data-accent="orange"] {
@include orangeTheme;
}
:root[data-accent="pink"] {
@include pinkTheme;
}