feat: dark mode support for memo detail (#604)

* feat: dark mode support for memo detail

* chore: update

* chore: update

* chore: update
This commit is contained in:
Stephen Zhou
2022-11-28 19:40:08 +08:00
committed by GitHub
parent 0402cb7b27
commit fbe7b604ef
3 changed files with 34 additions and 24 deletions

View File

@ -14,22 +14,24 @@
}
}
.btn-normal {
@apply select-none inline-flex border cursor-pointer px-3 text-sm leading-8 rounded-md hover:opacity-80 hover:shadow;
}
.btn-primary {
@apply btn-normal border-transparent bg-green-600 text-white;
}
.btn-danger {
@apply btn-normal border-red-600 bg-red-50 text-red-600;
}
.btn-text {
@apply btn-normal text-gray-600 border-none hover:shadow-none;
}
.input-text {
@apply w-full px-3 py-2 leading-6 text-sm border rounded;
@layer components {
.btn-normal {
@apply select-none inline-flex border cursor-pointer px-3 text-sm leading-8 rounded-md hover:opacity-80 hover:shadow;
}
.btn-primary {
@apply btn-normal border-transparent bg-green-600 text-white;
}
.btn-danger {
@apply btn-normal border-red-600 bg-red-50 text-red-600;
}
.btn-text {
@apply btn-normal text-gray-600 border-none hover:shadow-none;
}
.input-text {
@apply w-full px-3 py-2 leading-6 text-sm border rounded;
}
}