|
1 | 1 | @import "tailwindcss"; |
2 | 2 | @source "../../../packages/ui/src"; |
3 | 3 |
|
| 4 | +@theme { |
| 5 | + --color-magic-success: #15a861; |
| 6 | + --color-magic-success-hover: #10814a; |
| 7 | + --color-magic-success-surface: #e9f7ec; |
| 8 | + --color-magic-danger: #e22a2d; |
| 9 | + --color-magic-danger-hover: #ba1e21; |
| 10 | + --color-magic-danger-surface: #ffd9d9; |
| 11 | + --color-magic-error: #b91c1c; |
| 12 | + --color-magic-error-border: #fca5a5; |
| 13 | + --color-magic-error-surface: #fef2f2; |
| 14 | + --color-magic-warning: #854d0e; |
| 15 | + --color-magic-warning-border: #facc15; |
| 16 | + --color-magic-warning-surface: #fefce8; |
| 17 | + --color-magic-api-success-surface: #ecfdf3; |
| 18 | + --color-magic-api-success-text: #047857; |
| 19 | + --color-magic-http-get-surface: #e8f3ff; |
| 20 | + --color-magic-http-get-text: #1d4ed8; |
| 21 | + --color-magic-http-post-surface: #ecfdf3; |
| 22 | + --color-magic-http-post-text: #047857; |
| 23 | + --color-magic-http-put-surface: #fff7ed; |
| 24 | + --color-magic-http-put-text: #c2410c; |
| 25 | + --color-magic-http-patch-surface: #fef3c7; |
| 26 | + --color-magic-http-patch-text: #b45309; |
| 27 | + --color-magic-http-delete-surface: #fee2e2; |
| 28 | + --color-magic-http-delete-text: #b91c1c; |
| 29 | + --color-magic-admin-shell-spotlight: #eef2ff; |
| 30 | + --color-magic-admin-shell-mid: #fafafa; |
| 31 | + --color-magic-admin-shell-base: #f5f5f5; |
| 32 | + --color-magic-admin-panel-shadow: rgba(26, 31, 39, 0.45); |
| 33 | +} |
| 34 | + |
4 | 35 | body { |
5 | 36 | @apply m-0; |
6 | 37 | font-family: "Pretendard", system-ui, -apple-system, sans-serif; |
@@ -101,6 +132,23 @@ code { |
101 | 132 | box-shadow: 0 4px 40px 0 rgba(26, 31, 39, 0.12); |
102 | 133 | } |
103 | 134 |
|
| 135 | + .bg-magic-admin-shell { |
| 136 | + background-image: radial-gradient( |
| 137 | + circle at top, |
| 138 | + var(--color-magic-admin-shell-spotlight) 0%, |
| 139 | + var(--color-magic-admin-shell-mid) 48%, |
| 140 | + var(--color-magic-admin-shell-base) 100% |
| 141 | + ); |
| 142 | + } |
| 143 | + |
| 144 | + .shadow-magic-admin-header { |
| 145 | + box-shadow: 0 10px 30px -24px var(--color-magic-admin-panel-shadow); |
| 146 | + } |
| 147 | + |
| 148 | + .shadow-magic-admin-panel { |
| 149 | + box-shadow: 0 8px 24px -22px var(--color-magic-admin-panel-shadow); |
| 150 | + } |
| 151 | + |
104 | 152 | .typo-bold-1 { |
105 | 153 | font-size: 24px; |
106 | 154 | line-height: 140%; |
|
0 commit comments