1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00
Pixelorama/pixelorama_data/Palettes/Triad.json
Emmanouil Papadeas 0cb98f6e2e
Revert palette file format back to JSON (#967)
* Some static typing and use notification to check if the theme has changed in swatches

* Use Vector2i for scrolling, hide scrollbars in the node properties

* More static typing improvements

* More static typing & docstring improvements, remove some methods from Palettes.gd

* [WIP] Go back to json for palettes instead of tres

* Revert back to using dictionaries for palette colors instead of array

Reverts part of the previous commit

* Read width & height from files, don't store the name

* Fix palette renaming

* Copy non-json palettes into json files

* Fix palette duplication

* Add a new _fill_imported_palette_with_colors() to avoid duplicate code in import file methods

* Fix palette file importing when not initialising

* Export palettes as images

* Replace "tres" with "json" filter in the open sprite dialog

* When exporting a palette as an image, automatically set the file name to the palette name

* Replace default palette files with json

* Remove the Global.palette_panel variable, use signals instead.

* Static typing in signals

* Fix warning in Palettes.gd

* Fix formatting

* Add missing comments to the palette files

* Update Palettes.gd

* A few more static typing improvements
2023-12-23 00:28:35 +02:00

107 lines
1.7 KiB
JSON

{
"colors": [
{
"color": "(0.5216, 0.1686, 0.1922, 1)",
"index": 0
},
{
"color": "(0.8, 0.3922, 0.4196, 1)",
"index": 1
},
{
"color": "(0.8863, 0.8745, 0.4, 1)",
"index": 2
},
{
"color": "(0.2314, 0.4667, 0.6, 1)",
"index": 3
},
{
"color": "(0.2196, 0.4, 0.502, 1)",
"index": 4
},
{
"color": "(0.0784, 0.102, 0.5216, 1)",
"index": 5
},
{
"color": "(0.2039, 0.2314, 0.8196, 1)",
"index": 6
},
{
"color": "(0.902, 0.4118, 0.1843, 1)",
"index": 7
},
{
"color": "(0.2471, 0.6196, 0.0902, 1)",
"index": 8
},
{
"color": "(0.2275, 0.5216, 0.102, 1)",
"index": 9
},
{
"color": "(0.5373, 0.0157, 0, 1)",
"index": 10
},
{
"color": "(0.8196, 0.0196, 0, 1)",
"index": 11
},
{
"color": "(0.8667, 0.902, 0.0314, 1)",
"index": 12
},
{
"color": "(0.0627, 0.3686, 0.6196, 1)",
"index": 13
},
{
"color": "(0.0275, 0.2941, 0.5216, 1)",
"index": 14
},
{
"color": "(0.5137, 0.0824, 0.5373, 1)",
"index": 15
},
{
"color": "(0.7843, 0.2588, 0.8196, 1)",
"index": 16
},
{
"color": "(0.902, 0.749, 0.2471, 1)",
"index": 17
},
{
"color": "(0.1373, 0.6196, 0.5216, 1)",
"index": 18
},
{
"color": "(0.1373, 0.5216, 0.4392, 1)",
"index": 19
},
{
"color": "(0.1137, 0.5373, 0.102, 1)",
"index": 20
},
{
"color": "(0.3098, 0.8196, 0.2863, 1)",
"index": 21
},
{
"color": "(0.3765, 0.2745, 0.902, 1)",
"index": 22
},
{
"color": "(0.6196, 0.349, 0.1569, 1)",
"index": 23
},
{
"color": "(0.5216, 0.3098, 0.1569, 1)",
"index": 24
}
],
"comment": "Author: Erevoid",
"height": 4,
"width": 8
}