@tailwind components; @layer components { .table-ui tr { @apply border-0; } .table-ui th { @apply px-4 py-[1.2rem] text-[1.3rem] font-medium leading-[1.2]; } .table-ui td { @apply px-2 py-[1.2rem] text-[1.3rem] font-normal leading-[1.2]; } .table-ui.default th { @apply bg-[#5987bf] text-[#fff]; } .table-ui.default td { @apply border-b border-b-border text-label; } .table-ui.secondary th { @apply border border-border bg-[#eaf3fb] text-[#647784]; } .table-ui.secondary td { @apply border border-border; } .table-ui.line tr { @apply border-b border-t border-[#d4e0ea] bg-transparent; } .table-ui.line th { @apply border-b-2 border-[#d4e0ea] text-[#555]; } [data-theme="black"] { .table-ui.default tr { @apply bg-[#545556]; } .table-ui.default th { @apply bg-[#62686d]; } .table-ui.secondary tr { @apply bg-[#565b5f]; } .table-ui.secondary th { @apply bg-[#5e7b9c] text-[#fff]; } .table-ui.line th { @apply text-[#fff]; } } [data-theme="red"] { .table-ui.default th { @apply bg-[#8d8d94]; } .table-ui.secondary th { @apply bg-[#f6f6f9] text-[#808080]; } } [data-theme="green"] { .table-ui.default th { @apply bg-[#6bafae]; } .table-ui.secondary th { @apply bg-[#ebf7f7] text-[#64908f]; } } }