feature login
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user