Skip to content

Commit

Permalink
update github primer color palette script for terminals
Browse files Browse the repository at this point in the history
  • Loading branch information
moukoublen committed Dec 25, 2024
1 parent 2d5ae4f commit d1cb13a
Show file tree
Hide file tree
Showing 10 changed files with 1,049 additions and 1,022 deletions.
1,149 changes: 873 additions & 276 deletions config/gnome/lib/__colors-primer.bash

Large diffs are not rendered by default.

44 changes: 22 additions & 22 deletions config/gnome/lib/__terminal-colors-primer_dark.bash
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,29 @@ SRC_PATH=
SRC_PATH="$(dirname "$(realpath "${0}")")"
source "${SRC_PATH}/__colors-primer.bash"

export C_FG=${primer_dark['gray-2']}
export C_BG=${primer_dark['gray-9']}
export C_HFG=${primer_dark['white']}
export C_HBG=${primer_dark['pink-7']}
export C_CFG=${primer_dark['purple-8']}
export C_CBG=${primer_light['pink-5']}
export C_FG=${primer_dark['base-color-white']}
export C_BG=${primer_dark['base-color-black']}
export C_HFG=${primer_dark['base-color-neutral-11']}
export C_HBG=${primer_dark['base-color-pink-7']}
export C_CFG=${primer_dark['base-color-purple-8']}
export C_CBG=${primer_light['base-color-pink-3']}

export C_00=${primer_dark['gray-5']} # Black
export C_08=${primer_dark['gray-4']} # Light Black
export C_07=${primer_dark['gray-0']} # Grey
export C_15=${primer_dark['white']} # Light Grey
export C_00=${primer_dark['base-color-neutral-6']} # Black
export C_08=${primer_dark['base-color-neutral-7']} # Light Black
export C_07=${primer_dark['base-color-neutral-8']} # Grey
export C_15=${primer_dark['base-color-neutral-9']} # Light Grey

export C_01=${primer_dark['red-5']} # Red
export C_09=${primer_dark['red-4']} # Light Red
export C_02=${primer_dark['green-5']} # Green
export C_10=${primer_dark['green-4']} # Light Green
export C_03=${primer_dark['yellow-5']} # Yellow
export C_11=${primer_dark['yellow-4']} # Light Yellow
export C_04=${primer_dark['blue-5']} # Blue
export C_12=${primer_dark['blue-4']} # Light Blue
export C_05=${primer_dark['purple-5']} # Purple
export C_13=${primer_dark['purple-4']} # Light Purple
export C_06=${primer_dark['pink-5']} # Turquoise
export C_14=${primer_dark['pink-4']} # Light Turquoise
export C_01=${primer_dark['base-color-red-5']} # Red
export C_09=${primer_dark['base-color-red-3']} # Light Red
export C_02=${primer_dark['base-color-green-5']} # Green
export C_10=${primer_dark['base-color-green-3']} # Light Green
export C_03=${primer_dark['base-color-yellow-5']} # Yellow
export C_11=${primer_dark['base-color-yellow-3']} # Light Yellow
export C_04=${primer_dark['base-color-blue-5']} # Blue
export C_12=${primer_dark['base-color-blue-3']} # Light Blue
export C_05=${primer_dark['base-color-purple-5']} # Purple
export C_13=${primer_dark['base-color-purple-3']} # Light Purple
export C_06=${primer_dark['base-color-pink-5']} # Turquoise
export C_14=${primer_dark['base-color-pink-3']} # Light Turquoise

export C_PAL="['${C_00}','${C_01}','${C_02}','${C_03}','${C_04}','${C_05}','${C_06}','${C_07}','${C_08}','${C_09}','${C_10}','${C_11}','${C_12}','${C_13}','${C_14}','${C_15}']"
44 changes: 22 additions & 22 deletions config/gnome/lib/__terminal-colors-primer_dark_dimmed.bash
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,29 @@ SRC_PATH=
SRC_PATH="$(dirname "$(realpath "${0}")")"
source "${SRC_PATH}/__colors-primer.bash"

export C_FG=${primer_dark_dimmed['white']}
export C_BG=${primer_dark_dimmed['black']}
export C_HFG=${primer_dark_dimmed['gray-0']}
export C_HBG=${primer_dark_dimmed['pink-7']}
export C_CFG=${primer_dark_dimmed['purple-8']}
export C_CBG=${primer_light['pink-3']}
export C_FG=${primer_dark_dimmed['base-color-white']}
export C_BG=${primer_dark_dimmed['base-color-black']}
export C_HFG=${primer_dark_dimmed['base-color-neutral-11']}
export C_HBG=${primer_dark_dimmed['base-color-pink-7']}
export C_CFG=${primer_dark_dimmed['base-color-purple-8']}
export C_CBG=${primer_light['base-color-pink-3']}

export C_00=${primer_dark_dimmed['gray-6']} # Black
export C_08=${primer_dark_dimmed['gray-4']} # Light Black
export C_07=${primer_dark_dimmed['gray-2']} # Grey
export C_15=${primer_dark_dimmed['gray-0']} # Light Grey
export C_00=${primer_dark_dimmed['base-color-neutral-1']} # Black
export C_08=${primer_dark_dimmed['base-color-neutral-4']} # Light Black
export C_07=${primer_dark_dimmed['base-color-neutral-8']} # Grey
export C_15=${primer_dark_dimmed['base-color-neutral-9']} # Light Grey

export C_01=${primer_dark_dimmed['red-5']} # Red
export C_09=${primer_dark_dimmed['red-3']} # Light Red
export C_02=${primer_dark_dimmed['green-5']} # Green
export C_10=${primer_dark_dimmed['green-3']} # Light Green
export C_03=${primer_dark_dimmed['yellow-5']} # Yellow
export C_11=${primer_dark_dimmed['yellow-3']} # Light Yellow
export C_04=${primer_dark_dimmed['blue-5']} # Blue
export C_12=${primer_dark_dimmed['blue-3']} # Light Blue
export C_05=${primer_dark_dimmed['purple-5']} # Purple
export C_13=${primer_dark_dimmed['purple-3']} # Light Purple
export C_06=${primer_dark_dimmed['pink-5']} # Turquoise
export C_14=${primer_dark_dimmed['pink-3']} # Light Turquoise
export C_01=${primer_dark_dimmed['base-color-red-5']} # Red
export C_09=${primer_dark_dimmed['base-color-red-3']} # Light Red
export C_02=${primer_dark_dimmed['base-color-green-5']} # Green
export C_10=${primer_dark_dimmed['base-color-green-3']} # Light Green
export C_03=${primer_dark_dimmed['base-color-yellow-5']} # Yellow
export C_11=${primer_dark_dimmed['base-color-yellow-3']} # Light Yellow
export C_04=${primer_dark_dimmed['base-color-blue-5']} # Blue
export C_12=${primer_dark_dimmed['base-color-blue-3']} # Light Blue
export C_05=${primer_dark_dimmed['base-color-purple-5']} # Purple
export C_13=${primer_dark_dimmed['base-color-purple-3']} # Light Purple
export C_06=${primer_dark_dimmed['base-color-pink-5']} # Turquoise
export C_14=${primer_dark_dimmed['base-color-pink-3']} # Light Turquoise

export C_PAL="['${C_00}','${C_01}','${C_02}','${C_03}','${C_04}','${C_05}','${C_06}','${C_07}','${C_08}','${C_09}','${C_10}','${C_11}','${C_12}','${C_13}','${C_14}','${C_15}']"
44 changes: 22 additions & 22 deletions config/gnome/lib/__terminal-colors-primer_light.bash
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,29 @@ SRC_PATH=
SRC_PATH="$(dirname "$(realpath "${0}")")"
source "${SRC_PATH}/__colors-primer.bash"

export C_FG=${primer_light['gray-9']}
export C_BG=${primer_light['gray-1']}
export C_HFG=${primer_light['gray-0']}
export C_HBG=${primer_light['pink-5']}
export C_CFG=${primer_light['purple-0']}
export C_CBG=${primer_light['pink-6']}
export C_FG=${primer_light['base-color-black']}
export C_BG=${primer_light['base-color-neutral-2']}
export C_HFG=${primer_light['base-color-neutral-0']}
export C_HBG=${primer_light['base-color-pink-7']}
export C_CFG=${primer_light['base-color-purple-8']}
export C_CBG=${primer_light['base-color-pink-3']}

export C_00=${primer_light['black']} # Black
export C_08=${primer_light['gray-7']} # Light Black
export C_07=${primer_light['gray-5']} # Grey
export C_15=${primer_light['gray-4']} # Light Grey
export C_00=${primer_light['base-color-neutral-10']} # Black
export C_08=${primer_light['base-color-neutral-11']} # Light Black
export C_07=${primer_light['base-color-neutral-8']} # Grey
export C_15=${primer_light['base-color-neutral-9']} # Light Grey

export C_01=${primer_light['red-5']} # Red
export C_09=${primer_light['red-4']} # Light Red
export C_02=${primer_light['green-5']} # Green
export C_10=${primer_light['green-4']} # Light Green
export C_03=${primer_light['yellow-5']} # Yellow
export C_11=${primer_light['yellow-4']} # Light Yellow
export C_04=${primer_light['blue-5']} # Blue
export C_12=${primer_light['blue-4']} # Light Blue
export C_05=${primer_light['purple-5']} # Purple
export C_13=${primer_light['purple-4']} # Light Purple
export C_06=${primer_light['pink-5']} # Turquoise
export C_14=${primer_light['pink-4']} # Light Turquoise
export C_01=${primer_light['base-color-red-5']} # Red
export C_09=${primer_light['base-color-red-3']} # Light Red
export C_02=${primer_light['base-color-green-5']} # Green
export C_10=${primer_light['base-color-green-3']} # Light Green
export C_03=${primer_light['base-color-yellow-5']} # Yellow
export C_11=${primer_light['base-color-yellow-3']} # Light Yellow
export C_04=${primer_light['base-color-blue-5']} # Blue
export C_12=${primer_light['base-color-blue-3']} # Light Blue
export C_05=${primer_light['base-color-purple-5']} # Purple
export C_13=${primer_light['base-color-purple-3']} # Light Purple
export C_06=${primer_light['base-color-pink-5']} # Turquoise
export C_14=${primer_light['base-color-pink-3']} # Light Turquoise

export C_PAL="['${C_00}','${C_01}','${C_02}','${C_03}','${C_04}','${C_05}','${C_06}','${C_07}','${C_08}','${C_09}','${C_10}','${C_11}','${C_12}','${C_13}','${C_14}','${C_15}']"
6 changes: 6 additions & 0 deletions config/gnome/lib/palettes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@ Inside directory `config/gnome/lib` run
npm run primer --silent --prefix ./palettes > __colors-primer.bash
```



```bash
npm install "@mui/material"
npm install "@primer/primitives"
```
Loading

0 comments on commit d1cb13a

Please sign in to comment.