diff --git a/bundles/howl-themes/catppuccin/catppuccin_frappe.moon b/bundles/howl-themes/catppuccin/catppuccin_frappe.moon new file mode 100644 index 000000000..30747a089 --- /dev/null +++ b/bundles/howl-themes/catppuccin/catppuccin_frappe.moon @@ -0,0 +1,419 @@ +{:delegate_to} = howl.util.table + +rosewater = '#f2d5cf' +flamingo = '#eebebe' +pink = '#f4b8e4' +mauve = '#ca9ee6' +red = '#e78284' +peach = '#ef9f76' +yellow = '#e5c890' +green = '#a6d189' +teal = '#81c8be' +sky = '#99d1db' +sapphire = '#85c1dc' +blue = '#8caaee' +lavender = '#babbf1' +text = '#c6d0f5' +subtext1 = '#b5bfe2' +subtext0 = '#a5adce' +overlay2 = '#949cbb' +overlay1 = '#838ba7' +overlay0 = '#737994' +surface2 = '#626880' +surface1 = '#51576d' +surface0 = '#414559' +base = '#303446' +mantle = '#292c3c' +crust = '#232634' + +black = '#232634' + +-- General styling for context boxes (editor, command_line) +content_box = { + background: + color: base + + border: + width: 1 + color: overlay0 + + border_right: + width: 3 + color: overlay0 + + border_bottom: + width: 3 + color: overlay0 + + header: + background: + color: mantle + border_bottom: + color: overlay0 + color: text + font: + bold: true + padding: 1 + + footer: + background: + color: mantle + border_top: + color: overlay0 + color: text + font: + bold: true + padding: 1 +} + +return { + window: + background: + color: crust + + status: + font: + bold: true + italic: true + color: subtext0 + + info: + color: teal + + warning: + color: peach + + error: + color: red + + :content_box + + popup: + background: + color: surface0 + alpha: 0.9 + + editor: delegate_to content_box, { + scrollbars: + slider: + color: overlay2 + + indicators: + default: + color: subtext0 + + title: + font: + bold: true + + vi: + font: + bold: true + + caret: + color: rosewater + width: 2 + + current_line: + background: overlay2 + + gutter: + color: subtext1 + background: + color: mantle + alpha: 0.6 + } + + flairs: + indentation_guide: + type: flair.PIPE + foreground: overlay2 + :background + line_width: 1 + + indentation_guide_1: + type: flair.PIPE + foreground: surface1 + line_width: 1 + + indentation_guide_2: + type: flair.PIPE + foreground: surface1 + line_width: 1 + + indentation_guide_3: + type: flair.PIPE + foreground: surface1 + line_width: 1 + + edge_line: + type: flair.PIPE + foreground: overlay0 + line_width: 0.5 + + search: + type: highlight.ROUNDED_RECTANGLE + foreground: red + foreground_alpha: 1 + background: red + background_alpha: 0.3 + text_color: red + height: 'text' + + search_secondary: + type: flair.ROUNDED_RECTANGLE + background: teal + background_alpha: 0.3 + text_color: teal + height: 'text' + + replace_strikeout: + type: flair.ROUNDED_RECTANGLE + foreground: red + foreground_alpha: 1 + background: red + background_alpha: 0.3 + text_color: red + height: 'text' + + brace_highlight: + type: flair.RECTANGLE + background: overlay2 + background_alpha: 0.3 + text_color: red + height: 'text' + + brace_highlight_secondary: + type: flair.RECTANGLE + background: overlay2 + background_alpha: 0.3 + text_color: teal + line_width: 1 + height: 'text' + + list_selection: + type: flair.RECTANGLE + background: overlay2 + background_alpha: 0.3 + + list_highlight: + type: highlight.UNDERLINE + foreground: peach + foreground_alpha: 0.3 + text_color: peach + line_width: 2 + + cursor: + type: flair.RECTANGLE + background: rosewater + width: 2 + height: 'text' + + block_cursor: + type: flair.ROUNDED_RECTANGLE + background: rosewater + text_color: black + height: 'text' + min_width: 'letter' + + selection: + type: highlight.ROUNDED_RECTANGLE + background: overlay2 + background_alpha: 0.3 + min_width: 'letter' + + styles: + default: + color: text + + red: + color: red + + green: + color: green + + yellow: + color: yellow + + blue: + color: blue + + magenta: + color: pink + + cyan: + color: teal + + popup: + background: surface0 + color: text + + comment: + font: + italic: true + color: overlay2 + + variable: + color: blue + + label: + color: subtext0 + font: + italic: true + + key: + color: blue + font: + bold: true + + fdecl: + color: yellow + font: + bold: true + + keyword: + color: mauve + font: + bold: true + + class: + color: yellow + font: + bold: true + + type_def: + color: yellow + font: + bold: true + + definition: + color: yellow + + function: + color: blue + font: + bold: true + + type: + color: yellow + font: + italic: true + + char: + color: green + + number: + color: peach + + operator: + color: sky + + preproc: + color: rosewater + + special: + color: red + + tag: + color: maroon + + member: + color: blue + + info: + color: teal + + constant: + color: peach + + string: + color: green + + regex: + color: pink + + embedded: + color: red + + -- Markup and visual styles + + error: + font: + italic: true + color: red + + warning: + font: + italic: true + color: peach + + info: + font: + italic: true + color: teal + + h1: + font: + bold: true + color: red + + h2: + font: + bold: true + color: peach + + h3: + font: + italic: true + color: yellow + + h4: + font: + italic: true + color: green + + h5: + font: + italic: true + color: sapphire + + h6: + font: + italic: true + color: lavender + + emphasis: + font: + bold: true + italic: true + + strong: + font: + italic: true + + link_label: + color: green + + link_url: + color: blue + + table: + color: text + background: mantle + underline: true + + addition: + color: green + background: green + background_alpha: 0.2 + + deletion: + color: red + background: red + background_alpha: 0.2 + + change: + color: blue + background: blue + background_alpha: 0.2 + } diff --git a/bundles/howl-themes/catppuccin/catppuccin_latte.moon b/bundles/howl-themes/catppuccin/catppuccin_latte.moon new file mode 100644 index 000000000..71adb46a5 --- /dev/null +++ b/bundles/howl-themes/catppuccin/catppuccin_latte.moon @@ -0,0 +1,419 @@ +{:delegate_to} = howl.util.table + +rosewater = '#dc8a78' +flamingo = '#dd7878' +pink = '#ea76cb' +mauve = '#8839ef' +red = '#d20f39' +peach = '#fe640b' +yellow = '#df8e1d' +green = '#40a02b' +teal = '#179299' +sky = '#04a5e5' +sapphire = '#209fb5' +blue = '#1e66f5' +lavender = '#7287fd' +text = '#4c4f69' +subtext1 = '#5c5f77' +subtext0 = '#6c6f85' +overlay2 = '#7c7f93' +overlay1 = '#8c8fa1' +overlay0 = '#9ca0b0' +surface2 = '#acb0be' +surface1 = '#bcc0cc' +surface0 = '#ccd0da' +base = '#eff1f5' +mantle = '#e6e9ef' +crust = '#dce0e8' + +black = '#eff1f5' + +-- General styling for context boxes (editor, command_line) +content_box = { + background: + color: base + + border: + width: 1 + color: overlay0 + + border_right: + width: 3 + color: overlay0 + + border_bottom: + width: 3 + color: overlay0 + + header: + background: + color: mantle + border_bottom: + color: overlay0 + color: text + font: + bold: true + padding: 1 + + footer: + background: + color: mantle + border_top: + color: overlay0 + color: text + font: + bold: true + padding: 1 +} + +return { + window: + background: + color: crust + + status: + font: + bold: true + italic: true + color: subtext0 + + info: + color: teal + + warning: + color: peach + + error: + color: red + + :content_box + + popup: + background: + color: surface0 + alpha: 0.9 + + editor: delegate_to content_box, { + scrollbars: + slider: + color: overlay2 + + indicators: + default: + color: subtext0 + + title: + font: + bold: true + + vi: + font: + bold: true + + caret: + color: rosewater + width: 2 + + current_line: + background: overlay2 + + gutter: + color: subtext1 + background: + color: mantle + alpha: 0.6 + } + + flairs: + indentation_guide: + type: flair.PIPE + foreground: overlay2 + :background + line_width: 1 + + indentation_guide_1: + type: flair.PIPE + foreground: surface1 + line_width: 1 + + indentation_guide_2: + type: flair.PIPE + foreground: surface1 + line_width: 1 + + indentation_guide_3: + type: flair.PIPE + foreground: surface1 + line_width: 1 + + edge_line: + type: flair.PIPE + foreground: overlay0 + line_width: 0.5 + + search: + type: highlight.ROUNDED_RECTANGLE + foreground: red + foreground_alpha: 1 + background: red + background_alpha: 0.3 + text_color: red + height: 'text' + + search_secondary: + type: flair.ROUNDED_RECTANGLE + background: teal + background_alpha: 0.3 + text_color: teal + height: 'text' + + replace_strikeout: + type: flair.ROUNDED_RECTANGLE + foreground: red + foreground_alpha: 1 + background: red + background_alpha: 0.3 + text_color: red + height: 'text' + + brace_highlight: + type: flair.RECTANGLE + background: overlay2 + background_alpha: 0.3 + text_color: red + height: 'text' + + brace_highlight_secondary: + type: flair.RECTANGLE + background: overlay2 + background_alpha: 0.3 + text_color: teal + line_width: 1 + height: 'text' + + list_selection: + type: flair.RECTANGLE + background: overlay2 + background_alpha: 0.3 + + list_highlight: + type: highlight.UNDERLINE + foreground: peach + foreground_alpha: 0.3 + text_color: peach + line_width: 2 + + cursor: + type: flair.RECTANGLE + background: rosewater + width: 2 + height: 'text' + + block_cursor: + type: flair.ROUNDED_RECTANGLE + background: rosewater + text_color: black + height: 'text' + min_width: 'letter' + + selection: + type: highlight.ROUNDED_RECTANGLE + background: overlay2 + background_alpha: 0.3 + min_width: 'letter' + + styles: + default: + color: text + + red: + color: red + + green: + color: green + + yellow: + color: yellow + + blue: + color: blue + + magenta: + color: pink + + cyan: + color: teal + + popup: + background: surface0 + color: text + + comment: + font: + italic: true + color: overlay2 + + variable: + color: blue + + label: + color: subtext0 + font: + italic: true + + key: + color: blue + font: + bold: true + + fdecl: + color: yellow + font: + bold: true + + keyword: + color: mauve + font: + bold: true + + class: + color: yellow + font: + bold: true + + type_def: + color: yellow + font: + bold: true + + definition: + color: yellow + + function: + color: blue + font: + bold: true + + type: + color: yellow + font: + italic: true + + char: + color: green + + number: + color: peach + + operator: + color: sky + + preproc: + color: rosewater + + special: + color: red + + tag: + color: maroon + + member: + color: blue + + info: + color: teal + + constant: + color: peach + + string: + color: green + + regex: + color: pink + + embedded: + color: red + + -- Markup and visual styles + + error: + font: + italic: true + color: red + + warning: + font: + italic: true + color: peach + + info: + font: + italic: true + color: teal + + h1: + font: + bold: true + color: red + + h2: + font: + bold: true + color: peach + + h3: + font: + italic: true + color: yellow + + h4: + font: + italic: true + color: green + + h5: + font: + italic: true + color: sapphire + + h6: + font: + italic: true + color: lavender + + emphasis: + font: + bold: true + italic: true + + strong: + font: + italic: true + + link_label: + color: green + + link_url: + color: blue + + table: + color: text + background: mantle + underline: true + + addition: + color: green + background: green + background_alpha: 0.2 + + deletion: + color: red + background: red + background_alpha: 0.2 + + change: + color: blue + background: blue + background_alpha: 0.2 + } diff --git a/bundles/howl-themes/catppuccin/catppuccin_macchiato.moon b/bundles/howl-themes/catppuccin/catppuccin_macchiato.moon new file mode 100644 index 000000000..abeb4e43b --- /dev/null +++ b/bundles/howl-themes/catppuccin/catppuccin_macchiato.moon @@ -0,0 +1,419 @@ +{:delegate_to} = howl.util.table + +rosewater = '#f4dbd6' +flamingo = '#f0c6c6' +pink = '#f5bde6' +mauve = '#c6a0f6' +red = '#ed8796' +peach = '#f5a97f' +yellow = '#eed49f' +green = '#a6da95' +teal = '#8bd5ca' +sky = '#91d7e3' +sapphire = '#7dc4e4' +blue = '#8aadf4' +lavender = '#b7bdf8' +text = '#cad3f5' +subtext1 = '#b8c0e0' +subtext0 = '#a5adcb' +overlay2 = '#939ab7' +overlay1 = '#8087a2' +overlay0 = '#6e738d' +surface2 = '#5b6078' +surface1 = '#494d64' +surface0 = '#363a4f' +base = '#24273a' +mantle = '#1e2030' +crust = '#181926' + +black = '#181926' + +-- General styling for context boxes (editor, command_line) +content_box = { + background: + color: base + + border: + width: 1 + color: overlay0 + + border_right: + width: 3 + color: overlay0 + + border_bottom: + width: 3 + color: overlay0 + + header: + background: + color: mantle + border_bottom: + color: overlay0 + color: text + font: + bold: true + padding: 1 + + footer: + background: + color: mantle + border_top: + color: overlay0 + color: text + font: + bold: true + padding: 1 +} + +return { + window: + background: + color: crust + + status: + font: + bold: true + italic: true + color: subtext0 + + info: + color: teal + + warning: + color: peach + + error: + color: red + + :content_box + + popup: + background: + color: surface0 + alpha: 0.9 + + editor: delegate_to content_box, { + scrollbars: + slider: + color: overlay2 + + indicators: + default: + color: subtext0 + + title: + font: + bold: true + + vi: + font: + bold: true + + caret: + color: rosewater + width: 2 + + current_line: + background: overlay2 + + gutter: + color: subtext1 + background: + color: mantle + alpha: 0.6 + } + + flairs: + indentation_guide: + type: flair.PIPE + foreground: overlay2 + :background + line_width: 1 + + indentation_guide_1: + type: flair.PIPE + foreground: surface1 + line_width: 1 + + indentation_guide_2: + type: flair.PIPE + foreground: surface1 + line_width: 1 + + indentation_guide_3: + type: flair.PIPE + foreground: surface1 + line_width: 1 + + edge_line: + type: flair.PIPE + foreground: overlay0 + line_width: 0.5 + + search: + type: highlight.ROUNDED_RECTANGLE + foreground: red + foreground_alpha: 1 + background: red + background_alpha: 0.3 + text_color: red + height: 'text' + + search_secondary: + type: flair.ROUNDED_RECTANGLE + background: teal + background_alpha: 0.3 + text_color: teal + height: 'text' + + replace_strikeout: + type: flair.ROUNDED_RECTANGLE + foreground: red + foreground_alpha: 1 + background: red + background_alpha: 0.3 + text_color: red + height: 'text' + + brace_highlight: + type: flair.RECTANGLE + background: overlay2 + background_alpha: 0.3 + text_color: red + height: 'text' + + brace_highlight_secondary: + type: flair.RECTANGLE + background: overlay2 + background_alpha: 0.3 + text_color: teal + line_width: 1 + height: 'text' + + list_selection: + type: flair.RECTANGLE + background: overlay2 + background_alpha: 0.3 + + list_highlight: + type: highlight.UNDERLINE + foreground: peach + foreground_alpha: 0.3 + text_color: peach + line_width: 2 + + cursor: + type: flair.RECTANGLE + background: rosewater + width: 2 + height: 'text' + + block_cursor: + type: flair.ROUNDED_RECTANGLE + background: rosewater + text_color: black + height: 'text' + min_width: 'letter' + + selection: + type: highlight.ROUNDED_RECTANGLE + background: overlay2 + background_alpha: 0.3 + min_width: 'letter' + + styles: + default: + color: text + + red: + color: red + + green: + color: green + + yellow: + color: yellow + + blue: + color: blue + + magenta: + color: pink + + cyan: + color: teal + + popup: + background: surface0 + color: text + + comment: + font: + italic: true + color: overlay2 + + variable: + color: blue + + label: + color: subtext0 + font: + italic: true + + key: + color: blue + font: + bold: true + + fdecl: + color: yellow + font: + bold: true + + keyword: + color: mauve + font: + bold: true + + class: + color: yellow + font: + bold: true + + type_def: + color: yellow + font: + bold: true + + definition: + color: yellow + + function: + color: blue + font: + bold: true + + type: + color: yellow + font: + italic: true + + char: + color: green + + number: + color: peach + + operator: + color: sky + + preproc: + color: rosewater + + special: + color: red + + tag: + color: maroon + + member: + color: blue + + info: + color: teal + + constant: + color: peach + + string: + color: green + + regex: + color: pink + + embedded: + color: red + + -- Markup and visual styles + + error: + font: + italic: true + color: red + + warning: + font: + italic: true + color: peach + + info: + font: + italic: true + color: teal + + h1: + font: + bold: true + color: red + + h2: + font: + bold: true + color: peach + + h3: + font: + italic: true + color: yellow + + h4: + font: + italic: true + color: green + + h5: + font: + italic: true + color: sapphire + + h6: + font: + italic: true + color: lavender + + emphasis: + font: + bold: true + italic: true + + strong: + font: + italic: true + + link_label: + color: green + + link_url: + color: blue + + table: + color: text + background: mantle + underline: true + + addition: + color: green + background: green + background_alpha: 0.2 + + deletion: + color: red + background: red + background_alpha: 0.2 + + change: + color: blue + background: blue + background_alpha: 0.2 + } diff --git a/bundles/howl-themes/catppuccin/catppuccin_mocha.moon b/bundles/howl-themes/catppuccin/catppuccin_mocha.moon new file mode 100644 index 000000000..64e96f8c4 --- /dev/null +++ b/bundles/howl-themes/catppuccin/catppuccin_mocha.moon @@ -0,0 +1,419 @@ +{:delegate_to} = howl.util.table + +rosewater = '#f5e0dc' +flamingo = '#f2cdcd' +pink = '#f5c2e7' +mauve = '#cba6f7' +red = '#f38ba8' +peach = '#fab387' +yellow = '#f9e2af' +green = '#a6e3a1' +teal = '#94e2d5' +sky = '#89dceb' +sapphire = '#74c7ec' +blue = '#89b4fa' +lavender = '#b4befe' +text = '#cdd6f4' +subtext1 = '#bac2de' +subtext0 = '#a6adc8' +overlay2 = '#9399b2' +overlay1 = '#7f849c' +overlay0 = '#6c7086' +surface2 = '#585b70' +surface1 = '#45475a' +surface0 = '#313244' +base = '#1e1e2e' +mantle = '#181825' +crust = '#11111b' + +black = '#11111b' + +-- General styling for context boxes (editor, command_line) +content_box = { + background: + color: base + + border: + width: 1 + color: overlay0 + + border_right: + width: 3 + color: overlay0 + + border_bottom: + width: 3 + color: overlay0 + + header: + background: + color: mantle + border_bottom: + color: overlay0 + color: text + font: + bold: true + padding: 1 + + footer: + background: + color: mantle + border_top: + color: overlay0 + color: text + font: + bold: true + padding: 1 +} + +return { + window: + background: + color: crust + + status: + font: + bold: true + italic: true + color: subtext0 + + info: + color: teal + + warning: + color: peach + + error: + color: red + + :content_box + + popup: + background: + color: surface0 + alpha: 0.9 + + editor: delegate_to content_box, { + scrollbars: + slider: + color: overlay2 + + indicators: + default: + color: subtext0 + + title: + font: + bold: true + + vi: + font: + bold: true + + caret: + color: rosewater + width: 2 + + current_line: + background: overlay2 + + gutter: + color: subtext1 + background: + color: mantle + alpha: 0.6 + } + + flairs: + indentation_guide: + type: flair.PIPE + foreground: overlay2 + :background + line_width: 1 + + indentation_guide_1: + type: flair.PIPE + foreground: surface1 + line_width: 1 + + indentation_guide_2: + type: flair.PIPE + foreground: surface1 + line_width: 1 + + indentation_guide_3: + type: flair.PIPE + foreground: surface1 + line_width: 1 + + edge_line: + type: flair.PIPE + foreground: overlay0 + line_width: 0.5 + + search: + type: highlight.ROUNDED_RECTANGLE + foreground: red + foreground_alpha: 1 + background: red + background_alpha: 0.3 + text_color: red + height: 'text' + + search_secondary: + type: flair.ROUNDED_RECTANGLE + background: teal + background_alpha: 0.3 + text_color: teal + height: 'text' + + replace_strikeout: + type: flair.ROUNDED_RECTANGLE + foreground: red + foreground_alpha: 1 + background: red + background_alpha: 0.3 + text_color: red + height: 'text' + + brace_highlight: + type: flair.RECTANGLE + background: overlay2 + background_alpha: 0.3 + text_color: red + height: 'text' + + brace_highlight_secondary: + type: flair.RECTANGLE + background: overlay2 + background_alpha: 0.3 + text_color: teal + line_width: 1 + height: 'text' + + list_selection: + type: flair.RECTANGLE + background: overlay2 + background_alpha: 0.3 + + list_highlight: + type: highlight.UNDERLINE + foreground: peach + foreground_alpha: 0.3 + text_color: peach + line_width: 2 + + cursor: + type: flair.RECTANGLE + background: rosewater + width: 2 + height: 'text' + + block_cursor: + type: flair.ROUNDED_RECTANGLE + background: rosewater + text_color: black + height: 'text' + min_width: 'letter' + + selection: + type: highlight.ROUNDED_RECTANGLE + background: overlay2 + background_alpha: 0.3 + min_width: 'letter' + + styles: + default: + color: text + + red: + color: red + + green: + color: green + + yellow: + color: yellow + + blue: + color: blue + + magenta: + color: pink + + cyan: + color: teal + + popup: + background: surface0 + color: text + + comment: + font: + italic: true + color: overlay2 + + variable: + color: blue + + label: + color: subtext0 + font: + italic: true + + key: + color: blue + font: + bold: true + + fdecl: + color: yellow + font: + bold: true + + keyword: + color: mauve + font: + bold: true + + class: + color: yellow + font: + bold: true + + type_def: + color: yellow + font: + bold: true + + definition: + color: yellow + + function: + color: blue + font: + bold: true + + type: + color: yellow + font: + italic: true + + char: + color: green + + number: + color: peach + + operator: + color: sky + + preproc: + color: rosewater + + special: + color: red + + tag: + color: maroon + + member: + color: blue + + info: + color: teal + + constant: + color: peach + + string: + color: green + + regex: + color: pink + + embedded: + color: red + + -- Markup and visual styles + + error: + font: + italic: true + color: red + + warning: + font: + italic: true + color: peach + + info: + font: + italic: true + color: teal + + h1: + font: + bold: true + color: red + + h2: + font: + bold: true + color: peach + + h3: + font: + italic: true + color: yellow + + h4: + font: + italic: true + color: green + + h5: + font: + italic: true + color: sapphire + + h6: + font: + italic: true + color: lavender + + emphasis: + font: + bold: true + italic: true + + strong: + font: + italic: true + + link_label: + color: green + + link_url: + color: blue + + table: + color: text + background: mantle + underline: true + + addition: + color: green + background: green + background_alpha: 0.2 + + deletion: + color: red + background: red + background_alpha: 0.2 + + change: + color: blue + background: blue + background_alpha: 0.2 + } diff --git a/bundles/howl-themes/init.moon b/bundles/howl-themes/init.moon index c6b2b470b..7e8d026f6 100644 --- a/bundles/howl-themes/init.moon +++ b/bundles/howl-themes/init.moon @@ -10,6 +10,11 @@ themes = { 'Monokai': bundle_file('monokai/monokai.moon') 'Blueberry Blend': bundle_file('blueberry_blend/blueberry_blend.moon') 'Dracula': bundle_file('dracula/dracula.moon') + 'Catppuccin Latte': bundle_file('catppuccin/catppuccin_latte.moon') + 'Catppuccin Frappe': bundle_file('catppuccin/catppuccin_frappe.moon') + 'Catppuccin Macchiato': bundle_file('catppuccin/catppuccin_macchiato.moon') + 'Catppuccin Mocha': bundle_file('catppuccin/catppuccin_mocha.moon') + } for name, file in pairs themes diff --git a/src/tools/catppuccin.tera b/src/tools/catppuccin.tera new file mode 100644 index 000000000..5c85d69d9 --- /dev/null +++ b/src/tools/catppuccin.tera @@ -0,0 +1,427 @@ +--- +whiskers: + version: ^2.5.1 + matrix: + - flavor + filename: bundles/howl-themes/catppuccin/catppuccin_{{ flavor.identifier }}.moon + hex_format: "#{{r}}{{g}}{{b}}" +--- +{:delegate_to} = howl.util.table + +rosewater = '{{ rosewater.hex }}' +flamingo = '{{ flamingo.hex }}' +pink = '{{ pink.hex }}' +mauve = '{{ mauve.hex }}' +red = '{{ red.hex }}' +peach = '{{ peach.hex }}' +yellow = '{{ yellow.hex }}' +green = '{{ green.hex }}' +teal = '{{ teal.hex }}' +sky = '{{ sky.hex }}' +sapphire = '{{ sapphire.hex }}' +blue = '{{ blue.hex }}' +lavender = '{{ lavender.hex }}' +text = '{{ text.hex }}' +subtext1 = '{{ subtext1.hex }}' +subtext0 = '{{ subtext0.hex }}' +overlay2 = '{{ overlay2.hex }}' +overlay1 = '{{ overlay1.hex }}' +overlay0 = '{{ overlay0.hex }}' +surface2 = '{{ surface2.hex }}' +surface1 = '{{ surface1.hex }}' +surface0 = '{{ surface0.hex }}' +base = '{{ base.hex }}' +mantle = '{{ mantle.hex }}' +crust = '{{ crust.hex }}' + +black = '{{ if(cond=flavor.light, t=base.hex, f=crust.hex) }}' + +-- General styling for context boxes (editor, command_line) +content_box = { + background: + color: base + + border: + width: 1 + color: overlay0 + + border_right: + width: 3 + color: overlay0 + + border_bottom: + width: 3 + color: overlay0 + + header: + background: + color: mantle + border_bottom: + color: overlay0 + color: text + font: + bold: true + padding: 1 + + footer: + background: + color: mantle + border_top: + color: overlay0 + color: text + font: + bold: true + padding: 1 +} + +return { + window: + background: + color: crust + + status: + font: + bold: true + italic: true + color: subtext0 + + info: + color: teal + + warning: + color: peach + + error: + color: red + + :content_box + + popup: + background: + color: surface0 + alpha: 0.9 + + editor: delegate_to content_box, { + scrollbars: + slider: + color: overlay2 + + indicators: + default: + color: subtext0 + + title: + font: + bold: true + + vi: + font: + bold: true + + caret: + color: rosewater + width: 2 + + current_line: + background: overlay2 + + gutter: + color: subtext1 + background: + color: mantle + alpha: 0.6 + } + + flairs: + indentation_guide: + type: flair.PIPE + foreground: overlay2 + :background + line_width: 1 + + indentation_guide_1: + type: flair.PIPE + foreground: surface1 + line_width: 1 + + indentation_guide_2: + type: flair.PIPE + foreground: surface1 + line_width: 1 + + indentation_guide_3: + type: flair.PIPE + foreground: surface1 + line_width: 1 + + edge_line: + type: flair.PIPE + foreground: overlay0 + line_width: 0.5 + + search: + type: highlight.ROUNDED_RECTANGLE + foreground: red + foreground_alpha: 1 + background: red + background_alpha: 0.3 + text_color: red + height: 'text' + + search_secondary: + type: flair.ROUNDED_RECTANGLE + background: teal + background_alpha: 0.3 + text_color: teal + height: 'text' + + replace_strikeout: + type: flair.ROUNDED_RECTANGLE + foreground: red + foreground_alpha: 1 + background: red + background_alpha: 0.3 + text_color: red + height: 'text' + + brace_highlight: + type: flair.RECTANGLE + background: overlay2 + background_alpha: 0.3 + text_color: red + height: 'text' + + brace_highlight_secondary: + type: flair.RECTANGLE + background: overlay2 + background_alpha: 0.3 + text_color: teal + line_width: 1 + height: 'text' + + list_selection: + type: flair.RECTANGLE + background: overlay2 + background_alpha: 0.3 + + list_highlight: + type: highlight.UNDERLINE + foreground: peach + foreground_alpha: 0.3 + text_color: peach + line_width: 2 + + cursor: + type: flair.RECTANGLE + background: rosewater + width: 2 + height: 'text' + + block_cursor: + type: flair.ROUNDED_RECTANGLE + background: rosewater + text_color: black + height: 'text' + min_width: 'letter' + + selection: + type: highlight.ROUNDED_RECTANGLE + background: overlay2 + background_alpha: 0.3 + min_width: 'letter' + + styles: + default: + color: text + + red: + color: red + + green: + color: green + + yellow: + color: yellow + + blue: + color: blue + + magenta: + color: pink + + cyan: + color: teal + + popup: + background: surface0 + color: text + + comment: + font: + italic: true + color: overlay2 + + variable: + color: blue + + label: + color: subtext0 + font: + italic: true + + key: + color: blue + font: + bold: true + + fdecl: + color: yellow + font: + bold: true + + keyword: + color: mauve + font: + bold: true + + class: + color: yellow + font: + bold: true + + type_def: + color: yellow + font: + bold: true + + definition: + color: yellow + + function: + color: blue + font: + bold: true + + type: + color: yellow + font: + italic: true + + char: + color: green + + number: + color: peach + + operator: + color: sky + + preproc: + color: rosewater + + special: + color: red + + tag: + color: maroon + + member: + color: blue + + info: + color: teal + + constant: + color: peach + + string: + color: green + + regex: + color: pink + + embedded: + color: red + + -- Markup and visual styles + + error: + font: + italic: true + color: red + + warning: + font: + italic: true + color: peach + + info: + font: + italic: true + color: teal + + h1: + font: + bold: true + color: red + + h2: + font: + bold: true + color: peach + + h3: + font: + italic: true + color: yellow + + h4: + font: + italic: true + color: green + + h5: + font: + italic: true + color: sapphire + + h6: + font: + italic: true + color: lavender + + emphasis: + font: + bold: true + italic: true + + strong: + font: + italic: true + + link_label: + color: green + + link_url: + color: blue + + table: + color: text + background: mantle + underline: true + + addition: + color: green + background: green + background_alpha: 0.2 + + deletion: + color: red + background: red + background_alpha: 0.2 + + change: + color: blue + background: blue + background_alpha: 0.2 + }