mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
0cb98f6e2e
* 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
147 lines
2.1 KiB
JSON
147 lines
2.1 KiB
JSON
{
|
|
"colors": [
|
|
{
|
|
"color": "(0.7569, 0.3294, 0, 1)",
|
|
"index": 0
|
|
},
|
|
{
|
|
"color": "(0.502, 0.2196, 0, 1)",
|
|
"index": 1
|
|
},
|
|
{
|
|
"color": "(1, 0.4471, 0, 1)",
|
|
"index": 2
|
|
},
|
|
{
|
|
"color": "(0.2471, 0.1098, 0, 1)",
|
|
"index": 3
|
|
},
|
|
{
|
|
"color": "(0.902, 0.4039, 0, 1)",
|
|
"index": 4
|
|
},
|
|
{
|
|
"color": "(0.7569, 0, 0, 1)",
|
|
"index": 5
|
|
},
|
|
{
|
|
"color": "(0.502, 0, 0, 1)",
|
|
"index": 6
|
|
},
|
|
{
|
|
"color": "(1, 0, 0, 1)",
|
|
"index": 7
|
|
},
|
|
{
|
|
"color": "(0.2471, 0, 0, 1)",
|
|
"index": 8
|
|
},
|
|
{
|
|
"color": "(0.902, 0.0039, 0.0039, 1)",
|
|
"index": 9
|
|
},
|
|
{
|
|
"color": "(0.5294, 0, 0.7569, 1)",
|
|
"index": 10
|
|
},
|
|
{
|
|
"color": "(0.349, 0, 0.502, 1)",
|
|
"index": 11
|
|
},
|
|
{
|
|
"color": "(0.702, 0, 1, 1)",
|
|
"index": 12
|
|
},
|
|
{
|
|
"color": "(0.1765, 0, 0.2471, 1)",
|
|
"index": 13
|
|
},
|
|
{
|
|
"color": "(0.6314, 0, 0.8941, 1)",
|
|
"index": 14
|
|
},
|
|
{
|
|
"color": "(0, 0.0627, 0.7569, 1)",
|
|
"index": 15
|
|
},
|
|
{
|
|
"color": "(0, 0.0431, 0.502, 1)",
|
|
"index": 16
|
|
},
|
|
{
|
|
"color": "(0, 0.0784, 1, 1)",
|
|
"index": 17
|
|
},
|
|
{
|
|
"color": "(0, 0.0157, 0.2471, 1)",
|
|
"index": 18
|
|
},
|
|
{
|
|
"color": "(0.0039, 0.0784, 0.902, 1)",
|
|
"index": 19
|
|
},
|
|
{
|
|
"color": "(0, 0.6667, 0.7569, 1)",
|
|
"index": 20
|
|
},
|
|
{
|
|
"color": "(0, 0.4392, 0.502, 1)",
|
|
"index": 21
|
|
},
|
|
{
|
|
"color": "(0, 0.8824, 1, 1)",
|
|
"index": 22
|
|
},
|
|
{
|
|
"color": "(0, 0.2196, 0.2471, 1)",
|
|
"index": 23
|
|
},
|
|
{
|
|
"color": "(0, 0.7922, 0.902, 1)",
|
|
"index": 24
|
|
},
|
|
{
|
|
"color": "(0, 0.7569, 0.2118, 1)",
|
|
"index": 25
|
|
},
|
|
{
|
|
"color": "(0, 0.502, 0.1373, 1)",
|
|
"index": 26
|
|
},
|
|
{
|
|
"color": "(0, 1, 0.2824, 1)",
|
|
"index": 27
|
|
},
|
|
{
|
|
"color": "(0, 0.2471, 0.0667, 1)",
|
|
"index": 28
|
|
},
|
|
{
|
|
"color": "(0, 0.902, 0.2549, 1)",
|
|
"index": 29
|
|
},
|
|
{
|
|
"color": "(0.7216, 0.7569, 0, 1)",
|
|
"index": 30
|
|
},
|
|
{
|
|
"color": "(0.4745, 0.502, 0, 1)",
|
|
"index": 31
|
|
},
|
|
{
|
|
"color": "(0.949, 1, 0, 1)",
|
|
"index": 32
|
|
},
|
|
{
|
|
"color": "(0.2392, 0.2471, 0, 1)",
|
|
"index": 33
|
|
},
|
|
{
|
|
"color": "(0.8588, 0.902, 0, 1)",
|
|
"index": 34
|
|
}
|
|
],
|
|
"comment": "Author: Erevoid",
|
|
"height": 5,
|
|
"width": 8
|
|
} |