113 lines
2.5 KiB
CSS
113 lines
2.5 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
@layer base {
|
|
:root,
|
|
.light {
|
|
--app-scrollbar-size: 8px;
|
|
--app-scrollbar-thumb: #9ca3af;
|
|
--app-scrollbar-thumb-hover: #6b7280;
|
|
--app-scrollbar-track: transparent;
|
|
}
|
|
|
|
.dark {
|
|
--app-scrollbar-thumb: #4b5563;
|
|
--app-scrollbar-thumb-hover: #6b7280;
|
|
}
|
|
|
|
* {
|
|
scrollbar-color: var(--app-scrollbar-thumb) var(--app-scrollbar-track);
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
*::-webkit-scrollbar {
|
|
width: var(--app-scrollbar-size);
|
|
height: var(--app-scrollbar-size);
|
|
}
|
|
|
|
*::-webkit-scrollbar-track {
|
|
background: var(--app-scrollbar-track);
|
|
}
|
|
|
|
*::-webkit-scrollbar-thumb {
|
|
min-height: 40px;
|
|
border: 2px solid transparent;
|
|
border-radius: 999px;
|
|
background-color: var(--app-scrollbar-thumb);
|
|
background-clip: content-box;
|
|
}
|
|
|
|
*::-webkit-scrollbar-thumb:hover {
|
|
background-color: var(--app-scrollbar-thumb-hover);
|
|
}
|
|
|
|
*::-webkit-scrollbar-corner {
|
|
background: transparent;
|
|
}
|
|
|
|
.dx-scrollable-scrollbar.dx-scrollbar-vertical,
|
|
.dx-scrollable-scrollbar.dx-scrollbar-vertical .dx-scrollable-scroll {
|
|
width: var(--app-scrollbar-size) !important;
|
|
}
|
|
|
|
.dx-scrollable-scrollbar.dx-scrollbar-horizontal,
|
|
.dx-scrollable-scrollbar.dx-scrollbar-horizontal .dx-scrollable-scroll {
|
|
height: var(--app-scrollbar-size) !important;
|
|
}
|
|
|
|
.dx-scrollable-scroll {
|
|
border-radius: 999px !important;
|
|
background-color: var(--app-scrollbar-thumb) !important;
|
|
}
|
|
|
|
.dx-scrollable-scroll:hover,
|
|
.dx-scrollable-scrollbar.dx-state-hover .dx-scrollable-scroll,
|
|
.dx-scrollable-scrollbar.dx-scrollbar-hoverable.dx-scrollable-scrollbar-active
|
|
.dx-scrollable-scroll {
|
|
background-color: var(--app-scrollbar-thumb-hover) !important;
|
|
}
|
|
|
|
body {
|
|
@apply text-gray-500 dark:text-gray-400 text-xs bg-gray-100 dark:bg-gray-900 leading-normal;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
h1,
|
|
.h1 {
|
|
@apply text-4xl font-bold text-gray-900 dark:text-gray-100;
|
|
}
|
|
|
|
h2,
|
|
.h2 {
|
|
@apply text-3xl font-bold text-gray-900 dark:text-gray-100;
|
|
}
|
|
|
|
h3,
|
|
.h3 {
|
|
@apply text-2xl font-semibold text-gray-900 dark:text-gray-100;
|
|
}
|
|
|
|
h4,
|
|
.h4 {
|
|
@apply text-xl font-semibold text-gray-900 dark:text-gray-100;
|
|
}
|
|
|
|
h5,
|
|
.h5 {
|
|
@apply text-lg font-semibold text-gray-900 dark:text-gray-100;
|
|
}
|
|
|
|
h6,
|
|
.h6 {
|
|
@apply text-base font-semibold text-gray-900 dark:text-gray-100;
|
|
}
|
|
|
|
hr {
|
|
@apply border-gray-200 dark:border-gray-600;
|
|
}
|
|
|
|
.heading-text {
|
|
@apply text-gray-900 dark:text-gray-100;
|
|
}
|
|
}
|