chore: update dialog style (#574)

* chore: update tests

* chore: update dialog styles
This commit is contained in:
boojack
2022-11-25 21:55:45 +08:00
committed by GitHub
parent e2cbea2022
commit 072851e3ba
11 changed files with 43 additions and 97 deletions

View File

@ -14,12 +14,20 @@
}
}
.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 select-none inline-flex border border-transparent cursor-pointer px-3 bg-green-600 text-sm leading-8 text-white rounded-md hover:opacity-80;
@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 select-none inline-flex border border-transparent cursor-pointer px-2 text-sm text-gray-600 leading-8 hover:opacity-80;
@apply btn-normal text-gray-600 border-none hover:shadow-none;
}
.input-text {