Last active
October 2, 2024 02:46
-
-
Save noaione/22706b9a6d0477905981f7cf82eccd7d to your computer and use it in GitHub Desktop.
Rosé Pine Moon VSCode themes with a better Rust integrations | This also mix some color from other Rosé Pine theme
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Put this in your settings.json (Ctrl+Shift+P -> Preferences: Open User Settings (JSON)) | |
"editor.tokenColorCustomizations": { | |
"[Rosé Pine Moon]": { | |
"textMateRules": [ | |
{ | |
"name": "Rust namespace", | |
"scope": [ | |
"entity.name.namespace.rust", | |
"entity.name.namespace", | |
], | |
"settings": { | |
"foreground": "#ebbcba" | |
} | |
}, | |
{ | |
"name": "Rust visibility", | |
"scope": [ | |
"meta.function.definition.rust", | |
"keyword.other.crate.rust", | |
], | |
"settings": { | |
"fontStyle": "italic bold" | |
} | |
}, | |
{ | |
"scope": [ | |
"entity.name.type.rust" | |
], | |
"settings": { | |
"fontStyle": "bold" | |
} | |
}, | |
{ | |
"scope": [ | |
"entity.name.type.struct.rust", | |
"entity.name.type.enum.rust", | |
"entity.name.type.rust", | |
"entity.name.type.trait.rust", | |
// "meta.attribute.rust" | |
], | |
"settings": { | |
"foreground": "#eb6f92", | |
"fontStyle": "bold" | |
} | |
}, | |
{ | |
"scope": [ | |
"variable.other.enummember", | |
], | |
"settings": { | |
"foreground": "#c4a7e7", | |
} | |
}, | |
{ | |
"scope": [ | |
"keyword.operator", | |
], | |
"settings": { | |
"foreground": "#d7827e", | |
"fontStyle": "bold" | |
} | |
}, | |
{ | |
"scope": [ | |
"entity.name.function.preprocessor" | |
], | |
"settings": { | |
"foreground": "#ebbcba", | |
"fontStyle": "bold" | |
} | |
}, | |
] | |
} | |
}, | |
"workbench.colorCustomizations": { | |
"[Rosé Pine Moon]": { | |
"editorInlayHint.typeForeground": "#9893a5", | |
"editorCursor.foreground": "#e0def4", | |
"debugIcon.breakpointForeground": "#eb6f92", | |
"debugIcon.breakpointDisabledForeground": "#b4637a", | |
"editorInlayHint.parameterForeground": "#9893a5", | |
"symbolIcon.moduleForeground": "#ebbcba", | |
"symbolIcon.methodForeground": "#d7827e", | |
"symbolIcon.functionForeground": "#d7827e", | |
"symbolIcon.keywordForeground": "#3e8fb0", | |
"symbolIcon.enumeratorForeground": "#eb6f92", | |
"symbolIcon.enumeratorMemberForeground": "#c4a7e7", | |
"symbolIcon.structForeground": "#eb6f92", | |
"symbolIcon.fieldForeground": "#e0def4", | |
"symbolIcon.constantForeground": "#e0def4", | |
"symbolIcon.interfaceForeground": "#9ccfd8", | |
}, | |
}, | |
"editor.semanticTokenColorCustomizations": { | |
"[Rosé Pine Moon]": { | |
"enabled": true, | |
"rules": { | |
"variable.mutable": { | |
"underline": false, | |
"foreground": "#dfdad9", | |
"bold": true | |
}, | |
"parameter.mutable": { | |
"underline": true, | |
"foreground": "#907aa9", | |
"bold": true | |
}, | |
"selfKeyword.mutable": { | |
"underline": true, | |
"foreground": "#56949f", | |
"bold": true | |
}, | |
} | |
} | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment