├── .gitmodules
├── LICENSE
├── README.md
├── assets
├── neofetch.png
└── pipes-sh.png
├── gen.py
├── oxocarbon-dark.yml
├── requirements.txt
└── templates
└── oxocarbon-dark.yml.j2
/.gitmodules:
--------------------------------------------------------------------------------
1 | [submodule "theme"]
2 | path = palette
3 | url = https://github.com/nyoom-engineering/base16-oxocarbon.git
4 |
--------------------------------------------------------------------------------
/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 |
3 | # oxocarbon-alacritty
4 |
5 |
6 |
7 |
8 |
9 | [](https://github.com/nyoom-engineering/oxocarbon/stargazers)
10 | [](https://github.com/nyoom-engineering/oxocarbon/issues)
11 | [](https://mit-license.org/)
12 | 
13 |
14 |
15 |
16 | Oxocarbon is a set of community ports of IBM's carbon color palette and design philosophy to various applications and tooling.
17 |
18 | ## Showcase
19 |
20 | 
21 | 
22 |
23 | ## Install
24 |
25 | Replace the current color definitions in your [`alacritty.yml`](https://github.com/alacritty/alacritty#configuration) configuration file with the content from the [`oxocarbon-alacritty.yml`](https://github.com/nyoom-engineering/oxocarbon-alacritty/blob/main/oxocarbon-dark.yml) file.
26 |
27 | ## License
28 |
29 | The project is licensed under the MIT license
30 |
--------------------------------------------------------------------------------
/assets/neofetch.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nyoom-engineering/oxocarbon-alacritty/fe423f40763d2f2e22eebd0c2d3f520879310c0b/assets/neofetch.png
--------------------------------------------------------------------------------
/assets/pipes-sh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nyoom-engineering/oxocarbon-alacritty/fe423f40763d2f2e22eebd0c2d3f520879310c0b/assets/pipes-sh.png
--------------------------------------------------------------------------------
/gen.py:
--------------------------------------------------------------------------------
1 | import yaml
2 | import jinja2
3 |
4 |
5 | def read_theme(name: str):
6 | theme = {}
7 |
8 | with open(f"palette/base16-oxocarbon-{name}.yaml", "r") as f:
9 | theme = yaml.safe_load(f)
10 | f.close()
11 |
12 | return theme
13 |
14 |
15 | def main():
16 | env = jinja2.Environment(loader=jinja2.FileSystemLoader("./templates/"))
17 | tmp = env.get_template("oxocarbon-dark.yml.j2")
18 | thm = read_theme('dark')
19 |
20 | con = tmp.render(thm)
21 |
22 | open('oxocarbon-dark.yml', 'w').close()
23 |
24 | with open('oxocarbon-dark.yml', 'w') as f:
25 | f.write(con)
26 | f.close()
27 |
28 |
29 | main()
30 |
--------------------------------------------------------------------------------
/oxocarbon-dark.yml:
--------------------------------------------------------------------------------
1 | colors:
2 | primary:
3 | background: "#161616"
4 | foreground: "#ffffff"
5 | search:
6 | matches:
7 | foreground: CellBackground
8 | background: '#ee5396'
9 | footer_bar:
10 | background: '#262626'
11 | foreground: '#ffffff'
12 | normal:
13 | black: "#262626"
14 | magenta: "#ff7eb6"
15 | green: "#42be65"
16 | yellow: "#ffe97b"
17 | blue: "#33b1ff"
18 | red: "#ee5396"
19 | cyan: "#3ddbd9"
20 | white: "#dde1e6"
21 | bright:
22 | black: "#393939"
23 | magenta: "#ff7eb6"
24 | green: "#42be65"
25 | yellow: "#ffe97b"
26 | blue: "#33b1ff"
27 | red: "#ee5396"
28 | cyan: "#3ddbd9"
29 | white: "#ffffff"
--------------------------------------------------------------------------------
/requirements.txt:
--------------------------------------------------------------------------------
1 | Jinja2==3.1.2
2 | MarkupSafe==2.1.1
3 | PyYAML==6.0
4 |
--------------------------------------------------------------------------------
/templates/oxocarbon-dark.yml.j2:
--------------------------------------------------------------------------------
1 | colors:
2 | primary:
3 | background: "#{{ base00 }}"
4 | foreground: "#{{ base06 }}"
5 | search:
6 | matches:
7 | foreground: CellBackground
8 | background: '#{{ base0A }}'
9 | footer_bar:
10 | background: '#{{ base01 }}'
11 | foreground: '#{{ base06 }}'
12 | normal:
13 | black: "#{{ base01 }}"
14 | magenta: "#{{ base0C }}"
15 | green: "#{{ base0D }}"
16 | yellow: "#ffe97b"
17 | blue: "#{{ base0B }}"
18 | red: "#{{ base0A }}"
19 | cyan: "#{{ base08 }}"
20 | white: "#{{ base04 }}"
21 | bright:
22 | black: "#{{ base02 }}"
23 | magenta: "#{{ base0C }}"
24 | green: "#{{ base0D }}"
25 | yellow: "#ffe97b"
26 | blue: "#{{ base0B }}"
27 | red: "#{{ base0A }}"
28 | cyan: "#{{ base08 }}"
29 | white: "#{{ base06 }}"
30 |
--------------------------------------------------------------------------------