{"id":16632683,"url":"https://github.com/mvllow/pinecone","last_synced_at":"2025-03-23T14:31:21.477Z","repository":{"id":39989160,"uuid":"278187266","full_name":"mvllow/pinecone","owner":"mvllow","description":"Lovely VSCode theme builder","archived":false,"fork":false,"pushed_at":"2023-04-05T19:03:50.000Z","size":364,"stargazers_count":14,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T21:11:21.803Z","etag":null,"topics":["theme","theme-development","vscode"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/pinecone-cli","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mvllow.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-08T20:23:31.000Z","updated_at":"2024-01-17T18:34:01.000Z","dependencies_parsed_at":"2024-10-28T16:22:58.214Z","dependency_job_id":"1f78ce42-7988-4e80-aa61-97ea18a7a2f4","html_url":"https://github.com/mvllow/pinecone","commit_stats":{"total_commits":168,"total_committers":2,"mean_commits":84.0,"dds":"0.023809523809523836","last_synced_commit":"6e53b2566b211d2facbf5fd3c0e26eb400601516"},"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvllow%2Fpinecone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvllow%2Fpinecone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvllow%2Fpinecone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvllow%2Fpinecone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mvllow","download_url":"https://codeload.github.com/mvllow/pinecone/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245115806,"owners_count":20563238,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["theme","theme-development","vscode"],"created_at":"2024-10-12T05:06:21.881Z","updated_at":"2025-03-23T14:31:20.285Z","avatar_url":"https://github.com/mvllow.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pinecone\n\n\u003e Lovely VSCode theme builder\n\nCreate multiple theme variants from a single source _with variables_.\n\n## Install\n\n```sh\nnpm install --global pinecone-cli\n```\n\n## Usage\n\n\u003e pinecone requires `\"type\": \"module\"` to be set in your package.json\n\n```\n$ pinecone --help\n\n\tUsage\n\t\t$ pinecone \u003ccommand\u003e [options]\n\n\tCommands\n\t\tinit  Create new theme\n\n\tOptions\n\t\t-s, --source  Path to pinecone theme file\n\t\t-o, --output  Directory for generated themes\n\t\t-p, --prefix  Variable prefix\n\t\t-w, --watch   Rebuild themes on change\n\t\t-t, --tidy    Remove non-pinecone themes from output and package.json\n\n\t\t--include-non-italic-variants  Generate additional non-italic variants\n\n\tExamples\n\t\t$ pinecone\n\t\t$ pinecone init\n\t\t$ pinecone --watch --tidy --include-non-italic-variants\n```\n\n## Theme\n\nPinecone themes look similar to any other theme with the addition of variables and difference in how empty values are handled. VSCode treats empty values as `#ff0000` whereas pinecone removes empty values for cleaner intellisense and organisation.\n\n**Example `./themes/_pinecone-color-theme.json`**\n\n```json\n{\n\t\"colors\": {\n\t\t\"editor.background\": \"$background\",\n\t\t\"editor.foreground\": \"$foreground\",\n\t\t\"editor.hoverHighlightBackground\": \"$transparent\",\n\t\t\"widget.shadow\": \"$shadow\"\n\t},\n\t\"tokenColors\": [\n\t\t{\n\t\t\t\"scope\": [\"comment\"],\n\t\t\t\"settings\": {\n\t\t\t\t\"foreground\": \"$foreground\",\n\t\t\t\t\"fontStyle\": \"italic\"\n\t\t\t}\n\t\t}\n\t]\n}\n```\n\n## Config\n\n**Example `./pinecone.config.js`**\n\n```js\nimport {colorish, defineConfig} from 'pinecone-cli';\n\nexport default defineConfig({\n\toptions: {\n\t\tsource: './themes/_pinecone-color-theme.json',\n\t\toutput: './themes',\n\t\tprefix: '$',\n\t\tincludeNonItalicVariants: false,\n\t},\n\tvariants: {\n\t\tlatte: {\n\t\t\tname: 'Latte',\n\t\t\ttype: 'light',\n\t\t},\n\t\tcappuccino: {\n\t\t\tname: 'Cappuccino',\n\t\t\ttype: 'light',\n\t\t},\n\t\tespresso: {\n\t\t\tname: 'Espresso',\n\t\t\ttype: 'dark',\n\t\t},\n\t},\n\tcolors: {\n\t\ttransparent: '#0000', // Shorthand to set all variants\n\t\tbackground: {\n\t\t\tlatte: '#faf8f6',\n\t\t\tcappuccino: '#c29d84',\n\t\t\tespresso: '#36261b',\n\t\t},\n\t\tforeground: {\n\t\t\tlatte: '#c29d84',\n\t\t\tcappuccino: '#573d2b',\n\t\t\tespresso: '#d5bbaa',\n\t\t},\n\t\tshadow: {\n\t\t\tlatte: colorish('#c29d84', 0.1),\n\t\t\tcappuccino: colorish('#573d2b', 0.1),\n\t\t\tespresso: colorish('#d5bbaa', 0.1),\n\t\t},\n\t},\n});\n```\n\n## Made with pinecone\n\n- [Rosé Pine](https://github.com/rose-pine/vscode)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmvllow%2Fpinecone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmvllow%2Fpinecone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmvllow%2Fpinecone/lists"}