dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

package.json (5877B)


      1 {
      2   "$schema": "https://www.raycast.com/schemas/extension.json",
      3   "name": "color-picker",
      4   "title": "Color Picker",
      5   "description": "Pick and organize colors, everywhere on your Mac",
      6   "icon": "icon.png",
      7   "author": "thomas",
      8   "contributors": [
      9     "otakustay",
     10     "EmersonEmerson",
     11     "pernielsentikaer",
     12     "arronhunt",
     13     "kvdo2",
     14     "thomaslombart",
     15     "litomore",
     16     "samuelkraft",
     17     "ridemountainpig",
     18     "xilopaint",
     19     "anwarulislam"
     20   ],
     21   "categories": [
     22     "Design Tools"
     23   ],
     24   "license": "MIT",
     25   "commands": [
     26     {
     27       "name": "pick-color",
     28       "title": "Pick Color",
     29       "description": "Pick a color on your desktop",
     30       "mode": "no-view",
     31       "preferences": [
     32         {
     33           "name": "showColorName",
     34           "title": "Show color name after picking",
     35           "description": "Show the name of the picked color after picking",
     36           "type": "checkbox",
     37           "label": "Show",
     38           "default": false,
     39           "required": false
     40         }
     41       ]
     42     },
     43     {
     44       "name": "extract-color",
     45       "title": "Extract Color from Selected Image",
     46       "description": "Extract colors from the selected Finder image",
     47       "mode": "view"
     48     },
     49     {
     50       "name": "menu-bar",
     51       "title": "Menu Bar Color Picker",
     52       "description": "Access your colors from the menu bar",
     53       "mode": "menu-bar"
     54     },
     55     {
     56       "name": "organize-colors",
     57       "title": "Organize Colors",
     58       "description": "Organize your colors",
     59       "mode": "view",
     60       "preferences": [
     61         {
     62           "data": [
     63             {
     64               "title": "Paste to Active App",
     65               "value": "paste"
     66             },
     67             {
     68               "title": "Copy to Clipboard",
     69               "value": "copy"
     70             }
     71           ],
     72           "default": "copy",
     73           "description": "The primary action to perform on a selected color",
     74           "name": "primaryAction",
     75           "required": false,
     76           "title": "Primary Action",
     77           "type": "dropdown"
     78         }
     79       ]
     80     },
     81     {
     82       "name": "generate-colors",
     83       "title": "Generate Colors",
     84       "description": "Generate colors using AI",
     85       "mode": "view",
     86       "arguments": [
     87         {
     88           "name": "prompt",
     89           "placeholder": "Prompt",
     90           "type": "text",
     91           "required": true
     92         }
     93       ]
     94     },
     95     {
     96       "name": "color-names",
     97       "title": "Color Names",
     98       "description": "Get the name of a color",
     99       "mode": "view",
    100       "preferences": [
    101         {
    102           "type": "dropdown",
    103           "name": "colorNamesPerGroup",
    104           "required": false,
    105           "title": "Color Names Per Group",
    106           "description": "The number of color names to display per group",
    107           "data": [
    108             {
    109               "title": "5",
    110               "value": "5"
    111             },
    112             {
    113               "title": "10",
    114               "value": "10"
    115             },
    116             {
    117               "title": "25",
    118               "value": "25"
    119             },
    120             {
    121               "title": "All",
    122               "value": "Infinity"
    123             }
    124           ]
    125         }
    126       ]
    127     },
    128     {
    129       "name": "color-wheel",
    130       "title": "Color Wheel",
    131       "description": "Pick a color with color wheel",
    132       "mode": "view"
    133     },
    134     {
    135       "name": "convert-color",
    136       "title": "Convert Color",
    137       "description": "Convert any color to a different format",
    138       "mode": "view",
    139       "arguments": [
    140         {
    141           "name": "text",
    142           "type": "text",
    143           "required": false,
    144           "placeholder": "#FF6363"
    145         }
    146       ]
    147     }
    148   ],
    149   "preferences": [
    150     {
    151       "data": [
    152         {
    153           "title": "HEX - #FF6363",
    154           "value": "hex"
    155         },
    156         {
    157           "title": "HEX Lower Case - #ff6363",
    158           "value": "hex-lower-case"
    159         },
    160         {
    161           "title": "HEX No Prefix - FF6363",
    162           "value": "hex-no-prefix"
    163         },
    164         {
    165           "title": "RGB - rgb(255 99 99 / 100%)",
    166           "value": "rgb"
    167         },
    168         {
    169           "title": "RGB % - rgb(100% 38% 38% / 100%)",
    170           "value": "rgb-percentage"
    171         },
    172         {
    173           "title": "RGBA - rgba(255, 99, 99, 1)",
    174           "value": "rgba"
    175         },
    176         {
    177           "title": "RGBA % - rgba(100%, 39%, 39%, 1)",
    178           "value": "rgba-percentage"
    179         },
    180         {
    181           "title": "HSLA - hsla(0, 100%, 69%, 1)",
    182           "value": "hsla"
    183         },
    184         {
    185           "title": "HSVA - color(hsv 43.082 81.145 100)",
    186           "value": "hsva"
    187         },
    188         {
    189           "title": "OKLCH - oklch(0.6987 0.1902 23.468)",
    190           "value": "oklch"
    191         },
    192         {
    193           "title": "LCH - lch(63.127 68.676 28.723)",
    194           "value": "lch"
    195         },
    196         {
    197           "title": "P3 - color(display-p3 0.9248 0.428 0.4078)",
    198           "value": "p3"
    199         }
    200       ],
    201       "default": "hex",
    202       "description": "The color format to use when copying/pasting colors",
    203       "name": "colorFormat",
    204       "required": false,
    205       "title": "Color Format",
    206       "type": "dropdown"
    207     }
    208   ],
    209   "dependencies": {
    210     "@raycast/api": "^1.99.4",
    211     "@raycast/utils": "^1.19.1",
    212     "color-namer": "^1.4.0",
    213     "colorjs.io": "^0.5.2",
    214     "lodash": "^4.17.21",
    215     "raycast-cross-extension": "^0.2.3"
    216   },
    217   "devDependencies": {
    218     "@raycast/eslint-config": "^2.0.4",
    219     "@types/color-namer": "^1.3.3",
    220     "@types/lodash": "^4.17.17",
    221     "@types/node": "^22.15.29",
    222     "@types/react": "^19.1.6",
    223     "eslint": "^9.28.0",
    224     "prettier": "^3.5.3",
    225     "react": "^19.1.0",
    226     "typescript": "^5.8.3"
    227   },
    228   "scripts": {
    229     "build": "ray build -e dist",
    230     "dev": "ray develop",
    231     "fix-lint": "ray lint --fix",
    232     "lint": "ray lint",
    233     "pull": "ray pull-contributions",
    234     "publish": "ray publish"
    235   },
    236   "platforms": [
    237     "macOS"
    238   ]
    239 }