feature login

This commit is contained in:
chiayin
2023-01-31 15:38:14 +08:00
parent cd074c3c04
commit 76463f084c
25 changed files with 569 additions and 69 deletions

View File

@@ -1,3 +1,37 @@
/* 引入 Google fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;
/* 全域字型 */
@layer base {
html {
font-family: 'Roboto', sans-serif, system-ui;
color: #1A1A1A;
}
}
/* components */
/* button */
.btn {
@apply inline-block rounded-full text-base font-medium text-center align-middle transition-colors
}
.btn-sm {
@apply px-5 py-2
}
.btn-lg {
@apply px-5 py-3
}
.btn-c-primary {
@apply bg-neutral border border-neutral hover:bg-[#FFFFFF] hover:text-primary hover:border hover:border-primary active:bg-primary active:text-[#FFFFFF] active:border
}
.btn-disable {
@apply border border-neutral bg-[#FFFFFF] text-neutral
}
/* invalid */
.is-invalid :invalid{
@apply invalid:border-danger focus:ring-danger
}