Fix sw theme and rename to black-white

This commit is contained in:
Thomas Pointhuber 2021-10-30 18:11:16 +02:00
parent 80ef42a1e8
commit 66bbe6961d
10 changed files with 84 additions and 45 deletions

View file

@ -45,7 +45,7 @@ color-scheme | screenshot
**kicad-2020** | ![Default theme for KiCad 6.0](https://raw.githubusercontent.com/pointhi/kicad-color-schemes/master/kicad-2020/eeschema.png)
**solarized-dark** *http://ethanschoonover.com/solarized* | ![Dark theme based on solarized](https://raw.githubusercontent.com/pointhi/kicad-color-schemes/master/solarized-dark/eeschema.png)
**solarized-light** *http://ethanschoonover.com/solarized* | ![Light theme based on solarized](https://raw.githubusercontent.com/pointhi/kicad-color-schemes/master/solarized-light/eeschema.png)
**sw** | ![simple black/white theme](https://raw.githubusercontent.com/pointhi/kicad-color-schemes/master/sw/eeschema.png)
**black-white** | ![simple black/white theme](https://raw.githubusercontent.com/pointhi/kicad-color-schemes/master/black-white/eeschema.png)
**blue-tone** | ![Blue tone theme](https://raw.githubusercontent.com/pointhi/kicad-color-schemes/master/blue-tone/eeschema.png)
**behave-dark** *https://atom.io/themes/behave-theme* | ![Dark theme based on behave](https://raw.githubusercontent.com/pointhi/kicad-color-schemes/master/behave-dark/eeschema.png)
**neon** *Inspired by forum user BobZ* | ![Neon coloured theme inspired by forum user BobZ](https://raw.githubusercontent.com/pointhi/kicad-color-schemes/master/neon/eeschema.png)

View file

@ -0,0 +1,38 @@
{
"meta": {
"filename": "black-white",
"name": "black-white",
"version": 0
},
"schematic": {
"background": "rgb(255, 255, 255)",
"brightened": "rgb(127, 127, 127)",
"bus": "rgb(0, 0, 0)",
"component_body": "rgb(192, 192, 192)",
"component_outline": "rgb(0, 0, 0)",
"cursor": "rgb(0, 0, 0)",
"erc_error": "rgb(0, 0, 0)",
"erc_warning": "rgb(0, 0, 0)",
"fields": "rgb(0, 0, 0)",
"grid": "rgb(0, 0, 0)",
"hidden": "rgb(0, 0, 0)",
"junction": "rgb(0, 0, 0)",
"label_global": "rgb(0, 0, 0)",
"label_hier": "rgb(0, 0, 0)",
"label_local": "rgb(0, 0, 0)",
"net_name": "rgb(0, 0, 0)",
"no_connect": "rgb(0, 0, 0)",
"note": "rgb(0, 0, 0)",
"pin": "rgb(0, 0, 0)",
"pin_name": "rgb(0, 0, 0)",
"pin_number": "rgb(0, 0, 0)",
"reference": "rgb(0, 0, 0)",
"sheet": "rgb(0, 0, 0)",
"sheet_filename": "rgb(0, 0, 0)",
"sheet_label": "rgb(0, 0, 0)",
"sheet_name": "rgb(0, 0, 0)",
"value": "rgb(0, 0, 0)",
"wire": "rgb(0, 0, 0)",
"worksheet": "rgb(0, 0, 0)"
}
}

View file

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

View file

@ -1,6 +1,6 @@
{
"$schema": "https://gitlab.com/qu1ck/kicad/-/raw/pcm/kicad/pcm/schemas/pcm.v1.schema.json#",
"name": "black/white theme",
"name": "black-white theme",
"description": "black-white color theme",
"description_full": "black-white color theme",
"identifier": "theme-black-white",

Binary file not shown.

View file

@ -125,6 +125,7 @@ if __name__ == "__main__":
schema = create_and_get_pcm(path)
if schema:
schemas.append(schema)
schemas = sorted(schemas, key=lambda d: d['identifier'])
# write packages.json and repository.json
write_packages_json(schemas)

View file

@ -2,7 +2,7 @@
"packages": [
{
"$schema": "https://gitlab.com/qu1ck/kicad/-/raw/pcm/kicad/pcm/schemas/pcm.v1.schema.json#",
"name": "black/white theme",
"name": "black-white theme",
"description": "black-white color theme",
"description_full": "black-white color theme",
"identifier": "theme-black-white",
@ -28,45 +28,10 @@
"version": "1.0",
"status": "stable",
"kicad_version": "5.99",
"download_sha256": "8d0a7b4d6df84ef9aac98ce5426f6ccf8375b85f4fd03b6907d7ace3727bf789",
"download_size": 426,
"download_url": "https://raw.githubusercontent.com/pointhi/kicad-color-schemes/master/sw/theme-black-white_v1.0_pcm.zip",
"install_size": 851
}
]
},
{
"$schema": "https://gitlab.com/qu1ck/kicad/-/raw/pcm/kicad/pcm/schemas/pcm.v1.schema.json#",
"name": "solarized-light theme",
"description": "solarized-light color theme",
"description_full": "solarized-light color theme",
"identifier": "theme-solarized-light",
"type": "colortheme",
"author": {
"name": "Thomas Pointhuber",
"contact": {
"web": "https://github.com/pointhi/kicad-color-schemes/"
}
},
"maintainer": {
"name": "Thomas Pointhuber",
"contact": {
"web": "https://github.com/pointhi/kicad-color-schemes/"
}
},
"license": "CC0-1.0",
"resources": {
"Github": "https://github.com/pointhi/kicad-color-schemes"
},
"versions": [
{
"version": "1.0",
"status": "stable",
"kicad_version": "5.99",
"download_sha256": "69b95828244851185058788f105a38d9e0f4bf88b5365bc480cac2cfc52d7687",
"download_size": 930,
"download_url": "https://raw.githubusercontent.com/pointhi/kicad-color-schemes/master/solarized-light/theme-solarized-light_v1.0_pcm.zip",
"install_size": 1964
"download_sha256": "4950e7749fc2c13478494f392d74d3626bafe2ccab80bb5514f2da67647455f6",
"download_size": 831,
"download_url": "https://raw.githubusercontent.com/pointhi/kicad-color-schemes/master/black-white/theme-black-white_v1.0_pcm.zip",
"install_size": 1928
}
]
},
@ -104,6 +69,41 @@
"install_size": 1954
}
]
},
{
"$schema": "https://gitlab.com/qu1ck/kicad/-/raw/pcm/kicad/pcm/schemas/pcm.v1.schema.json#",
"name": "solarized-light theme",
"description": "solarized-light color theme",
"description_full": "solarized-light color theme",
"identifier": "theme-solarized-light",
"type": "colortheme",
"author": {
"name": "Thomas Pointhuber",
"contact": {
"web": "https://github.com/pointhi/kicad-color-schemes/"
}
},
"maintainer": {
"name": "Thomas Pointhuber",
"contact": {
"web": "https://github.com/pointhi/kicad-color-schemes/"
}
},
"license": "CC0-1.0",
"resources": {
"Github": "https://github.com/pointhi/kicad-color-schemes"
},
"versions": [
{
"version": "1.0",
"status": "stable",
"kicad_version": "5.99",
"download_sha256": "69b95828244851185058788f105a38d9e0f4bf88b5365bc480cac2cfc52d7687",
"download_size": 930,
"download_url": "https://raw.githubusercontent.com/pointhi/kicad-color-schemes/master/solarized-light/theme-solarized-light_v1.0_pcm.zip",
"install_size": 1964
}
]
}
]
}

View file

@ -8,9 +8,9 @@
},
"name": "kicad-color-schemes repository by @pointhi",
"packages": {
"sha256": "3b9af21722a9e6fbd5383499a6b489960627f384f879afd57fe55cb614510636",
"update_time_utc": "2021-10-30 16:03:13",
"update_timestamp": 1635609793,
"sha256": "4637d33edfe44fe01d0634e84b6318b3b2c1dab220634e261d17230d84109d1d",
"update_time_utc": "2021-10-30 16:10:32",
"update_timestamp": 1635610232,
"url": "https://raw.githubusercontent.com/pointhi/kicad-color-schemes/master/packages.json"
}
}

Binary file not shown.