File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ import { generateCliOptionsIntegration } from "./src/fetchReadme";
44import smartypants from "remark-smartypants" ;
55import { pluginCodeMarkerAnchors } from "./src/CodeMarkerAnchorPlugin.mjs" ;
66
7+ // https://github.com/withastro/starlight/blob/main/packages/starlight/integrations/expressive-code/theming.ts
8+ const isDark = false ;
9+ const neutralMinimal = isDark ? '#ffffff17' : '#0000001a' ;
10+ const neutralDimmed = isDark ? '#ffffff40' : '#00000055' ;
11+
712// https://astro.build/config
813export default defineConfig ( {
914 site : "https://lychee.cli.rs" ,
@@ -20,6 +25,12 @@ export default defineConfig({
2025 expressiveCode : {
2126 plugins : [ pluginCodeMarkerAnchors ( ) ] ,
2227 themes : [ "catppuccin-frappe" , "catppuccin-latte" ] ,
28+ styleOverrides : {
29+ textMarkers : {
30+ markBackground : neutralMinimal ,
31+ markBorderColor : neutralDimmed ,
32+ }
33+ }
2334 } ,
2435 title : "Docs" ,
2536 description :
You can’t perform that action at this time.
0 commit comments