axp-ui/src/style/theme.sass

67 lines
1.3 KiB
Sass
Raw Normal View History

2023-08-14 16:45:26 +03:00
// Layouts.
.layout
@apply bg-light/10 text-dark
@apply dark:bg-black dark:text-light
*
@apply border-light dark:border-light/40
a
@apply text-primary
// body
// *
2023-07-11 10:38:21 +03:00
.ui
2023-07-26 14:07:17 +03:00
&-btn,
&-alert
@apply bg-white
2023-07-11 10:38:21 +03:00
&.primary
2023-07-26 14:07:17 +03:00
@apply bg-primary border-primary text-white
2023-07-11 10:38:21 +03:00
&.accent
2023-07-26 14:07:17 +03:00
@apply bg-accent border-accent text-white
&.info
@apply bg-info border-info text-white
&.success
@apply bg-success border-success text-white
&.warning
@apply bg-warning border-warning text-white
&.error
@apply bg-error border-error text-white
2023-07-11 10:38:21 +03:00
&.dark
2023-07-26 14:07:17 +03:00
@apply bg-dark border-dark text-white
2023-07-11 10:38:21 +03:00
&.light
2023-07-26 14:07:17 +03:00
@apply bg-light
2023-07-11 10:38:21 +03:00
&:disabled
@apply text-white bg-light border-light
2023-07-26 14:07:17 +03:00
&-field
2023-09-20 14:09:22 +03:00
.input > *
2023-08-14 16:45:26 +03:00
@apply bg-white dark:bg-white/10 text-dark dark:text-white
2023-09-20 14:09:22 +03:00
.description
@apply text-dark/50
2023-07-26 14:07:17 +03:00
&.error
.label,
.input,
.message
@apply text-error border-error
2023-09-20 14:09:22 +03:00
&.disabled
2023-10-06 09:57:27 +03:00
@apply text-dark/30
2023-07-26 14:07:17 +03:00
.input
2023-10-06 09:57:27 +03:00
> *
@apply bg-light
@apply text-dark/30
2023-07-27 15:36:52 +03:00
&-btn
@apply outline-none
&:hover:not(:active)
@apply bg-opacity-80
2023-07-26 14:07:17 +03:00
2023-07-11 10:38:21 +03:00
&-btn,
2023-07-26 14:07:17 +03:00
&-alert,
2023-07-27 15:36:52 +03:00
&-field .input,
2023-09-20 14:09:22 +03:00
&-field .input > *,
2023-07-27 15:36:52 +03:00
&-card
2023-07-11 10:38:21 +03:00
@apply rounded
2023-10-05 14:19:28 +03:00
&-pagination
.pages
.active
@apply bg-primary text-white