mirror of
https://github.com/cline/cline.git
synced 2026-09-24 23:20:16 +08:00
* refactor: rename VS Code LM API provider to GitHub Copilot - Change dropdown label from "VS Code LM API" to "GitHub Copilot" - Simplify description to focus on Copilot as the primary use case - Remove experimental warning since the integration is stable - Add link to Copilot extension in VS Marketplace * fix: add font-size inherit to global anchor styles Ensures links inherit font size from their parent element instead of using a potentially different default size.
72 lines
1.5 KiB
CSS
72 lines
1.5 KiB
CSS
/* Import external CSS files */
|
|
@import url("../../node_modules/@vscode/codicons/dist/codicon.css");
|
|
@import url("../node_modules/@fontsource/azeret-mono/index.css");
|
|
|
|
/* Tailwind CSS */
|
|
@import "tailwindcss";
|
|
@import "./theme.css";
|
|
@plugin "tailwindcss-animate";
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
/**
|
|
* The default styles for each defined element.
|
|
* This ensures all the elements are rendered with the expected styles consistently without affecting by the parent element / host.
|
|
*/
|
|
@layer base {
|
|
* {
|
|
@apply border-border outline-ring/50 text-base;
|
|
}
|
|
body {
|
|
@apply bg-background text-foreground;
|
|
}
|
|
p {
|
|
@apply my-0 py-0 text-inherit leading-5 block line-clamp-3;
|
|
margin-block-start: 1em;
|
|
margin-block-end: 1em;
|
|
margin-inline-start: 0px;
|
|
margin-inline-end: 0px;
|
|
unicode-bidi: isolate;
|
|
}
|
|
span {
|
|
@apply leading-5;
|
|
font-size: inherit;
|
|
color: inherit;
|
|
}
|
|
pre {
|
|
@apply bg-code;
|
|
}
|
|
code {
|
|
@apply bg-code;
|
|
}
|
|
h1 {
|
|
font-size: var(--text-lg);
|
|
font-weight: var(--font-weight-semibold);
|
|
}
|
|
h2 {
|
|
font-size: var(--text-md);
|
|
font-weight: var(--font-weight-semibold);
|
|
}
|
|
h3 {
|
|
font-size: var(--text-sm);
|
|
font-weight: var(--font-weight-semibold);
|
|
}
|
|
h4 {
|
|
font-size: var(--text-base);
|
|
font-weight: var(--font-weight-bold);
|
|
}
|
|
a {
|
|
@apply text-link hover:text-link-hover;
|
|
font-size: inherit;
|
|
}
|
|
ol {
|
|
@apply list-decimal pl-3;
|
|
}
|
|
ul {
|
|
@apply list-disc pl-3;
|
|
}
|
|
[role="radio"],
|
|
[role="checkbox"] {
|
|
margin: calc(var(--design-unit) * 1px) 0;
|
|
}
|
|
}
|