@import 'tailwindcss'; @source "../../../../src/**/*.{html,js,hs}"; @source "../**/*.{html,js}"; @source "../testeditor.js"; @source "../explorer-list.js"; @source "../../../../web-components/**/*.{js,jsx,ts,tsx,vue}"; @layer base, utilities, custom; @config '../../../../config/tailwind.config.js'; @plugin "@tailwindcss/typography"; @plugin "daisyui" { themes: light --default, dark --prefersdark, cupcake; } @custom-variant dark (&:where([data-theme=dark], [data-theme=dark] *)); /* JetBrains Mono font */ @font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/public/assets/fonts/JetBrainsMono[wght].ttf") format("truetype"); } /* Inter Variable fonts */ @font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/public/assets/fonts/InterVariable.ttf") format("truetype"); } @font-face { font-family: 'Inter'; font-style: italic; font-weight: 100 900; font-display: swap; src: url("/public/assets/fonts/InterVariable-Italic.ttf") format("truetype"); } /* Basic Inter font features */ @font-feature-settings { 'ss01': 1, /* Sans-serif simple a */ 'ss02': 1, /* Sans-serif g */ 'cv01': 1, /* Open zero */ 'cv02': 1 /* Open four */ } @theme { /* Simple colors */ --color-gray-25: oklch(99.1% 0.002 247); --color-gray-150: oklch(94.5% 0.005 247); --color-slate-25: oklch(99.1% 0.002 226); --color-slate-150: oklch(94.5% 0.007 226); --color-slate-250: oklch(89.2% 0.012 226); /* Background colors */ --color-bgAlternate: oklch(97.7% 0.006 247); --color-bgBase: oklch(99.1% 0.002 247); --color-bgInverse: oklch(16.4% 0.012 263); --color-bgOverlay: oklch(99.1% 0.002 247); --color-bgRaised: oklch(99.1% 0.002 247); --color-bgSunken: oklch(97.7% 0.006 247); --color-bgBrand: rgb(0 104 255); /* Fill colors */ --color-fillBrand-strong: rgb(0 104 255); --color-fillBrand-weak: rgba(0 104 255 / 0.05); --color-fillDisabled: rgba(0 17 102 / 0.1); --color-fillStrong: rgba(0 6 38 / 0.9); --color-fillError-strong: oklch(51.3% 0.197 21); --color-fillError-weak: rgba(255 74 74 / 0.05); --color-fillHover: rgba(0 21 128 / 0.04); --color-fillInformation-strong: oklch(49.3% 0.088 241); --color-fillInformation-weak: rgba(38 176 255 / 0.05); --color-fillInverseDisabled: rgba(255 255 255 / 0.12); --color-fillInverse-hover: rgba(255 255 255 / 0.06); --color-fillInverse-press: rgba(255 255 255 / 0.12); --color-fillInverse-strong: oklch(99.1% 0.002 247); --color-fillInverse-weak: rgba(255 255 255 / 0.06); --color-fillOverlay: rgba(0 13 77 / 0.45); --color-fillPress: rgba(0 17 102 / 0.1); --color-fillSelected: rgb(0 104 255); --color-fillSuccess-strong: oklch(47.8% 0.130 162); --color-fillSuccess-weak: rgba(10 204 146 / 0.05); --color-fillWarning-strong: oklch(54.7% 0.126 69); --color-fillWarning-weak: rgba(255 192 46 / 0.05); --color-fillWeak: rgba(0 21 128 / 0.04); --color-fillWeaker: rgba(0 21 128 / 0.02); --color-fillWhite: rgb(255 255 255); --color-fillYellow: oklch(85.8% 0.179 92); /* Icon colors */ --color-iconBrand: rgba(0 104 255 / 0.8); --color-iconDisabled: rgba(0 17 102 / 0.1); --color-iconError: rgba(199 58 58 / 0.8); --color-iconInformation: rgba(26 116 168 / 0.8); --color-iconInverse: rgba(255 255 255 / 0.6); --color-iconInverseDisabled: rgba(255 255 255 / 0.12); --color-iconInverse-strong: rgb(255 255 255); --color-iconNeutral: rgba(0 13 77 / 0.45); --color-iconSuccess: rgba(6 122 87 / 0.8); --color-iconWarning: rgba(143 108 26 / 0.8); /* Stroke colors */ --color-strokeBrand-strong: rgba(0 104 255 / 0.8); --color-strokeBrand-weak: rgba(0 104 255 / 0.2); --color-strokeDisabled: rgba(0 17 102 / 0.1); --color-strokeError-strong: rgba(199 58 58 / 0.8); --color-strokeError-weak: rgba(199 58 58 / 0.14); --color-strokeFocus: rgb(0 104 255); --color-strokeInformation-strong: rgba(26 116 168 / 0.8); --color-strokeInformation-weak: rgba(26 116 168 / 0.2); --color-strokeInverseDisabled: rgba(255 255 255 / 0.12); --color-strokeInverse-strong: rgba(255 255 255 / 0.6); --color-strokeInverse-weak: rgba(255 255 255 / 0.12); --color-strokeSelected: rgb(0 104 255); --color-strokeStrong: rgba(0 13 77 / 0.45); --color-strokeSuccess-strong: rgba(6 122 87 / 0.8); --color-strokeSuccess-weak: rgba(6 122 87 / 0.2); --color-strokeWarning-strong: rgba(143 108 26 / 0.8); --color-strokeWarning-weak: rgba(143 108 26 / 0.2); --color-strokeWeak: rgba(0 17 102 / 0.1); /* Text colors */ --color-textBrand: rgb(0 104 255); --color-textDisabled: rgba(0 13 77 / 0.45); --color-textError: oklch(51.3% 0.197 21); --color-textInformation: oklch(49.3% 0.088 241); --color-textSuccess: oklch(47.8% 0.130 162); --color-textWarning: oklch(54.7% 0.126 69); --color-textInverseDisabled: rgba(255 255 255 / 0.12); --color-textInverse-strong: rgb(255 255 255); --color-textInverse-weak: rgba(255 255 255 / 0.78); --color-textStrong: rgba(0 6 38 / 0.9); --color-textWeak: rgba(0 8 51 / 0.65); --animate-fadeBg: fadeBg 2s ease-out; @keyframes fadeBg { 0% { background-color: rgb(0 104 255) } 70% { background-color: rgb(0 104 255)} 100% { background-color: transparent } } @keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } } } @plugin "daisyui/theme" { name: 'light'; default: true; prefersdark: false; color-scheme: 'light'; --color-base-100: var(--color-bgBase); --color-base-200: rgba(0 21 128 / 0.04); --color-base-300: rgba(0 21 128 / 0.04); --color-base-content: rgba(0 6 38 / 0.9); --color-primary: rgb(0 104 255); --color-primary-content: rgb(255 255 255); --color-secondary: var(--color-textBrand); --color-secondary-content: rgba(0 8 51 / 0.65); --color-accent: rgba(0 21 128 / 0.02); --color-accent-content: rgb(0 104 255); --color-neutral: rgba(0 21 128 / 0.04); --color-neutral-content: rgba(0 6 38 / 0.9); --color-info: oklch(49.3% 0.088 241); --color-info-content: oklch(49.3% 0.088 241); --color-success: oklch(47.8% 0.13 162); --color-success-content: oklch(47.8% 0.13 162); --color-warning: oklch(54.7% 0.126 69); --color-warning-content: oklch(54.7% 0.126 69); --color-error: oklch(51.3% 0.197 21); --color-error-content: oklch(51.3% 0.197 21); --radius-selector: 0.4rem; --radius-field: 0.4rem; --radius-box: 1rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 1; --noise: 1; --tw-prose-body: var(--color-textStrong) !important; } @plugin "daisyui/theme" { name: 'dark'; default: false; prefersdark: true; color-scheme: 'dark'; --color-base-100: var(--color-bgBase); --color-base-200: oklch(20% 0.022 263); --color-base-300: oklch(22% 0.022 263); --color-base-content: oklch(88% 0.020 263); --color-primary: rgb(59 130 246); --color-primary-content: oklch(88% 0.020 263); --color-secondary: var(--color-textBrand); --color-secondary-content: oklch(78% 0.020 263); --color-accent: rgba(255 255 255 / 0.03); --color-accent-content: rgb(59 130 246); --color-neutral: rgba(255 255 255 / 0.06); --color-neutral-content: oklch(88% 0.020 263); --color-info: oklch(75.5% 0.098 241); --color-info-content: oklch(75.5% 0.098 241); --color-success: oklch(75.3% 0.092 162); --color-success-content: oklch(75.3% 0.092 162); --color-warning: oklch(79.5% 0.106 92); --color-warning-content: oklch(79.5% 0.106 92); --color-error: oklch(77.2% 0.126 21); --color-error-content: oklch(77.2% 0.126 21); --radius-selector: 0.3rem; --radius-field: 0.4rem; --radius-box: 1rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 1; --noise: 1; --tw-prose-body: var(--color-textStrong) !important; } .menu-title { @apply font-normal; } :root, [data-theme] { --backgroundPrimary: rgb(255 255 255); --rounded-btn: 0.5rem; --tw-prose-body: var(--color-textStrong) !important; } html, body, :host { line-height: 1; @apply overscroll-none bg-bgBase; --brand-color: var(--color-fillBrand-strong); --brand-color-light: var(--color-fillBrand-strong); --tags-border-color: var(--color-strokeStrong); --tags-hover-border-color: var(--color-strokeStrong); --chkbg: var(--brand-color); } @layer custom { /* Badge component - solid filled badges */ .badge { @apply inline-flex items-center justify-center rounded-md border border-transparent px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 gap-1 text-textInverse-strong shadow-sm; } /* Badge component - outline badges */ .badge-outline { @apply inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 gap-1; } .badge-ghost { @apply inline-flex items-center justify-center rounded-md px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 gap-1 text-textWeak; } .tab-not-active { --tab-color: var(--fallback-bc, oklch(var(--bc) / 0.5)); --tab-bg: transparent; --tab-border-color: transparent; border-color: var(--tab-border-color); background-color: var(--tab-bg); color: var(--tab-color); padding-left: var(--tab-padding, 1rem); padding-right: var(--tab-padding, 1rem); } .tooltip:before, .tooltip:after { --tt-bg: var(--color-fillStrong); color: var(--color-textInverse-strong); } .dropdown-content { background-color: var(--color-bgOverlay); @apply border; } .modal-box { background-color: var(--color-bgOverlay); } /* Frosted glass backdrop for modals */ .modal-backdrop { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); } .dropdown summary { list-style: none; } .dropdown summary::-webkit-details-marker { display: none; } .alert { --color-success: var(--color-fillSuccess-weak); --color-error: var(--color-fillError-weak); --color-warning: var(--color-fillWarning-weak); --color-info: var(--color-fillInformation-weak); } /* Skeleton loader styles */ .skeleton-shimmer { background: linear-gradient( 90deg, var(--color-fillWeak) 0%, var(--color-fillWeak) 40%, var(--skeleton-highlight, rgba(26, 116, 168, 0.1)) 50%, var(--color-fillWeak) 60%, var(--color-fillWeak) 100% ); background-size: 200% 100%; animation: shimmer 2s ease-in-out infinite; } [data-theme="dark"] .skeleton-shimmer { --skeleton-highlight: rgba(26, 116, 168, 0.2); } .skeleton-wave { animation-delay: calc(var(--row-index) * 0.1s); } .skeleton-glow { box-shadow: 0 0 10px rgba(26, 116, 168, 0.1); } } /* The default border color has changed to `currentColor` in Tailwind CSS v4, so we've added these compatibility styles to make sure everything still looks the same as it did with Tailwind CSS v3. If we ever want to remove these styles, we need to add an explicit border color utility to any element that depends on these defaults. */ @layer base { *, ::after, ::before, ::backdrop, ::file-selector-button { border-color: var(--color-strokeWeak, currentColor); } } @utility tabs-outline { & :is(.tab-active, [aria-selected='true']):not(.tab-disabled):not([disabled]), :is(input:checked), :is(label:has(:checked)) { @apply border border-strokeStrong shadow-sm text-textStrong; } & :is(.tab-active, [aria-selected='true']):not(.tab-disabled):not([disabled]):hover { @apply border border-strokeStrong shadow-sm text-textStrong; } .tabs-outline .tab { @apply !text-textStrong; } } /* @utility tab-active { */ /* .tabs-outline :is(&, [aria-selected='true']):not(.tab-disabled):not([disabled]) { */ /* @apply bg-bgBase shadow-sm border border-strokeStrong text-textStrong; */ /* } */ /**/ /* .tabs-outline :is(&, [aria-selected='true']):not(.tab-disabled):not([disabled]):hover { */ /* @apply bg-bgBase shadow-sm border border-strokeStrong text-textStrong; */ /* } */ /**/ /* /* */ /* .tabs-outline .tab { */ /* @apply !text-slate-800 font-medium; */ /* }*/ /* } */ @utility tabs-boxed { & :is(input:checked) { @apply bg-bgBase; } .tabs-outline .tab { @apply !text-textStrong; } } @utility tabs-box { height: fit-content; min-height: auto; } @utility tab { --tab-bg: var(--color-bgOverlay); @apply h-auto! leading-none; padding-block: calc(var(--spacing) * 1.5); /* .tabs-outline .tab { @apply !text-slate-800 font-medium; }*/ } @utility inconsolata { font-family: 'JetBrains Mono', monospace; } @utility monospace { font-family: 'JetBrains Mono', monospace; } /* For code blocks and pre-formatted text */ code, pre, .code, .monospace { font-family: 'JetBrains Mono', monospace; } @utility icon { /* From icomoon app*/ display: inline-block; width: 1em; height: 1em; stroke: currentColor; fill: currentColor; } @utility dataTable-search { /* .checkbox, .input, .btn, .select, .textarea { */ /* @apply shadow; */ /* } */ @apply rounded-sm; } @utility btn-indigo { @apply ml-3 text-textInverse-strong bg-fillBrand-strong hover:bg-fillBrand-strong focus:ring-strokeFocus; } @utility btn-yellow { @apply btn-sm ml-3 text-textStrong bg-fillYellow hover:bg-fillYellow focus:ring-strokeWarning-strong; } @utility btn-white-sm { @apply btn-sm bg-base-100 border-strokeWeak text-textWeak hover:bg-fillHover focus:ring-strokeFocus; } @utility input-txt { @apply shadow-xs focus:ring-strokeFocus focus:border-strokeFocus block w-full sm:text-sm border-strokeWeak rounded-md; } @utility neg-rotate-90 { /* Added because using - in class name prefix via hyperscript doesnt work*/ @apply -rotate-90; } @utility parent-hover { & .child-hover { visibility: hidden; } &:hover .child-hover { visibility: visible; } } @utility child-hover { .parent-hover & { visibility: hidden; } .parent-hover:hover & { visibility: visible; } } @utility blue-gr-btn { @apply bg-linear-to-b text-textInverse-strong font-medium from-fillBrand-strong to-fillBrand-strong; } @utility blue-outline-btn { @apply border-strokeBrand-strong text-textBrand font-medium; } .cbadge { @apply px-2 py-1.5 text-sm rounded-lg text-center; } .cbadge-sm { @apply px-1.5 py-1 text-xs rounded-lg text-center monospace; } @utility badge-2xx { @apply bg-green-100 text-green-700 dark:bg-green-900/20 dark:text-green-300; } @utility badge-success { @apply bg-fillSuccess-strong text-textSuccess font-medium; } @utility badge-error { @apply bg-fillError-weak text-textError font-medium; } @utility badge-3xx { @apply bg-amber-100 text-amber-800 dark:bg-amber-900/20 dark:text-amber-300; } @utility badge-4xx { @apply bg-red-50 text-red-800 dark:bg-red-900/20 dark:text-red-300; } @utility badge-blue { @apply text-[var(--brand-color)] bg-fillBrand-weak; } @utility badge-green { @apply text-textSuccess bg-fillSuccess-weak; } @utility badge-lime { @apply bg-fillSuccess-weak text-textSuccess; } @utility badge-pink { @apply bg-fillBrand-weak text-textBrand; } @utility badge-cyan { @apply bg-fillInformation-weak text-textInformation; } @utility badge-5xx { @apply bg-red-200 text-red-900 font-medium dark:bg-red-900/30 dark:text-red-200; } @utility badge-neutral { @apply !bg-fillWeaker !text-textStrong; } @utility badge-info { @apply bg-fillInformation-weak text-textInformation; } @utility badge-warning { @apply bg-fillWarning-weak text-textWarning; } @utility badge-fatal { @apply bg-fillError-strong text-textInverse-strong font-bold; } @utility badge-GET { @apply bg-blue-100 text-blue-700 dark:bg-blue-900/20 dark:text-blue-300; } @utility badge-POST { @apply bg-pink-100 text-pink-700 dark:bg-pink-900/20 dark:text-pink-300; } @utility badge-PUT { @apply bg-lime-100 text-lime-700 dark:bg-lime-900/20 dark:text-lime-300; } @utility badge-DELETE { @apply bg-red-100 text-red-700 dark:bg-red-900/20 dark:text-red-300; } @utility badge-PATCH { @apply bg-cyan-100 text-cyan-700 dark:bg-cyan-900/20 dark:text-cyan-300; } .rr-player { position: relative; background: black; float: left; border-radius: 5px; box-shadow: none; } .rr-player__frame { overflow: hidden; } .player-frame{ overflow: hidden; } .replayer-wrapper { float: left; clear: both; transform-origin: top left; left: 50%; top: 50%; background-color: white; } .replayer-wrapper > iframe { border: none; } .event-container.expanded { @apply border border-strokeBrand-strong } .event-container.expanded button > svg { @apply rotate-180 } .event-container.expanded > .event-detail { display: flex; } /* Database-specific badges - neutral background with colored borders */ .badge-postgres { @apply bg-fillWeak text-textStrong border border-strokeBrand-strong; } .badge-mysql { @apply bg-fillWeak text-textStrong border border-strokeWarning-strong; } .badge-redis { @apply bg-fillWeak text-textStrong border border-strokeError-strong; } .badge-mongo { @apply bg-fillWeak text-textStrong border border-strokeSuccess-strong; } .badge-mongodb { @apply bg-fillWeak text-textStrong border border-strokeSuccess-strong; } .badge-elastic { @apply bg-fillWeak text-textStrong border border-strokeWarning-strong; } .badge-elasticsearch { @apply bg-fillWeak text-textStrong border border-strokeWarning-strong; } .badge-cassandra { @apply bg-fillWeak text-textStrong border border-strokeInformation-strong; } .badge-dynamodb { @apply bg-fillWeak text-textStrong border border-strokeBrand-strong; } .badge-memcached { @apply bg-fillWeak text-textStrong border border-strokeBrand-strong; } .badge-sqlite { @apply bg-fillWeak text-textStrong border border-strokeStrong; } .badge-clickhouse { @apply bg-fillWeak text-textStrong border border-strokeWarning-strong; } .tagify {} @utility ctable { & :where(.table-pin-rows thead tr) { @apply sticky top-0 z-10 bg-bgBase; } & :where(.table-pin-cols tr th) { @apply sticky left-0 right-0 z-10; } & td > div { @apply py-1; } & .log-row.htmx-added { @apply bg-fillBrand-weak transition-colors duration-300 ease-in-out; } & .log-row.htmx-settling { @apply bg-fillBrand-weak transition-colors duration-300 ease-in-out; } } @utility table-pin-rows { .ctable :where(& thead tr) { @apply sticky top-0 z-10 bg-bgBase; } } @utility table-pin-cols { .ctable :where(& tr th) { @apply sticky left-0 right-0 z-10; } } @utility log-row { .ctable &.htmx-added { @apply bg-fillBrand-weak transition-colors duration-300 ease-in-out; } .ctable &.htmx-settling { @apply bg-fillBrand-weak transition-colors duration-300 ease-in-out; } } @utility htmx-added { .ctable &.log-row { @apply bg-fillBrand-weak transition-colors duration-300 ease-in-out; } } @utility htmx-settling { .ctable &.log-row { @apply bg-fillBrand-weak transition-colors duration-300 ease-in-out; } } @layer custom { .surface-raised { @apply bg-fillWeaker border border-strokeWeak rounded-xl; background: linear-gradient(135deg, oklch(from var(--color-fillWeaker) calc(l + 0.008) c h) 0%, var(--color-fillWeaker) 50%, oklch(from var(--color-fillWeaker) calc(l - 0.004) c h) 100% ); box-shadow: inset 0 1px 0 0 oklch(from var(--color-fillWeaker) calc(l + 0.04) c h), inset 0 -1px 0 0 oklch(from var(--color-fillWeaker) calc(l - 0.02) c h), 0 2px 8px -2px rgba(0 0 0 / 0.08), 0 4px 12px -4px rgba(0 0 0 / 0.04); } [data-theme="dark"] .surface-raised { background: linear-gradient(135deg, oklch(from var(--color-fillWeaker) calc(l + 0.012) c h) 0%, var(--color-fillWeaker) 50%, oklch(from var(--color-fillWeaker) calc(l - 0.006) c h) 100% ); box-shadow: inset 0 1px 0 0 rgba(255 255 255 / 0.08), inset 0 -1px 0 0 rgba(0 0 0 / 0.4), 0 2px 8px -2px rgba(0 0 0 / 0.4), 0 4px 12px -4px rgba(0 0 0 / 0.3); } :root { --fallback-b2: var(--color-fillWeak); /* bg-fillWeak*/ --tab-color: var(--color-textWeak); /* tab text color textWeak */ --fallback-pc: var(--color-textStrong); /*bg-textStrong */ --fallback-bc: var(--color-strokeStrong); /*border color strokeStrong*/ } } @layer custom { .log_details_expanded { width: 850px; } .c-scroll::-webkit-scrollbar { width: 5px; height: 5px; } /* Track */ .c-scroll::-webkit-scrollbar-track { background: transparent; } /* Handle */ .c-scroll::-webkit-scrollbar-thumb { @apply bg-strokeWeak opacity-70; border-radius: 3px; } .c-scroll::-webkit-scrollbar-thumb:hover { @apply bg-strokeStrong; } .payment-radio-active { @apply bg-fillBrand-strong; } .payment-radio-active > div { display: block; } .endpoint-path-collapse > .subpaths-container { display: none; } .endpoint-path-collapse .collpase-icon { transform: rotate(180deg); } .endpoint_schema { @apply text-textWeak; } .subpaths-container { cursor: pointer; @apply flex flex-col pb-4; } .subpaths-container > div { @apply px-4 py-2; } .subpaths-container > div:hover { @apply bg-fillHover; } .font_toggle_active { @apply bg-fillBrand-weak; } .path-method-get { @apply text-textBrand; } .endpoint_active { border-left: 5px solid currentColor; } .path-method-put { @apply text-textWarning; } .path-method-post { @apply text-textSuccess; } .path-method-delete { @apply text-textError; } .path-method-patch { @apply text-textBrand; } .path-method-options { @apply text-textWeak; } .path-method-head { @apply text-textBrand; } .subpaths-header { display: flex; cursor: pointer; @apply hover:bg-fillHover py-3 px-2 w-full items-center justify-between; } .htmx-indicator { display: none; } .htmx-request.htmx-indicator { display: flex; } .btn-secondary { @apply text-textBrand border border-strokeBrand-strong rounded-lg font-semibold; } .htmx-request.survey-indicator + button { display: none; } .htmx-request.htmx-indicator ~ span { display: none; } .htmx-request.query-indicator { display: flex; } .htmx-request.refresh-indicator ~ svg { display: none; } .htmx-request.htmx-indicator { display: flex; } .htmx-request.htmx-indicator ~ span { display: none; } .htmx-request.steps-indicator > .empty-state { display: none; } .htmx-request.steps-indicator > .loading-indicator { display: block; } /* Dark mode overrides */ [data-theme="dark"] { /* Background colors - Dark theme */ --color-bgAlternate: oklch(18% 0.025 263); --color-bgBase: oklch(14% 0.025 263); --color-bgInverse: rgb(255 255 255); --color-bgOverlay: oklch(24% 0.025 263); --color-bgRaised: oklch(20% 0.022 263); --color-bgSunken: rgb(0 0 0); --color-bgBrand: rgb(59 130 246); /* Fill colors - Dark theme */ --color-fillBrand-strong: rgb(59 130 246); --color-fillBrand-weak: rgba(59 130 246 / 0.15); --color-fillDisabled: rgba(255 255 255 / 0.12); --color-fillStrong: rgb(255 255 255); --color-fillError-strong: oklch(77.2% 0.126 21); --color-fillError-weak: rgba(255 156 156 / 0.08); --color-fillHover: rgba(255 255 255 / 0.08); --color-fillInformation-strong: oklch(75.5% 0.098 241); --color-fillInformation-weak: rgba(126 192 229 / 0.08); --color-fillInverseDisabled: rgba(0 17 102 / 0.1); --color-fillInverse-hover: rgba(0 21 128 / 0.04); --color-fillInverse-press: rgba(0 17 102 / 0.1); --color-fillInverse-strong: oklch(14% 0.025 263); --color-fillInverse-weak: rgba(0 21 128 / 0.04); --color-fillOverlay: rgba(0 6 38 / 0.9); --color-fillPress: rgba(255 255 255 / 0.12); --color-fillSelected: rgb(59 130 246); --color-fillSuccess-strong: oklch(75.3% 0.092 162); --color-fillSuccess-weak: rgba(119 199 175 / 0.08); --color-fillWarning-strong: oklch(79.5% 0.106 92); --color-fillWarning-weak: rgba(224 190 112 / 0.08); --color-fillWeak: rgba(255 255 255 / 0.06); --color-fillWeaker: rgba(255 255 255 / 0.03); --color-fillWhite: rgb(255 255 255); --color-fillYellow: oklch(85.8% 0.179 92); /* Icon colors - Dark theme */ --color-iconBrand: rgba(96 165 250 / 0.9); --color-iconDisabled: rgba(255 255 255 / 0.12); --color-iconError: rgba(255 156 156 / 0.8); --color-iconInformation: rgba(126 192 229 / 0.8); --color-iconInverse: rgba(0 13 77 / 0.45); --color-iconInverseDisabled: rgba(0 17 102 / 0.1); --color-iconInverse-strong: rgba(0 6 38 / 0.9); --color-iconNeutral: rgba(255 255 255 / 0.6); --color-iconSuccess: rgba(119 199 175 / 0.8); --color-iconWarning: rgba(224 190 112 / 0.8); /* Stroke colors - Dark theme */ --color-strokeBrand-strong: rgba(96 165 250 / 0.5); --color-strokeBrand-weak: rgba(96 165 250 / 0.15); --color-strokeDisabled: rgba(255 255 255 / 0.12); --color-strokeError-strong: rgba(248 113 113 / 0.5); --color-strokeError-weak: rgba(248 113 113 / 0.15); --color-strokeFocus: rgb(96 165 250); --color-strokeInformation-strong: rgba(147 197 253 / 0.5); --color-strokeInformation-weak: rgba(147 197 253 / 0.15); --color-strokeInverseDisabled: rgba(0 17 102 / 0.1); --color-strokeInverse-strong: rgba(0 13 77 / 0.45); --color-strokeInverse-weak: rgba(0 17 102 / 0.1); --color-strokeSelected: rgb(59 130 246); --color-strokeStrong: rgba(255 255 255 / 0.3); --color-strokeSuccess-strong: rgba(134 239 172 / 0.5); --color-strokeSuccess-weak: rgba(134 239 172 / 0.15); --color-strokeWarning-strong: rgba(251 191 36 / 0.5); --color-strokeWarning-weak: rgba(251 191 36 / 0.15); --color-strokeWeak: rgba(255 255 255 / 0.08); /* Text colors - Dark theme */ --color-textBrand: oklch(75% 0.14 241); --color-textDisabled: rgba(255 255 255 / 0.35); --color-textError: oklch(77.2% 0.126 21); --color-textInformation: oklch(78% 0.095 241); --color-textInverseDisabled: rgba(0 17 102 / 0.1); --color-textInverse-strong: rgba(0 6 38 / 0.9); --color-textInverse-weak: rgba(0 8 51 / 0.65); --color-textStrong: oklch(85% 0.010 263); --color-textSuccess: oklch(78% 0.088 162); --color-textWarning: oklch(79.5% 0.106 92); --color-textWeak: oklch(78% 0.010 263); /* Update fallback colors for dark mode */ --fallback-b2: rgba(255 255 255 / 0.06); --tab-color: oklch(78% 0.010 263); --fallback-pc: oklch(95% 0.010 263); --fallback-bc: rgba(255 255 255 / 0.6); } .btn-primary { @apply bg-fillBrand-strong hover:bg-fillBrand-strong text-white; } [data-theme="dark"] .btn-primary { @apply hover:opacity-90 ring-strokeBrand-weak; } .input, .select, .checkbox, .textarea { @apply shadow-none; --chkbg: var(--brand-color); } } @layer components { :root { font-family: 'Inter', sans-serif; font-feature-settings: 'liga' 1, 'calt' 1; font-size: 16px; } } @layer custom { /* HERE SINCE IT"S BASICALLY AN OVERRIDE. Its for the log items rows */ .expanded-log { @apply border-l-strokeBrand-weak bg-fillBrand-weak; } .expanded-log .status-indicator { @apply bg-fillBrand-weak; } .expanded-log .log-chevron { @apply rotate-90; } .log-item-tree-chevron { @apply cursor-pointer font-bold h-5 w-5 rotate-90 inline-block p-1 rounded-sm border border-strokeWeak mr-1; } .collapsed .log-item-tree-chevron { @apply rotate-0; } .collapsed .waterfall-item-tree-chevron { @apply rotate-90; } .b--b2 { border-color: oklch(var(--b2)); } .b--b2 > :not([hidden]) ~ :not([hidden]) { border-color: oklch(var(--b2)); } /* == THIS SECTION IS FOR CSS CLASSES THAT ARE ADDED DYNAMICALLY, SINCE TREE SHAKING IS NOT ENABLED TO CLASSES DEFINED OUTSIDE THE TAILWIND @layers */ .endpoint { @apply w-20 rounded-lg text-center text-textInverse-strong text-sm p-2 m-2 inline-block; } .endpoint-options { @apply bg-fillStrong; } .endpoint-get { @apply bg-fillSuccess-strong; } .endpoint-head { @apply bg-fillWarning-strong; } .endpoint-post { @apply bg-fillBrand-strong; } .endpoint-put { @apply bg-fillWarning-strong; } .endpoint-delete { @apply bg-fillError-strong; } .endpoint-trace { @apply bg-fillBrand-strong; } .endpoint-patch { @apply bg-fillWarning-strong; } .btn { @apply justify-center items-center leading-none; } /* ======= CODEMIRROR */ .tree-children { display: block; } .tree-children-count { display: none; } .collapsed .tree-children { display: none !important; } .expand-button { display: none; } .collapsed .tree-children-count { display: inline !important; } .collapsed .children { display: inline-block; padding-left: 0; } .collapsed .closing-token { padding-left: 0; } .sdk_tab { @apply h-36 border border-strokeWeak rounded-sm w-full p-4; } .sdk_tab_active { @apply border-strokeBrand-strong border ring-3 ring-strokeBrand-strong shadow-lg; } .t-tab-active { @apply font-bold border-strokeBrand-strong text-textBrand; } .t-tab-box-active { @apply shadow-[0px_4px_8px_-2px_rgba(0,0,0,0.04)] text-textStrong border border-strokeStrong bg-bgOverlay; } .tab:is(input[type='radio']) { width: max-content; } .tree_opened ~ .children_container { display: flex; } .tree_opened .toggler { transform: rotate(180deg); } } /****** Tagify *****/ .modal > tags { @apply border-strokeWeak; } .dash-variable .tagify { margin-top: -0.5rem; --tags-border-color: transparent; --tag-text-color: var(--color-textStrong); } .dash-variable .tagify__tag { min-width: 100%; margin-inline-end: 0.5em; padding-right: 1em; } .tagify__dropdown { max-width: 100% !important; } .dash-variable .tagify__tag-text { text-wrap-mode: nowrap !important; } .grid-stack-handle, .nested-grid-stack-handle { @apply cursor-move; } .tagify--select::after { content: '›' !important; color: var(--color-strokeStrong); } /* .animated-fadeBG { animation: bgColorChange 5s infinite alternate; } @keyframes bgColorChange { 0% { background-color: } 50% { background-color: rgb(250 208 196); } 100% { background-color: rgb(251 194 235); } } */ @keyframes rotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .spotlight-border { position: relative; z-index: 0; overflow: hidden; } .spotlight-border::before { content: ''; position: absolute; z-index: -2; inset: -50%; width: 200%; height: 200%; background-image: conic-gradient( rgb(255 204 0), rgb(51 204 51), rgb(51 153 255), transparent, transparent, transparent, transparent, transparent, transparent, transparent, transparent, transparent, transparent, transparent, transparent, transparent ); animation: rotate 4s linear infinite; } .spotlight-border::after { content: ''; position: absolute; z-index: -1; inset: 1px; background: var(--color-bgRaised); border-radius: inherit; } .gradient-border { border-image: linear-gradient(45deg, rgb(255 204 0), rgb(51 204 51), rgb(51 153 255)) 1; } /* .blue-gradient-box::before, .blue-gradient-box::after { */ /* content: ""; */ /* position: absolute; */ /* height: inherit; */ /* width: inherit; */ /* background: conic-gradient( */ /* from 0deg at center, */ /* #00c3ff, */ /* #4d0199, */ /* #6300c6, */ /* #00c3ff */ /* ); */ /* border-radius: inherit; */ /* z-index:-1; */ /* padding:2px; */ /* } */ /**/ /* .blue-gradient-box::after { */ /* z-index: 1; */ /* filter: blur(10px); */ /* } */ /**/ /* @property --deg { */ /**/ /* } */ /* Monaco Editor optimizations - prevent re-rendering styles on every keystroke */ .monaco-editor .suggest-widget { display: none !important; visibility: hidden !important; } .monaco-editor { border-radius: 0; outline: none !important; border: none !important; } .monaco-editor .overflow-guard { border: none !important; outline: none !important; } #editor-container { max-width: 100%; overflow: hidden; }