ment-mx / Prism

Creates a beautiful artboard color palette with all your 'Document Colors' and their respective color label in a variety of formats.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

json format export?

nilshendriks opened this issue · comments

Would be nice to have a json format export option as well.

@nilshendriks
It would be solve if this PR will be merged.

@nilshendriks
Version 1.0.7 was released yesterday. It has added JSON format export. This JSON format is for importing to Sketch Measure but it might be help you.

Looks like this..

[
    {
        "name": "Timberwolf",
        "color": {
            "r": 216,
            "g": 216,
            "b": 216,
            "a": 1,
            "color-hex": "#D8D8D8 100%",
            "argb-hex": "#FFD8D8D8",
            "css-rgba": "rgba(216,216,216,1)",
            "ui-color": "(r:0.847 g:0.847 b:0.847 a:1.000)"
        }
    },
    {
        "name": "Medium spring bud",
        "color": {
            "r": 184,
            "g": 233,
            "b": 134,
            "a": 1,
            "color-hex": "#B8E986 100%",
            "argb-hex": "#FFB8E986",
            "css-rgba": "rgba(184,233,134,1)",
            "ui-color": "(r:0.721 g:0.913 b:0.527 a:1.000)"
        }
    },
    {
        "name": "Deep magenta",
        "color": {
            "r": 208,
            "g": 2,
            "b": 179,
            "a": 1,
            "color-hex": "#D002B3 100%",
            "argb-hex": "#FFD002B3",
            "css-rgba": "rgba(208,2,179,1)",
            "ui-color": "(r:0.816 g:0.008 b:0.700 a:1.000)"
        }
    }
]