mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-19 01:29:49 +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
107 lines
1.5 KiB
JSON
107 lines
1.5 KiB
JSON
{
|
|
"colors": [
|
|
{
|
|
"color": "(0.702, 0.3137, 0.0078, 1)",
|
|
"index": 0
|
|
},
|
|
{
|
|
"color": "(1, 0.6, 0.2667, 1)",
|
|
"index": 1
|
|
},
|
|
{
|
|
"color": "(1, 0.4392, 0, 1)",
|
|
"index": 2
|
|
},
|
|
{
|
|
"color": "(0, 0.6, 0.702, 1)",
|
|
"index": 3
|
|
},
|
|
{
|
|
"color": "(0, 0.8549, 1, 1)",
|
|
"index": 4
|
|
},
|
|
{
|
|
"color": "(0.702, 0.0078, 0.0078, 1)",
|
|
"index": 5
|
|
},
|
|
{
|
|
"color": "(1, 0.2667, 0.2667, 1)",
|
|
"index": 6
|
|
},
|
|
{
|
|
"color": "(1, 0.0078, 0.0039, 1)",
|
|
"index": 7
|
|
},
|
|
{
|
|
"color": "(0, 0.702, 0.2, 1)",
|
|
"index": 8
|
|
},
|
|
{
|
|
"color": "(0, 1, 0.2824, 1)",
|
|
"index": 9
|
|
},
|
|
{
|
|
"color": "(0.502, 0.0078, 0.702, 1)",
|
|
"index": 10
|
|
},
|
|
{
|
|
"color": "(0.7922, 0.2667, 1, 1)",
|
|
"index": 11
|
|
},
|
|
{
|
|
"color": "(0.702, 0, 0.9922, 1)",
|
|
"index": 12
|
|
},
|
|
{
|
|
"color": "(0.4941, 0.702, 0, 1)",
|
|
"index": 13
|
|
},
|
|
{
|
|
"color": "(0.7098, 1, 0, 1)",
|
|
"index": 14
|
|
},
|
|
{
|
|
"color": "(0.0078, 0.0667, 0.702, 1)",
|
|
"index": 15
|
|
},
|
|
{
|
|
"color": "(0.2667, 0.3294, 1, 1)",
|
|
"index": 16
|
|
},
|
|
{
|
|
"color": "(0.0039, 0.0824, 1, 1)",
|
|
"index": 17
|
|
},
|
|
{
|
|
"color": "(0.702, 0.549, 0, 1)",
|
|
"index": 18
|
|
},
|
|
{
|
|
"color": "(1, 0.7843, 0, 1)",
|
|
"index": 19
|
|
},
|
|
{
|
|
"color": "(0.0078, 0.6196, 0.702, 1)",
|
|
"index": 20
|
|
},
|
|
{
|
|
"color": "(0.4745, 0.9373, 1, 1)",
|
|
"index": 21
|
|
},
|
|
{
|
|
"color": "(0, 0.8824, 1, 1)",
|
|
"index": 22
|
|
},
|
|
{
|
|
"color": "(0.702, 0.302, 0, 1)",
|
|
"index": 23
|
|
},
|
|
{
|
|
"color": "(1, 0.4314, 0, 1)",
|
|
"index": 24
|
|
}
|
|
],
|
|
"comment": "Author: Erevoid",
|
|
"height": 4,
|
|
"width": 8
|
|
} |