Skip to content

Automate browser based workflows with AI

3.5 KB
Raw Blame
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 0 0% 7%;

    --card: 0 0% 100%;
    --card-foreground: 0 0% 7%;

    --popover: 0 0% 100%;
    --popover-foreground: 0 0% 7%;

    --primary: 0 0% 7%;
    --primary-foreground: 0 0% 98%;
    --cta: 0 0% 7%;
    --cta-hover: 0 0% 14%;
    --cta-foreground: 0 0% 98%;

    --secondary: 0 0% 96%;
    --secondary-foreground: 0 0% 7%;

    --tertiary: 0 0% 46%;
    --tertiary-foreground: 0 0% 12%;

    --muted: 0 0% 96%;
    --muted-foreground: 0 0% 42%;

    --accent: 0 0% 94%;
    --accent-foreground: 0 0% 7%;

    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;
    --error-bg-light: rgba(220, 38, 38, 0.1);

    --warning: 32.1 94.6% 43.7%; /* amber-600 */
    --warning-foreground: 36 100% 97.1%; /* amber-50 */

    --success: 142.1 76.2% 36.3%; /* green-600 */
    --success-foreground: 138.5 76.5% 96.7%; /* green-50 */

    /* status badge chips: light tint / deep fill; text always uses --foreground (dark in light, light in dark) */
    --badge-success: 141 78.9% 85.1%;
    --badge-warning: 48 96.6% 76.7%;
    --badge-destructive: 352.7 96.1% 90%;
    --badge-terminated: 32.1 97.7% 83.1%;
    --badge-neutral: 214.3 31.8% 91.4%;

    --border: 0 0% 88%;
    --input: 0 0% 88%;
    --ring: 0 0% 9%;

    --radius: 0.5rem;

    --slate-elevation-1: 0 0% 98%;
    --slate-elevation-2: 0 0% 96%;
    --slate-elevation-3: 0 0% 93%;
    --slate-elevation-4: 0 0% 90%;
    --slate-elevation-5: 0 0% 86%;
  }

  .dark {
    --background: 222.2 84% 4.9%;
    --foreground: 210 40% 98%;

    --card: 222.2 84% 4.9%;
    --card-foreground: 210 40% 98%;

    --popover: 222.2 84% 4.9%;
    --popover-foreground: 210 40% 98%;

    --primary: 210 40% 98%;
    --primary-foreground: 222.2 47.4% 11.2%;
    --cta: 210 40% 98%;
    --cta-hover: 210 40% 92%;
    --cta-foreground: 222.2 47.4% 11.2%;

    --secondary: 217.2 32.6% 17.5%;
    --secondary-foreground: 210 40% 98%;

    --tertiary: 227.6 11.6% 48.8%;
    --tertiary-foreground: 213 27% 84%;

    --muted: 217.2 32.6% 17.5%;
    --muted-foreground: 215 20.2% 65.1%;

    --accent: 217.2 32.6% 17.5%;
    --accent-foreground: 210 40% 98%;

    --destructive: 0 72.2% 50.6%; /* red-600 */
    --destructive-foreground: 0 85.7% 97.3%; /* red-50 */
    --error-bg-light: rgba(220, 38, 38, 0.1);

    --warning: 40.6 96.1% 40.4%; /* yellow-600 */
    --warning-foreground: 54.5 91.7% 95.3%; /* yellow-50 */

    --success: 142.1 76.2% 36.3%; /* green-600 */
    --success-foreground: 138.5 76.5% 96.7%; /* green-50 */

    --badge-success: 143.8 61.2% 20.2%;
    --badge-warning: 42 85% 30%;
    --badge-destructive: 0 62.8% 30.6%;
    --badge-terminated: 15 79.1% 33.7%;
    --badge-neutral: 215.3 25% 26.7%;

    --border: 215.3 25% 26.7%;
    --input: 215.3 25% 26.7%;
    --ring: 212.7 26.8% 83.9%;

    --slate-elevation-1: 228 45% 10%;
    --slate-elevation-2: 228 37% 12%;
    --slate-elevation-3: 227 30% 14%;
    --slate-elevation-4: 231 26% 18%;
    --slate-elevation-5: 230 22% 22%;
  }
}

@layer base {
  * {
    @apply border-border;
  }

  body {
    @apply bg-background text-foreground;
  }
}

body,
#root {
  min-height: 100vh;
}

/* CodeMirror override styles */

.cm-editor {
  @apply rounded-md;
}

.cm-gutters {
  @apply rounded-md;
}

.cm-search.cm-panel {
  @apply text-sm;
}

.no-select-global * {
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
}