| 1 |
@import "tailwindcss" important; |
| 2 |
|
| 3 |
@custom-variant dark (&:is(.dark *)); |
| 4 |
|
| 5 |
@theme inline { |
| 6 |
--color-background: oklch(1 0 0); |
| 7 |
--color-foreground: oklch(0.145 0 0); |
| 8 |
--color-card: oklch(1 0 0); |
| 9 |
--color-card-foreground: oklch(0.145 0 0); |
| 10 |
--color-popover: oklch(1 0 0); |
| 11 |
--color-popover-foreground: oklch(0.145 0 0); |
| 12 |
--color-primary: oklch(0.205 0.08 265); |
| 13 |
--color-primary-foreground: oklch(0.985 0 0); |
| 14 |
--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, |
| 15 |
Cantarell, "Helvetica Neue", sans-serif; |
| 16 |
--color-secondary: oklch(0.965 0 0); |
| 17 |
--color-secondary-foreground: oklch(0.205 0 0); |
| 18 |
--color-muted: oklch(0.955 0 0); |
| 19 |
--color-muted-foreground: oklch(0.45 0 0); |
| 20 |
--color-accent: oklch(0.965 0 0); |
| 21 |
--color-accent-foreground: oklch(0.205 0 0); |
| 22 |
--color-destructive: oklch(0.577 0.245 27.325); |
| 23 |
--color-destructive-foreground: oklch(0.577 0.245 27.325); |
| 24 |
--color-border: oklch(0.9 0 0); |
| 25 |
--color-input: oklch(0.9 0 0); |
| 26 |
--color-ring: oklch(0.708 0.165 254.624); |
| 27 |
--color-chart-1: oklch(0.646 0.222 41.116); |
| 28 |
--color-chart-2: oklch(0.6 0.118 184.704); |
| 29 |
--color-chart-3: oklch(0.398 0.07 227.392); |
| 30 |
--color-chart-4: oklch(0.828 0.189 84.429); |
| 31 |
--color-chart-5: oklch(0.769 0.188 70.08); |
| 32 |
--color-sidebar: oklch(0.985 0 0); |
| 33 |
--color-sidebar-foreground: oklch(0.145 0 0); |
| 34 |
--color-sidebar-primary: oklch(0.205 0.08 265); |
| 35 |
--color-sidebar-primary-foreground: oklch(0.985 0 0); |
| 36 |
--color-sidebar-accent: oklch(0.965 0 0); |
| 37 |
--color-sidebar-accent-foreground: oklch(0.205 0 0); |
| 38 |
--color-sidebar-border: oklch(0.922 0 0); |
| 39 |
--color-sidebar-ring: oklch(0.708 0.165 254.624); |
| 40 |
--radius-sm: 0.25rem; |
| 41 |
--radius-md: 0.375rem; |
| 42 |
--radius-lg: 0.5rem; |
| 43 |
--radius-xl: 0.75rem; |
| 44 |
--radius-2xl: calc(var(--radius) + 8px); |
| 45 |
--radius-3xl: calc(var(--radius) + 12px); |
| 46 |
--radius-4xl: calc(var(--radius) + 16px); |
| 47 |
} |
| 48 |
|
| 49 |
.lw-harbor-ui { |
| 50 |
--radius: 0.625rem; |
| 51 |
--background: oklch(1 0 0); |
| 52 |
--foreground: oklch(0.145 0 0); |
| 53 |
--card: oklch(1 0 0); |
| 54 |
--card-foreground: oklch(0.145 0 0); |
| 55 |
--popover: oklch(1 0 0); |
| 56 |
--popover-foreground: oklch(0.145 0 0); |
| 57 |
--primary: oklch(0.205 0 0); |
| 58 |
--primary-foreground: oklch(0.985 0 0); |
| 59 |
--secondary: oklch(0.97 0 0); |
| 60 |
--secondary-foreground: oklch(0.205 0 0); |
| 61 |
--muted: oklch(0.955 0 0); |
| 62 |
--muted-foreground: oklch(0.45 0 0); |
| 63 |
--accent: oklch(0.97 0 0); |
| 64 |
--accent-foreground: oklch(0.205 0 0); |
| 65 |
--destructive: oklch(0.577 0.245 27.325); |
| 66 |
--border: oklch(0.9 0 0); |
| 67 |
--input: oklch(0.9 0 0); |
| 68 |
--ring: oklch(0.708 0 0); |
| 69 |
--chart-1: oklch(0.646 0.222 41.116); |
| 70 |
--chart-2: oklch(0.6 0.118 184.704); |
| 71 |
--chart-3: oklch(0.398 0.07 227.392); |
| 72 |
--chart-4: oklch(0.828 0.189 84.429); |
| 73 |
--chart-5: oklch(0.769 0.188 70.08); |
| 74 |
--sidebar: oklch(0.985 0 0); |
| 75 |
--sidebar-foreground: oklch(0.145 0 0); |
| 76 |
--sidebar-primary: oklch(0.205 0 0); |
| 77 |
--sidebar-primary-foreground: oklch(0.985 0 0); |
| 78 |
--sidebar-accent: oklch(0.97 0 0); |
| 79 |
--sidebar-accent-foreground: oklch(0.205 0 0); |
| 80 |
--sidebar-border: oklch(0.922 0 0); |
| 81 |
--sidebar-ring: oklch(0.708 0 0); |
| 82 |
} |
| 83 |
|
| 84 |
.lw-harbor-ui .dark { |
| 85 |
--background: oklch(0.145 0 0); |
| 86 |
--foreground: oklch(0.985 0 0); |
| 87 |
--card: oklch(0.205 0 0); |
| 88 |
--card-foreground: oklch(0.985 0 0); |
| 89 |
--popover: oklch(0.205 0 0); |
| 90 |
--popover-foreground: oklch(0.985 0 0); |
| 91 |
--primary: oklch(0.922 0 0); |
| 92 |
--primary-foreground: oklch(0.205 0 0); |
| 93 |
--secondary: oklch(0.269 0 0); |
| 94 |
--secondary-foreground: oklch(0.985 0 0); |
| 95 |
--muted: oklch(0.269 0 0); |
| 96 |
--muted-foreground: oklch(0.708 0 0); |
| 97 |
--accent: oklch(0.269 0 0); |
| 98 |
--accent-foreground: oklch(0.985 0 0); |
| 99 |
--destructive: oklch(0.704 0.191 22.216); |
| 100 |
--border: oklch(1 0 0 / 10%); |
| 101 |
--input: oklch(1 0 0 / 15%); |
| 102 |
--ring: oklch(0.556 0 0); |
| 103 |
--chart-1: oklch(0.488 0.243 264.376); |
| 104 |
--chart-2: oklch(0.696 0.17 162.48); |
| 105 |
--chart-3: oklch(0.769 0.188 70.08); |
| 106 |
--chart-4: oklch(0.627 0.265 303.9); |
| 107 |
--chart-5: oklch(0.645 0.246 16.439); |
| 108 |
--sidebar: oklch(0.205 0 0); |
| 109 |
--sidebar-foreground: oklch(0.985 0 0); |
| 110 |
--sidebar-primary: oklch(0.488 0.243 264.376); |
| 111 |
--sidebar-primary-foreground: oklch(0.985 0 0); |
| 112 |
--sidebar-accent: oklch(0.269 0 0); |
| 113 |
--sidebar-accent-foreground: oklch(0.985 0 0); |
| 114 |
--sidebar-border: oklch(1 0 0 / 10%); |
| 115 |
--sidebar-ring: oklch(0.556 0 0); |
| 116 |
} |
| 117 |
|
| 118 |
.lw-harbor-ui { |
| 119 |
background-color: var(--color-background); |
| 120 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 121 |
font-size: 14px; |
| 122 |
line-height: 1.5; |
| 123 |
color: var(--color-foreground); |
| 124 |
} |
| 125 |
|
| 126 |
.lw-harbor-ui * { |
| 127 |
border-color: var(--color-border); |
| 128 |
} |
| 129 |
|
| 130 |
#wpcontent:has(.lw-harbor-ui) { |
| 131 |
padding-left: 0; |
| 132 |
} |
| 133 |
|
| 134 |
#wpcontent:has(.lw-harbor-ui) #wpbody-content { |
| 135 |
padding-bottom: 0; |
| 136 |
} |
| 137 |
|
| 138 |
#wpcontent:has(.lw-harbor-ui) + #wpfooter { |
| 139 |
display: none; |
| 140 |
} |
| 141 |
|
| 142 |
.wrap:has(> .lw-harbor-ui) { |
| 143 |
margin: 0; |
| 144 |
padding: 0; |
| 145 |
} |
| 146 |
|
| 147 |
@layer base { |
| 148 |
* { |
| 149 |
@apply border-border box-border outline-ring/50; |
| 150 |
} |
| 151 |
body { |
| 152 |
@apply bg-background text-foreground; |
| 153 |
} |
| 154 |
} |
| 155 |
|