Skip to content

Commit 37451f6

Browse files
committed
merged with develop branch.
2 parents 195f68b + fa91269 commit 37451f6

15 files changed

+144
-95
lines changed

README.md

Lines changed: 32 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div align="center">
22
<h1>charcoal</h1>
3-
<p>A warm and calm color scheme.</p>
3+
<p>A warm and simple colorscheme.</p>
44

55
**[Preview] | [Install] | [Contribute]**
66
</div>
@@ -9,21 +9,39 @@
99
[Install]: https://github.com/mubin6th/charcoal?tab=readme-ov-file#install
1010
[Contribute]: https://github.com/mubin6th/charcoal?tab=readme-ov-file#contribute
1111

12+
## About
13+
Charcoal is a warm colorscheme for text-editors, terminals, UI and more. The colorscheme
14+
resembles warm/rural weather, wheat field, afternoon sky etc. The dark background of
15+
Charcoal Dark is meant to help distinguish Code from UI. Charcoal is inspired by Gruvbox
16+
and Gruvbox Material colorschemes and tries to be simple and easy-on-eyes theme.
17+
18+
### Features
19+
- Warm and easy-on-eyes colors.
20+
- Total of 10 monochromatic colors for each monochrome mode.
21+
- Simple dark and light shades.
22+
- Support for real-time color editing through [color_grid](https://github.com/mubin6th/charcoal/blob/develop/color_grid).
23+
1224
## Preview
13-
> [!WARNING]
14-
> The preview will not arrive until the initial release(v0.0.1). And the previous showcase
15-
> is now no longer shown.
25+
<a href="https://github.com/mubin6th/charcoal/blob/develop/readme_resources/preview_neovim_v1.0.0.png?raw=true"><img alt="preview_neovim_v1.0.0.png" src="https://github.com/mubin6th/charcoal/blob/develop/readme_resources/preview_neovim_v1.0.0.png?raw=true"></a>
1626

1727
## Palette
18-
> [!WARNING]
19-
> The palette preview will not arrive until initial release(v0.0.1). After which, the
20-
> color palette will preview the latest stable version.
21-
22-
## Install
23-
Currently the theme is only available for Neovim. The
24-
[echasnovski/mini.nvim](https://github.com/echasnovski/mini.nvim) plugin set is used for
25-
this colorscheme. You have to make sure you have **lazy.nvim** installed. You can
26-
currently only install [charcoal dark](https://github.com/mubin6th/charcoal/blob/master/nvim/charcoal_dark.lua) from the hyperlink.
28+
Here is the text form of the palette, I faced difficulties creating a grid layout.
29+
Therefore, the text form is below:
30+
```
31+
-- Dark mode (Monochrome) | -- Light mode (Monochrome)
32+
warm_black1 = #0f0b05 | warm_white1 = #928363
33+
warm_black2 = #1b140a | warm_white2 = #9f8f6d
34+
warm_black3 = #231b0e | warm_white3 = #af9f7d
35+
warm_black4 = #2a2012 | warm_white4 = #bcad8c
36+
warm_black5 = #342818 | warm_white5 = #cabda0
37+
|
38+
warm_white1 = #57462c | warm_black1 = #0b0904
39+
warm_white2 = #876e48 | warm_black2 = #251e0f
40+
warm_white3 = #a88c62 | warm_black3 = #382e1b
41+
warm_white4 = #c3a983 | warm_black4 = #4b3e26
42+
warm_white5 = #dec8a7 | warm_black5 = #645538
43+
```
2744

2845
## Contribute
29-
If you want to **suggest** any change to the palette, let me know. I will kindly take your opinion, Insha'allah.
46+
If you would like to suggest any change to the palette, let me know. I will kindly view
47+
your opinion, Insha'allah.

alacritty/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
## Installing Charcoal for Alacritty
2+
In order to install Charcoal for the Alacritty terminal, you will have to edit some
3+
files. You can use your favourite text-editor. Copy the contents of your preferred
4+
colorscheme from Charcoal Repository's `alacritty/` folder. After you have copied all the
5+
contents of your preferred theme file, paste it at the top of your
6+
`~/.config/alacritty/alacritty.toml`.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[colors.primary]
2+
background = '#0f0b05'
3+
foreground = '#a88c62'
4+
5+
[colors.normal]
6+
black = '#0f0b05'
7+
white = '#c3a983'
8+
red = '#c3a983'
9+
green = '#a88c62'
10+
blue = '#a88c62'
11+
yellow = '#c3a983'
12+
cyan = '#876e48'
13+
magenta = '#876e48'
14+
15+
[colors.bright]
16+
black = '#231b0e'
17+
white = '#dec8a7'
18+
red = '#dec8a7'
19+
green = '#c3a983'
20+
blue = '#c3a983'
21+
yellow = '#dec8a7'
22+
cyan = '#a88c62'
23+
magenta = '#a88c62'
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[colors.primary]
2+
background = '#cabda0'
3+
foreground = '#382e1b'
4+
5+
[colors.normal]
6+
black = '#0b0904'
7+
white = '#bcad8c'
8+
red = '#251e0f'
9+
green = '#382e1b'
10+
blue = '#4b3e26'
11+
yellow = '#382e1b'
12+
cyan = '#4b3e26'
13+
magenta = '#4b3e26'
14+
15+
[colors.bright]
16+
black = '#928363'
17+
white = '#cabda0'
18+
red = '#0b0904'
19+
green = '#251e0f'
20+
blue = '#382e1b'
21+
yellow = '#251e0f'
22+
cyan = '#382e1b'
23+
magenta = '#382e1b'

base16_descriptions.txt

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
base00 = "#120f09", -- background
2-
base01 = "#1e1812", -- brigher background (for status bars, line number,
3-
-- folding marks)
4-
base02 = "#35291d", -- selection background
5-
base03 = "#66553f", -- comments, invisibles, line highlighting
6-
base04 = "#a28662", -- dark foreground (for status bars)
7-
base05 = "#c0a179", -- foreground
8-
base06 = "#d6b891", -- bright foreground
9-
base07 = "#292016", -- bright background
10-
base08 = "#887254", -- variables, xml tags, markup link text, markup lists,
11-
-- diff deleted
12-
base09 = "#d6b891", -- integer, boolean, constants, xml attributes, markup link
13-
-- url
14-
base0A = "#c0a179", -- classes, markup bold, search text background
15-
base0B = "#a28662", -- strings, inherited class, markup code, diff inserted
16-
base0C = "#a28662", -- data types, support, regular expressions,
17-
-- escape characters, markup, quotes
18-
base0D = "#d6b891", -- functions, methods, attribute ids, headings
19-
base0E = "#a28662", -- keywords, storage, selector, markup italic, diff changed
20-
base0F = "#887254", -- deprecated, opening/closing embedded language tags,
21-
-- e.g. `<?php ?>`
1+
base00 -- background
2+
base01 -- brigher background (for status bars, line number,
3+
-- folding marks)
4+
base02 -- selection background
5+
base03 -- comments, invisibles, line highlighting
6+
base04 -- dark foreground (for status bars)
7+
base05 -- foreground
8+
base06 -- bright foreground
9+
base07 -- bright background
10+
base08 -- variables, xml tags, markup link text, markup lists,
11+
-- diff deleted
12+
base09 -- integer, boolean, constants, xml attributes, markup link
13+
-- url
14+
base0A -- classes, markup bold, search text background
15+
base0B -- strings, inherited class, markup code, diff inserted
16+
base0C -- data types, support, regular expressions,
17+
-- escape characters, markup, quotes
18+
base0D -- functions, methods, attribute ids, headings
19+
base0E -- keywords, storage, selector, markup italic, diff changed
20+
base0F -- deprecated, opening/closing embedded language tags,
21+
-- e.g. `<?php ?>`

charcoal_dark_colors.txt

Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
warm_black1 = #0f0b05
2+
warm_black2 = #1b140a
3+
warm_black3 = #231b0e
4+
warm_black4 = #2a2012
5+
warm_black5 = #342818
6+
7+
warm_white1 = #57462c
8+
warm_white2 = #876e48
9+
warm_white3 = #a88c62
10+
warm_white4 = #c3a983
11+
warm_white5 = #dec8a7
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
warm_white1 = #928363
2+
warm_white2 = #9f8f6d
3+
warm_white3 = #af9f7d
4+
warm_white4 = #bcad8c
5+
warm_white5 = #cabda0
6+
7+
warm_black1 = #0b0904
8+
warm_black2 = #251e0f
9+
warm_black3 = #382e1b
10+
warm_black4 = #4b3e26
11+
warm_black5 = #645538

color_grid/README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,23 @@
22

33
A tool to generate image from a colorscheme file.
44

5-
A colorscheme file can be any file where hex colors are separated by spaces. The colors
6-
can be in every newline or in between paragraphs.
5+
A colorscheme file can be any file where hex colors are
6+
separated by spaces. The colors can be in every newline
7+
or in between paragraphs.
78

89
The help command of the tool below:
910
```
1011
Usage: colorgrid [arguments...]
11-
A program to take hex separated colors from file and make a color grid.
12+
A program to take hex separated colors from file and make
13+
a color grid.
1214
1315
-i, --input=<str> path to text file.
1416
-r, --rows=<int> the number of rows. default: 1.
15-
-c, --columns=<int> the number of columns. default: 0.
17+
-c, --columns=<int> the number of columns. default: 0. (meaning, the column is arbitary by default)
1618
-x, --width=<int> tile width. default: 64.
1719
-y, --height=<int> tile height. default: 64.
18-
-w, --watch preview changes to color palette. helpful when editing.
20+
-w, --watch preview changes to color palette.
21+
helpful when editing.
1922
-v, --version print version of colorgrid.
2023
-h, --help show this help message and exit
2124
```

color_grid/src/arg.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,10 @@ static const char *const arg_usages[] = {
1818
};
1919
static struct argparse_option arg_options[] = {
2020
OPT_STRING('i', "input", &arg_g.path, "path to text file.", NULL, 0, 0),
21-
OPT_INTEGER('r', "rows", &arg_g.row, "the number of rows. default: 1. "
22-
"row is arbitary on watch mode.", NULL, 0,
21+
OPT_INTEGER('r', "rows", &arg_g.row, "the number of rows. default: 1. ", NULL, 0,
2322
0),
24-
OPT_INTEGER('c', "columns", &arg_g.col, "the number of columns. default: 0.",
25-
NULL, 0, 0),
23+
OPT_INTEGER('c', "columns", &arg_g.col, "the number of columns. default: 0. "
24+
"(meaning, the column is arbitary by default)", NULL, 0, 0),
2625
OPT_INTEGER('x', "width", &arg_g.width, "tile width. default: 64.", NULL, 0, 0),
2726
OPT_INTEGER('y', "height", &arg_g.height, "tile height. default: 64.", NULL, 0,
2827
0),

0 commit comments

Comments
 (0)