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
135 lines
2.1 KiB
JSON
135 lines
2.1 KiB
JSON
{
|
|
"colors": [
|
|
{
|
|
"color": "(0.1922, 0.2, 0.2667, 1)",
|
|
"index": 0
|
|
},
|
|
{
|
|
"color": "(0.2863, 0.3059, 0.498, 1)",
|
|
"index": 1
|
|
},
|
|
{
|
|
"color": "(0.4431, 0.4667, 0.7137, 1)",
|
|
"index": 2
|
|
},
|
|
{
|
|
"color": "(0.5294, 0.549, 0.7569, 1)",
|
|
"index": 3
|
|
},
|
|
{
|
|
"color": "(0.2627, 0.3569, 0.3765, 1)",
|
|
"index": 4
|
|
},
|
|
{
|
|
"color": "(0.3647, 0.5176, 0.5569, 1)",
|
|
"index": 5
|
|
},
|
|
{
|
|
"color": "(0.5059, 0.7529, 0.8118, 1)",
|
|
"index": 6
|
|
},
|
|
{
|
|
"color": "(0.6118, 0.7961, 0.8392, 1)",
|
|
"index": 7
|
|
},
|
|
{
|
|
"color": "(0.3137, 0.3843, 0.2941, 1)",
|
|
"index": 8
|
|
},
|
|
{
|
|
"color": "(0.3569, 0.549, 0.302, 1)",
|
|
"index": 9
|
|
},
|
|
{
|
|
"color": "(0.549, 0.7451, 0.4863, 1)",
|
|
"index": 10
|
|
},
|
|
{
|
|
"color": "(0.651, 0.8706, 0.5843, 1)",
|
|
"index": 11
|
|
},
|
|
{
|
|
"color": "(0.298, 0.1686, 0.1569, 1)",
|
|
"index": 12
|
|
},
|
|
{
|
|
"color": "(0.502, 0.3412, 0.3255, 1)",
|
|
"index": 13
|
|
},
|
|
{
|
|
"color": "(0.6627, 0.4235, 0.4039, 1)",
|
|
"index": 14
|
|
},
|
|
{
|
|
"color": "(0.7882, 0.6627, 0.651, 1)",
|
|
"index": 15
|
|
},
|
|
{
|
|
"color": "(0.2471, 0.1725, 0.1686, 1)",
|
|
"index": 16
|
|
},
|
|
{
|
|
"color": "(0.4941, 0.3765, 0.2588, 1)",
|
|
"index": 17
|
|
},
|
|
{
|
|
"color": "(0.5137, 0.4275, 0.3412, 1)",
|
|
"index": 18
|
|
},
|
|
{
|
|
"color": "(0.7882, 0.6314, 0.4784, 1)",
|
|
"index": 19
|
|
},
|
|
{
|
|
"color": "(0.3725, 0.3686, 0.2667, 1)",
|
|
"index": 20
|
|
},
|
|
{
|
|
"color": "(0.5765, 0.5686, 0.4196, 1)",
|
|
"index": 21
|
|
},
|
|
{
|
|
"color": "(0.7843, 0.7725, 0.5961, 1)",
|
|
"index": 22
|
|
},
|
|
{
|
|
"color": "(0.9255, 0.9137, 0.7255, 1)",
|
|
"index": 23
|
|
},
|
|
{
|
|
"color": "(0.2118, 0.1686, 0.2157, 1)",
|
|
"index": 24
|
|
},
|
|
{
|
|
"color": "(0.3529, 0.2353, 0.3608, 1)",
|
|
"index": 25
|
|
},
|
|
{
|
|
"color": "(0.4745, 0.3294, 0.4863, 1)",
|
|
"index": 26
|
|
},
|
|
{
|
|
"color": "(0.6745, 0.4353, 0.6902, 1)",
|
|
"index": 27
|
|
},
|
|
{
|
|
"color": "(0.1255, 0.1216, 0.1216, 1)",
|
|
"index": 28
|
|
},
|
|
{
|
|
"color": "(0.1765, 0.1765, 0.1765, 1)",
|
|
"index": 29
|
|
},
|
|
{
|
|
"color": "(0.4314, 0.4314, 0.4314, 1)",
|
|
"index": 30
|
|
},
|
|
{
|
|
"color": "(0.6667, 0.6667, 0.6667, 1)",
|
|
"index": 31
|
|
}
|
|
],
|
|
"comment": "Author: Erevoid",
|
|
"height": 4,
|
|
"width": 8
|
|
} |