Skip to content

Commit

Permalink
add css support
Browse files Browse the repository at this point in the history
  • Loading branch information
chiefpansancolt committed Oct 10, 2020
1 parent 75be6da commit 8067bd7
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dist/app.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";
@import url("https://rsms.me/inter/inter.css");
@import url("https://rsms.me/inter/inter.css");
@import "./styles/main";
@import "./styles/dialog";
50 changes: 50 additions & 0 deletions dist/styles/dialog.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
.dialog-body {

.covered {
@apply border-green-500;

&:nth-child(odd) {
@apply bg-green-400;
}

&:nth-child(even) {
@apply bg-green-300;
}
}

.missed {
@apply border-red-500;

&:nth-child(odd) {
@apply bg-red-400;
}

&:nth-child(even) {
@apply bg-red-300;
}
}

.never {
@apply border-gray-900;

&:nth-child(odd) {
@apply bg-gray-200;
}

&:nth-child(even) {
@apply bg-gray-50;
}
}

.skipped {
@apply border-yellow-500;

&:nth-child(odd) {
@apply bg-yellow-400;
}

&:nth-child(even) {
@apply bg-yellow-300;
}
}
}
3 changes: 3 additions & 0 deletions dist/styles/main.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.clickable {
cursor: pointer;
}

0 comments on commit 8067bd7

Please sign in to comment.