-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use tailwind, support dark theme
- Loading branch information
1 parent
66f05f7
commit d876df8
Showing
12 changed files
with
750 additions
and
395 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
.o1-right-1\.5 { | ||
right: 0.375rem | ||
} | ||
.o1-right-1 { | ||
right: 0.25rem | ||
} | ||
.o1-top-1 { | ||
top: 0.25rem | ||
} | ||
.o1-right-2 { | ||
right: 0.5rem | ||
} | ||
.o1-right-3 { | ||
right: 0.75rem | ||
} | ||
.o1-top-2 { | ||
top: 0.5rem | ||
} | ||
.o1-flex { | ||
display: flex | ||
} | ||
.o1-min-h-0 { | ||
min-height: 0px | ||
} | ||
.o1-rotate-90 { | ||
--tw-rotate: 90deg; | ||
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) | ||
} | ||
.o1-rotate-\[-30\] { | ||
--tw-rotate: -30; | ||
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) | ||
} | ||
.o1-rotate-180 { | ||
--tw-rotate: 180deg; | ||
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) | ||
} | ||
.o1-rotate-\[\] { | ||
--tw-rotate: ; | ||
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) | ||
} | ||
.o1-rotate-\[270deb\] { | ||
--tw-rotate: 270deb; | ||
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) | ||
} | ||
.o1-rotate-\[270deg\] { | ||
--tw-rotate: 270deg; | ||
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) | ||
} | ||
.o1-justify-end { | ||
justify-content: flex-end | ||
} | ||
.o1-rounded-t-lg { | ||
border-top-left-radius: 0.5rem; | ||
border-top-right-radius: 0.5rem | ||
} | ||
.o1-text-gray-200 { | ||
--tw-text-opacity: 1; | ||
color: rgb(229 231 235 / var(--tw-text-opacity)) | ||
} | ||
.o1-text-gray-600 { | ||
--tw-text-opacity: 1; | ||
color: rgb(75 85 99 / var(--tw-text-opacity)) | ||
} | ||
.o1-opacity-60 { | ||
opacity: 0.6 | ||
} | ||
.hover\:o1-opacity-100:hover { | ||
opacity: 1 | ||
} | ||
.o1-dark .dark\:o1-border-gray-800 { | ||
--tw-border-opacity: 1; | ||
border-color: rgb(31 41 55 / var(--tw-border-opacity)) | ||
} | ||
.o1-dark .dark\:o1-bg-gray-200 { | ||
--tw-bg-opacity: 1; | ||
background-color: rgb(229 231 235 / var(--tw-bg-opacity)) | ||
} | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
{ | ||
"/js/entry.js": "/js/entry.js" | ||
"/js/entry.js": "/js/entry.js", | ||
"/css/entry.css": "/css/entry.css" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<template> | ||
<button class="p-2 bg-white dark:bg-gray-800 flex items-center hover:bg-gray-200 rounded"> | ||
<slot /> | ||
</button> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.