Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

1.5 KB
Raw Blame
/* Code block theme colors for use with Supabase Theme */
[data-theme='dark'],
.dark {
  --code-token-keyword: #bda4ff;
  --code-foreground: #ffffff;
  --code-token-constant: #3ecf8e;
  --code-token-string: #ffcda1;
  --code-token-comment: #949494;
  --code-token-parameter: #ffffff;
  --code-token-function: #3ecf8e;
  --code-token-string-expression: #ffcda1;
  --code-token-punctuation: #ffffff;
  --code-token-link: #ffffff;
  --code-token-number: #ffffff;
  --code-token-property: #3ecf8e;
  --code-token-variable: var(--code-foreground);
  --code-highlight-color: #232323;
  --shadow-codeblock:
    0 0 0 0 var(--border-default), 0 1px 2px 0 rgba(0, 0, 0, 0.3), 0 1px 3px 0 rgba(0, 0, 0, 0.3);
  --drop-shadow-codeblock: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.5));
}
[data-theme='light'],
.light {
  --shadow-codeblock: 0 0 #0000;
  --code-token-keyword: #5f2fc4;
  --code-foreground: oklch(from var(--foreground-light) l c h / 1);
  --code-token-constant: #15593b;
  --code-token-string: #9a5200;
  --code-token-comment: #6a6a6a;
  --code-token-parameter: oklch(from var(--foreground-light) l c h / 1);
  --code-token-function: #15593b;
  --code-token-string-expression: #9a5200;
  --code-token-punctuation: oklch(from var(--foreground-light) l c h / 1);
  --code-token-link: oklch(from var(--foreground-light) l c h / 1);
  --code-token-number: oklch(from var(--foreground-light) l c h / 1);
  --code-token-property: #15593b;
  --code-token-variable: var(--code-foreground);
  --code-highlight-color: #1c1c1c;
}