forked from enviPath/enviPy
New Layout for parallel styling
Signed-off-by: Tobias O <tobias.olenyi@envipath.com>
This commit is contained in:
@ -1,12 +1,33 @@
|
||||
@import "tailwindcss";
|
||||
|
||||
/* Import DaisyUI plugin for Tailwind v4 */
|
||||
@plugin "daisyui";
|
||||
/* Tell Tailwind where to find Django templates and Python files */
|
||||
@source "../../templates";
|
||||
|
||||
/* Custom theme configuration */
|
||||
@theme {
|
||||
/* Custom enviPath colors */
|
||||
--color-envipath: #222222;
|
||||
--color-envipath-gray: #9d9d9d;
|
||||
--color-envipath-accent: #37cdbe;
|
||||
/* Custom theme configuration - must come before plugins */
|
||||
@import "./theme.css";
|
||||
|
||||
/* Import DaisyUI plugin */
|
||||
@plugin "daisyui" {
|
||||
logs: true;
|
||||
}
|
||||
|
||||
@import "./daisyui-theme.css";
|
||||
|
||||
/* Bootstrap compatibility layer - prevent Bootstrap from overriding Tailwind */
|
||||
@layer base {
|
||||
/* Ensure Tailwind's preflight takes precedence in non-legacy sections */
|
||||
body:not(.legacy-bootstrap *) {
|
||||
@apply antialiased;
|
||||
}
|
||||
}
|
||||
|
||||
@layer utilities {
|
||||
/* Add important utilities for overriding Bootstrap where needed */
|
||||
.tw-flex {
|
||||
display: flex !important;
|
||||
}
|
||||
|
||||
.tw-grid {
|
||||
display: grid !important;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user