Spaces:
Running
Running
File size: 3,565 Bytes
6f5f15e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 | @import "tailwindcss";
@import "tw-animate-css";
@custom-variant dark (&:where(.dark, .dark *));
@theme {
--font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
--color-bg: var(--surface-bg);
--color-panel: var(--surface-panel);
--color-panel-2: var(--surface-panel-2);
--color-line: var(--surface-line);
--color-line-strong: var(--surface-line-strong);
--color-fg: var(--text-fg);
--color-muted: var(--text-muted);
--color-muted-2: var(--text-muted-2);
--color-push: var(--chan-push);
--color-poll: var(--chan-poll);
--color-call: var(--chan-call);
--color-event: var(--chan-event);
--color-live: var(--chan-live);
--color-danger: var(--chan-danger);
}
:root {
color-scheme: light;
--surface-bg: oklch(0.975 0.003 260);
--surface-panel: oklch(0.998 0.001 260);
--surface-panel-2: oklch(0.955 0.004 260);
--surface-line: oklch(0.895 0.006 260);
--surface-line-strong: oklch(0.82 0.008 260);
--text-fg: oklch(0.16 0.01 260);
--text-muted: oklch(0.46 0.01 260);
--text-muted-2: oklch(0.58 0.008 260);
--chan-push: oklch(0.55 0.14 185);
--chan-poll: oklch(0.55 0.14 235);
--chan-call: oklch(0.54 0.17 295);
--chan-event: oklch(0.62 0.16 75);
--chan-live: oklch(0.58 0.22 25);
--chan-danger: oklch(0.57 0.21 18);
}
.dark {
color-scheme: dark;
--surface-bg: oklch(0.13 0.006 260);
--surface-panel: oklch(0.165 0.007 260);
--surface-panel-2: oklch(0.205 0.008 260);
--surface-line: oklch(0.265 0.009 260);
--surface-line-strong: oklch(0.34 0.011 260);
--text-fg: oklch(0.95 0.005 260);
--text-muted: oklch(0.68 0.01 260);
--text-muted-2: oklch(0.54 0.01 260);
--chan-push: oklch(0.78 0.13 185);
--chan-poll: oklch(0.75 0.12 235);
--chan-call: oklch(0.72 0.15 295);
--chan-event: oklch(0.82 0.15 80);
--chan-live: oklch(0.65 0.22 25);
--chan-danger: oklch(0.68 0.2 18);
}
@layer base {
* {
border-color: var(--surface-line);
}
body {
background-color: var(--surface-bg);
color: var(--text-fg);
font-family: var(--font-sans);
font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}
}
.tabular-nums {
font-variant-numeric: tabular-nums;
}
@keyframes shutter-flash {
0% {
opacity: 0.85;
}
100% {
opacity: 0;
}
}
@keyframes heartbeat-ring {
0% {
transform: scale(0.9);
opacity: 0.9;
}
70% {
transform: scale(1.9);
opacity: 0;
}
100% {
transform: scale(1.9);
opacity: 0;
}
}
@keyframes delivery-tick {
0% {
transform: scale(1);
}
35% {
transform: scale(1.12);
}
100% {
transform: scale(1);
}
}
.animate-shutter {
animation: shutter-flash 320ms ease-out forwards;
}
.animate-heartbeat-ring {
animation: heartbeat-ring 900ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.animate-delivery-tick {
animation: delivery-tick 300ms ease-out;
}
.striped-revoke {
background-image: repeating-linear-gradient(
-45deg,
color-mix(in oklch, var(--chan-danger) 18%, transparent),
color-mix(in oklch, var(--chan-danger) 18%, transparent) 6px,
color-mix(in oklch, var(--chan-danger) 6%, transparent) 6px,
color-mix(in oklch, var(--chan-danger) 6%, transparent) 12px
);
}
@media (prefers-reduced-motion: reduce) {
.animate-shutter,
.animate-heartbeat-ring,
.animate-delivery-tick,
.animate-pulse,
.animate-ping {
animation: none !important;
}
}
|