| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168 |
- @import "tailwindcss";
- :root {
- interpolate-size: allow-keywords;
- }
- @layer components {
- [data-popper-positioner] {
- pointer-events: none;
- }
- body {
- line-height: 1;
- }
- ::selection {
- background-color: color-mix(in srgb, var(--color-primary) 33%, transparent);
- /* background-color: var(--color-primary); */
- /* color: var(--color-background); */
- }
- ::-webkit-scrollbar-track {
- background: var(--theme-background-panel);
- }
- ::-webkit-scrollbar-thumb {
- background-color: var(--theme-border-subtle);
- border-radius: 6px;
- }
- * {
- scrollbar-color: var(--theme-border-subtle) var(--theme-background-panel);
- }
- .prose h1 {
- color: var(--color-text);
- font-size: var(--text-sm);
- line-height: var(--text-sm--line-height);
- margin-bottom: calc(var(--spacing) * 3);
- }
- .prose h2 {
- color: var(--color-text);
- font-size: var(--text-sm);
- line-height: var(--text-sm--line-height);
- margin-bottom: calc(var(--spacing) * 3);
- }
- .prose h3 {
- color: var(--color-text);
- font-size: var(--text-xs);
- line-height: var(--text-xs--line-height);
- margin-bottom: calc(var(--spacing) * 2);
- }
- .prose h4 {
- color: var(--color-text);
- font-size: var(--text-xs);
- line-height: var(--text-xs--line-height);
- margin-bottom: calc(var(--spacing) * 2);
- }
- .prose h5 {
- color: var(--color-text);
- font-size: var(--text-xs);
- line-height: var(--text-xs--line-height);
- margin-bottom: calc(var(--spacing) * 2);
- }
- .prose h6 {
- color: var(--color-text);
- font-size: var(--text-xs);
- line-height: var(--text-xs--line-height);
- margin-bottom: calc(var(--spacing) * 2);
- }
- .prose p {
- font-size: var(--text-xs);
- line-height: var(--text-xs--line-height);
- margin-bottom: calc(var(--spacing) * 2);
- }
- .prose strong {
- color: var(--color-text);
- }
- .prose ul,
- ol {
- list-style-type: disc;
- list-style-position: inside;
- margin-bottom: calc(var(--spacing) * 2);
- }
- .prose pre {
- background-color: var(--color-background-panel);
- padding: calc(var(--spacing) * 2);
- border-radius: var(--radius-md);
- border: 1px solid var(--color-border-subtle);
- overflow-x: auto;
- white-space: pre;
- margin-bottom: calc(var(--spacing) * 2);
- @apply no-scrollbar;
- }
- .prose code {
- font-family: var(--font-mono);
- font-size: var(--text-xs);
- line-height: var(--text-xs--line-height);
- }
- .prose blockquote {
- margin-bottom: calc(var(--spacing) * 2);
- }
- }
- @utility no-scrollbar {
- &::-webkit-scrollbar {
- display: none;
- }
- /* Hide scrollbar for IE, Edge and Firefox */
- & {
- -ms-overflow-style: none; /* IE and Edge */
- scrollbar-width: none; /* Firefox */
- }
- }
- @theme {
- --color-*: initial;
- --color-primary: var(--theme-primary);
- --color-secondary: var(--theme-secondary);
- --color-accent: var(--theme-accent);
- --color-error: var(--theme-error);
- --color-warning: var(--theme-warning);
- --color-success: var(--theme-success);
- --color-info: var(--theme-info);
- --color-text: var(--theme-text);
- --color-text-muted: var(--theme-text-muted);
- --color-background: var(--theme-background);
- --color-background-panel: var(--theme-background-panel);
- --color-background-element: var(--theme-background-element);
- --color-border: var(--theme-border);
- --color-border-active: var(--theme-border-active);
- --color-border-subtle: var(--theme-border-subtle);
- --color-diff-added: var(--theme-diff-added);
- --color-diff-removed: var(--theme-diff-removed);
- --color-diff-context: var(--theme-diff-context);
- --color-diff-hunk-header: var(--theme-diff-hunk-header);
- --color-diff-highlight-added: var(--theme-diff-highlight-added);
- --color-diff-highlight-removed: var(--theme-diff-highlight-removed);
- --color-diff-added-bg: var(--theme-diff-added-bg);
- --color-diff-removed-bg: var(--theme-diff-removed-bg);
- --color-diff-context-bg: var(--theme-diff-context-bg);
- --color-diff-line-number: var(--theme-diff-line-number);
- --color-diff-added-line-number-bg: var(--theme-diff-added-line-number-bg);
- --color-diff-removed-line-number-bg: var(--theme-diff-removed-line-number-bg);
- --color-markdown-text: var(--theme-markdown-text);
- --color-markdown-heading: var(--theme-markdown-heading);
- --color-markdown-link: var(--theme-markdown-link);
- --color-markdown-link-text: var(--theme-markdown-link-text);
- --color-markdown-code: var(--theme-markdown-code);
- --color-markdown-block-quote: var(--theme-markdown-block-quote);
- --color-markdown-emph: var(--theme-markdown-emph);
- --color-markdown-strong: var(--theme-markdown-strong);
- --color-markdown-horizontal-rule: var(--theme-markdown-horizontal-rule);
- --color-markdown-list-item: var(--theme-markdown-list-item);
- --color-markdown-list-enumeration: var(--theme-markdown-list-enumeration);
- --color-markdown-image: var(--theme-markdown-image);
- --color-markdown-image-text: var(--theme-markdown-image-text);
- --color-markdown-code-block: var(--theme-markdown-code-block);
- --color-syntax-comment: var(--theme-syntax-comment);
- --color-syntax-keyword: var(--theme-syntax-keyword);
- --color-syntax-function: var(--theme-syntax-function);
- --color-syntax-variable: var(--theme-syntax-variable);
- --color-syntax-string: var(--theme-syntax-string);
- --color-syntax-number: var(--theme-syntax-number);
- --color-syntax-type: var(--theme-syntax-type);
- --color-syntax-operator: var(--theme-syntax-operator);
- --color-syntax-punctuation: var(--theme-syntax-punctuation);
- }
|