Skip to content

Commit

Permalink
add catppuccin themes for monaco and prism
Browse files Browse the repository at this point in the history
  • Loading branch information
hatemhosny committed Dec 16, 2024
1 parent 5bc4aa5 commit f59a2a1
Show file tree
Hide file tree
Showing 22 changed files with 1,549 additions and 9 deletions.
52 changes: 52 additions & 0 deletions dist/catppuccin/monaco/frappe.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"base": "vs-dark",
"inherit": true,
"rules": [
{ "token": "", "foreground": "#c6d0f5" },
{ "token": "keyword", "foreground": "#ca9ee6" },
{ "token": "string", "foreground": "#a6d189" },
{ "token": "number", "foreground": "#ef9f76" },
{ "token": "comment", "foreground": "#737994" },
{ "token": "type", "foreground": "#8caaee" },
{ "token": "function", "foreground": "#99d1db" },
{ "token": "variable", "foreground": "#c6d0f5" },
{ "token": "constant", "foreground": "#ef9f76" },
{ "token": "parameter", "foreground": "#f4b8e4" },
{ "token": "class", "foreground": "#e5c890" },
{ "token": "operator", "foreground": "#99d1db" }
],
"colors": {
"editor.background": "#303446",
"editor.foreground": "#c6d0f5",
"editor.lineHighlightBackground": "#414559",
"editor.selectionBackground": "#51576d",
"editor.inactiveSelectionBackground": "#414559",

"editorWidget.background": "#292c3c",
"editorWidget.border": "#414559",

"sideBar.background": "#292c3c",
"sideBar.foreground": "#c6d0f5",

"editorBracketHighlight.foreground1": "#f2d5cf",
"editorBracketHighlight.foreground2": "#babbf1",
"editorBracketHighlight.foreground3": "#ca9ee6",
"editorBracketHighlight.foreground4": "#e5c890",
"editorBracketHighlight.foreground5": "#f4b8e4",
"editorBracketHighlight.foreground6": "#81c8be",
"editorBracketHighlight.unexpectedBracket.foreground": "#e78284",

"editorGutter.background": "#303446",
"editorGutter.modifiedBackground": "#8caaee",
"editorGutter.addedBackground": "#a6d189",
"editorGutter.deletedBackground": "#e78284",

"editorLineNumber.foreground": "#737994",
"editorLineNumber.activeForeground": "#c6d0f5",

"editorCursor.foreground": "#f2d5cf",

"diffEditor.insertedTextBackground": "#a6d18933",
"diffEditor.removedTextBackground": "#e7828433"
}
}
52 changes: 52 additions & 0 deletions dist/catppuccin/monaco/latte.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"base": "vs",
"inherit": true,
"rules": [
{ "token": "", "foreground": "#4c4f69" },
{ "token": "keyword", "foreground": "#8839ef" },
{ "token": "string", "foreground": "#40a02b" },
{ "token": "number", "foreground": "#fe640b" },
{ "token": "comment", "foreground": "#9ca0b0" },
{ "token": "type", "foreground": "#1e66f5" },
{ "token": "function", "foreground": "#04a5e5" },
{ "token": "variable", "foreground": "#4c4f69" },
{ "token": "constant", "foreground": "#fe640b" },
{ "token": "parameter", "foreground": "#ea76cb" },
{ "token": "class", "foreground": "#df8e1d" },
{ "token": "operator", "foreground": "#04a5e5" }
],
"colors": {
"editor.background": "#eff1f5",
"editor.foreground": "#4c4f69",
"editor.lineHighlightBackground": "#ccd0da",
"editor.selectionBackground": "#acb0be",
"editor.inactiveSelectionBackground": "#ccd0da",

"editorWidget.background": "#dce0e8",
"editorWidget.border": "#ccd0da",

"sideBar.background": "#dce0e8",
"sideBar.foreground": "#4c4f69",

"editorBracketHighlight.foreground1": "#dc8a78",
"editorBracketHighlight.foreground2": "#7287fd",
"editorBracketHighlight.foreground3": "#8839ef",
"editorBracketHighlight.foreground4": "#df8e1d",
"editorBracketHighlight.foreground5": "#ea76cb",
"editorBracketHighlight.foreground6": "#179299",
"editorBracketHighlight.unexpectedBracket.foreground": "#d20f39",

"editorGutter.background": "#eff1f5",
"editorGutter.modifiedBackground": "#1e66f5",
"editorGutter.addedBackground": "#40a02b",
"editorGutter.deletedBackground": "#d20f39",

"editorLineNumber.foreground": "#9ca0b0",
"editorLineNumber.activeForeground": "#4c4f69",

"editorCursor.foreground": "#dc8a78",

"diffEditor.insertedTextBackground": "#40a02b33",
"diffEditor.removedTextBackground": "#d20f3933"
}
}
52 changes: 52 additions & 0 deletions dist/catppuccin/monaco/macchiato.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"base": "vs-dark",
"inherit": true,
"rules": [
{ "token": "", "foreground": "#cad3f5" },
{ "token": "keyword", "foreground": "#c6a0f6" },
{ "token": "string", "foreground": "#a6da95" },
{ "token": "number", "foreground": "#f5a97f" },
{ "token": "comment", "foreground": "#6e738d" },
{ "token": "type", "foreground": "#8aadf4" },
{ "token": "function", "foreground": "#91d7e3" },
{ "token": "variable", "foreground": "#cad3f5" },
{ "token": "constant", "foreground": "#f5a97f" },
{ "token": "parameter", "foreground": "#f5bde6" },
{ "token": "class", "foreground": "#eed49f" },
{ "token": "operator", "foreground": "#91d7e3" }
],
"colors": {
"editor.background": "#24273a",
"editor.foreground": "#cad3f5",
"editor.lineHighlightBackground": "#363a4f",
"editor.selectionBackground": "#494d64",
"editor.inactiveSelectionBackground": "#363a4f",

"editorWidget.background": "#181926",
"editorWidget.border": "#363a4f",

"sideBar.background": "#181926",
"sideBar.foreground": "#cad3f5",

"editorBracketHighlight.foreground1": "#f4dbd6",
"editorBracketHighlight.foreground2": "#b7bdf8",
"editorBracketHighlight.foreground3": "#c6a0f6",
"editorBracketHighlight.foreground4": "#eed49f",
"editorBracketHighlight.foreground5": "#f5bde6",
"editorBracketHighlight.foreground6": "#8bd5ca",
"editorBracketHighlight.unexpectedBracket.foreground": "#ed8796",

"editorGutter.background": "#24273a",
"editorGutter.modifiedBackground": "#8aadf4",
"editorGutter.addedBackground": "#a6da95",
"editorGutter.deletedBackground": "#ed8796",

"editorLineNumber.foreground": "#6e738d",
"editorLineNumber.activeForeground": "#cad3f5",

"editorCursor.foreground": "#f4dbd6",

"diffEditor.insertedTextBackground": "#a6da9533",
"diffEditor.removedTextBackground": "#ed879633"
}
}
52 changes: 52 additions & 0 deletions dist/catppuccin/monaco/mocha.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"base": "vs-dark",
"inherit": true,
"rules": [
{ "token": "", "foreground": "#cdd6f4" },
{ "token": "keyword", "foreground": "#cba6f7" },
{ "token": "string", "foreground": "#a6e3a1" },
{ "token": "number", "foreground": "#fab387" },
{ "token": "comment", "foreground": "#6c7086" },
{ "token": "type", "foreground": "#89b4fa" },
{ "token": "function", "foreground": "#89dceb" },
{ "token": "variable", "foreground": "#cdd6f4" },
{ "token": "constant", "foreground": "#fab387" },
{ "token": "parameter", "foreground": "#f5c2e7" },
{ "token": "class", "foreground": "#f9e2af" },
{ "token": "operator", "foreground": "#89dceb" }
],
"colors": {
"editor.background": "#1e1e2e",
"editor.foreground": "#cdd6f4",
"editor.lineHighlightBackground": "#313244",
"editor.selectionBackground": "#45475a",
"editor.inactiveSelectionBackground": "#313244",

"editorWidget.background": "#181825",
"editorWidget.border": "#313244",

"sideBar.background": "#181825",
"sideBar.foreground": "#cdd6f4",

"editorBracketHighlight.foreground1": "#f5e0dc",
"editorBracketHighlight.foreground2": "#b4befe",
"editorBracketHighlight.foreground3": "#cba6f7",
"editorBracketHighlight.foreground4": "#f9e2af",
"editorBracketHighlight.foreground5": "#f5c2e7",
"editorBracketHighlight.foreground6": "#94e2d5",
"editorBracketHighlight.unexpectedBracket.foreground": "#f38ba8",

"editorGutter.background": "#1e1e2e",
"editorGutter.modifiedBackground": "#89b4fa",
"editorGutter.addedBackground": "#a6e3a1",
"editorGutter.deletedBackground": "#f38ba8",

"editorLineNumber.foreground": "#6c7086",
"editorLineNumber.activeForeground": "#cdd6f4",

"editorCursor.foreground": "#f5e0dc",

"diffEditor.insertedTextBackground": "#a6e3a133",
"diffEditor.removedTextBackground": "#f38ba833"
}
}
135 changes: 135 additions & 0 deletions dist/catppuccin/prism/frappe.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
code[class*="language-"],
pre[class*="language-"] {
color: #c6d0f5;
}

:not(pre) > code[class*="language-"],
pre[class*="language-"] {
background: #292c3c;
}

/* https://prismjs.com/tokens.html */

.token.keyword {
color: #ca9ee6;
}

.token.builtin {
color: #e78284;
}

.token.class-name {
color: #e5c890;
}

.token.function {
color: #8caaee;
}

.token.boolean,
.token.number {
color: #ef9f76;
}

.token.string,
.token.char {
color: #a6d189;
}

.token.symbol {
color: #e5c890;
}

.token.regex {
color: #f4b8e4;
}

.token.url {
color: #a6d189;
}

.token.operator {
color: #99d1db;
}

.token.variable {
color: #c6d0f5;
}

.token.constant {
color: #ef9f76;
}

.token.property {
color: #8caaee;
}

.token.punctuation {
color: #949cbb;
}

.token.important {
color: #ca9ee6;
}

.token.comment {
color: #949cbb;
}

.token.tag {
color: #8caaee;
}

.token.attr-name {
color: #e5c890;
}

.token.attr-value {
color: #a6d189;
}

.token.namespace {
color: #e5c890;
}

.token.prolog,
.token.doctype {
color: #ca9ee6;
}

.token.cdata {
color: #81c8be;
}

.token.entity {
color: #e78284;
}

.token.atrule {
color: #ca9ee6;
}

.token.selector {
color: #8caaee;
}

/* Diff */

.token.deleted {
color: #e78284;
}

.token.inserted {
color: #a6d189
}

/* Other */

.token.important,
.token.bold {
font-weight: bold;
}
.token.italic {
font-style: italic;
}

Loading

0 comments on commit f59a2a1

Please # to comment.