use 'dark' class locally in header, hero or custom sections. adapt dark styles.

This commit is contained in:
2023-11-08 14:32:14 +01:00
parent 2133aabfb9
commit e3c547979a
9 changed files with 102 additions and 46 deletions

View File

@@ -7,9 +7,11 @@
}
.btn-primary {
@apply border-primary bg-primary dark:border-darkmode-primary dark:text-dark text-white dark:bg-white;
@apply border-primary text-white bg-primary
dark:border-darkmode-primary dark:text-dark dark:bg-white;
}
.btn-outline-primary {
@apply border-dark text-dark hover:bg-dark dark:hover:text-dark bg-transparent hover:text-white dark:border-white dark:text-white dark:hover:bg-white;
@apply text-dark bg-transparent border-dark hover:bg-dark hover:text-white
dark:text-white dark:border-white dark:hover:text-dark dark:hover:bg-white;
}