├── .editorconfig ├── LICENSE ├── README.md ├── assets ├── frappe.png ├── latte.png ├── macchiato.png ├── mocha.png └── ss.png └── theme.lua /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig helps developers define and maintain consistent 2 | # coding styles between different editors and IDEs 3 | # EditorConfig is awesome: https://EditorConfig.org 4 | 5 | root = true 6 | 7 | [*] 8 | charset = utf-8 9 | indent_size = 2 10 | indent_style = space 11 | end_of_line = lf 12 | insert_final_newline = true 13 | trim_trailing_whitespace = true 14 | 15 | # go 16 | [*.go] 17 | indent_style = tab 18 | indent_size = 4 19 | 20 | # python 21 | [*.{ini,py,py.tpl,rst}] 22 | indent_size = 4 23 | 24 | # rust 25 | [*.rs] 26 | indent_size = 4 27 | 28 | # documentation, utils 29 | [*.{md,mdx,diff}] 30 | trim_trailing_whitespace = false 31 | 32 | # windows shell scripts 33 | [*.{cmd,bat,ps1}] 34 | end_of_line = crlf 35 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Catppuccin 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

2 | Logo
3 | 4 | Catppuccin for Tym 5 | 6 |

7 | 8 |

9 | 10 | 11 | 12 |

13 | 14 |

15 | 16 |

17 | 18 | ## Usage 19 | 20 | 1. Clone this repository. 21 | 2. Move to the clonned directory. 22 | 3. Copy the `theme.lua` file into `.config/tym` 23 | ```bash 24 | git clone https://github.com/catppuccin/tym.git && cp tym/theme.lua ~/.config/tym 25 | ``` 26 | 4. To select a flavour, edit the `flavour` variable at the start of `theme.lua`, default is "mocha", but other available options are "latte", "frappe" or "macchiato". 27 | ```lua 28 | local flavour = "mocha" 29 | ``` 30 | 31 | ## 🙋 FAQ 32 | 33 | - Q: **_"I copied and pasted the installation command but I get an error!"_** 34 | - A: Make sure you have a tym directory in `.config` or create one with ```mkdir ~/.config/tym``` 35 | 36 | 37 | ## 💝 Thanks to 38 | 39 | - [justleoo](https://github.com/justleoo) 40 | - [Adal Zanabria](https://github.com/AdalZanabria) 41 | 42 |   43 | 44 |

45 |

Copyright © 2021-present Catppuccin Org 46 |

47 | 48 | -------------------------------------------------------------------------------- /assets/frappe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/catppuccin/tym/0d85e3f0c55872908458611ed332da3a50798ce6/assets/frappe.png -------------------------------------------------------------------------------- /assets/latte.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/catppuccin/tym/0d85e3f0c55872908458611ed332da3a50798ce6/assets/latte.png -------------------------------------------------------------------------------- /assets/macchiato.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/catppuccin/tym/0d85e3f0c55872908458611ed332da3a50798ce6/assets/macchiato.png -------------------------------------------------------------------------------- /assets/mocha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/catppuccin/tym/0d85e3f0c55872908458611ed332da3a50798ce6/assets/mocha.png -------------------------------------------------------------------------------- /assets/ss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/catppuccin/tym/0d85e3f0c55872908458611ed332da3a50798ce6/assets/ss.png -------------------------------------------------------------------------------- /theme.lua: -------------------------------------------------------------------------------- 1 | -- Catppuccin tym theme 2 | 3 | -- Change the following flavour variable to the color scheme of your choice 4 | -- Available options "latte", "frappe", "macchiato", "mocha". 5 | local flavour = "mocha" 6 | 7 | local catppuccin = { 8 | latte = { 9 | rosewater = '#DC8A78', 10 | red = '#D20F39', 11 | green = '#40A02B', 12 | yellow = '#DF8E1D', 13 | blue = '#1E66F5', 14 | pink = '#EA76CB', 15 | teal = '#179299', 16 | text = '#4C4F69', 17 | subtext1 = '#5C5F77', 18 | subtext0 = '#6C6F85', 19 | surface2 = '#ACB0BE', 20 | surface1 = '#BCC0CC', 21 | base = '#EFF1F5', 22 | }, 23 | frappe = { 24 | rosewater = '#F2D5CF', 25 | red = '#E78284', 26 | green = '#A6D189', 27 | yellow = '#E5C890', 28 | blue = '#8CAAEE', 29 | pink = '#F4B8E4', 30 | teal = '#81C8BE', 31 | text = '#C6D0F5', 32 | subtext1 = '#B5BFE2', 33 | subtext0 = '#A5ADCE', 34 | surface2 = '#626880', 35 | surface1 = '#51576D', 36 | base = '#303446', 37 | }, 38 | macchiato = { 39 | rosewater = '#F4DBD6', 40 | red = '#ED8796', 41 | green = '#A6DA95', 42 | yellow = '#EED49F', 43 | blue = '#8AADF4', 44 | pink = '#F5BDE6', 45 | teal = '#8BD5CA', 46 | text = '#CAD3F5', 47 | subtext1 = '#B8C0E0', 48 | subtext0 = '#A5ADCB', 49 | surface2 = '#5B6078', 50 | surface1 = '#494D64', 51 | base = '#24273A', 52 | }, 53 | mocha = { 54 | rosewater = '#F5E0DC', 55 | red = '#F38BA8', 56 | green = '#A6E3A1', 57 | yellow = '#F9E2AF', 58 | blue = '#89B4FA', 59 | pink = '#F5C2E7', 60 | teal = '#94E2D5', 61 | text = '#CDD6F4', 62 | subtext1 = '#BAC2DE', 63 | subtext0 = '#A6ADC8', 64 | surface2 = '#585B70', 65 | surface1 = '#45475A', 66 | base = '#1E1E2E', 67 | }, 68 | } 69 | 70 | function catppuccin.select(palette) 71 | local isLatte = palette == "latte" 72 | return { 73 | color_background = catppuccin[palette].base, 74 | color_foreground = catppuccin[palette].text, 75 | color_window_background = catppuccin[palette].base, 76 | color_bold = catppuccin[palette].text, 77 | color_cursor = catppuccin[palette].rosewater, 78 | color_cursor_foreground = catppuccin[palette].base, 79 | color_highlight = catppuccin[palette].rosewater, 80 | color_highlight_foreground = catppuccin[palette].base, 81 | color_0 = isLatte and catppuccin[palette].subtext1 or catppuccin[palette].surface1, -- black (background) 82 | color_1 = catppuccin[palette].red, -- red 83 | color_2 = catppuccin[palette].green, -- green 84 | color_3 = catppuccin[palette].yellow, -- brown 85 | color_4 = catppuccin[palette].blue, -- blue 86 | color_5 = catppuccin[palette].pink, -- purple 87 | color_6 = catppuccin[palette].teal, -- cyan 88 | color_7 = isLatte and catppuccin[palette].surface2 or catppuccin[palette].subtext1, -- light gray (foreground) 89 | color_8 = isLatte and catppuccin[palette].subtext0 or catppuccin[palette].surface2, -- gray 90 | color_9 = catppuccin[palette].red, -- light red 91 | color_10 = catppuccin[palette].green, -- light green 92 | color_11 = catppuccin[palette].yellow, -- yellow 93 | color_12 = catppuccin[palette].blue, -- light blue 94 | color_13 = catppuccin[palette].pink, -- pink 95 | color_14 = catppuccin[palette].teal, -- light cyan 96 | color_15 = isLatte and catppuccin[palette].surface1 or catppuccin[palette].subtext0, -- white 97 | } 98 | end 99 | 100 | return catppuccin.select(flavour) 101 | --------------------------------------------------------------------------------