{"id":21768467,"url":"https://github.com/lucascorpion/prismjs-darcula-theme","last_synced_at":"2025-04-13T15:41:39.224Z","repository":{"id":35025914,"uuid":"197945349","full_name":"LucaScorpion/prismjs-darcula-theme","owner":"LucaScorpion","description":"PrismJS Darcula syntax highlighting theme based on the JetBrains IDEs.","archived":false,"fork":false,"pushed_at":"2025-02-25T19:11:55.000Z","size":133,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T20:38:12.009Z","etag":null,"topics":["css","darcula","darcula-theme","dark","gatsby","gatsby-remark-prismjs","jetbrains","prismjs","scss","syntax-highlighting-theme","theme"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/prismjs-darcula-theme","language":"SCSS","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/LucaScorpion.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2019-07-20T15:02:13.000Z","updated_at":"2025-02-25T19:11:57.000Z","dependencies_parsed_at":"2024-10-24T23:22:47.562Z","dependency_job_id":"201edc3d-8b5c-40d2-9eb3-4ee9c48351ca","html_url":"https://github.com/LucaScorpion/prismjs-darcula-theme","commit_stats":{"total_commits":32,"total_committers":3,"mean_commits":"10.666666666666666","dds":0.125,"last_synced_commit":"b6ee980c827410304dbe56b0f64bfa4beb52482e"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaScorpion%2Fprismjs-darcula-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaScorpion%2Fprismjs-darcula-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaScorpion%2Fprismjs-darcula-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaScorpion%2Fprismjs-darcula-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LucaScorpion","download_url":"https://codeload.github.com/LucaScorpion/prismjs-darcula-theme/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248739940,"owners_count":21154247,"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":["css","darcula","darcula-theme","dark","gatsby","gatsby-remark-prismjs","jetbrains","prismjs","scss","syntax-highlighting-theme","theme"],"created_at":"2024-11-26T13:36:26.049Z","updated_at":"2025-04-13T15:41:39.189Z","avatar_url":"https://github.com/LucaScorpion.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PrismJS Darcula Theme\n\n[![npm](https://img.shields.io/npm/v/prismjs-darcula-theme.svg)](https://www.npmjs.com/package/prismjs-darcula-theme)\n[![license](https://img.shields.io/npm/l/prismjs-darcula-theme.svg)](https://www.npmjs.com/package/prismjs-darcula-theme)\n\nA syntax highlighting theme for [PrismJS] based on the Darcula theme from the [JetBrains] IDEs.\n\n## Examples\n\n![Example screenshot](screenshot.png)\n\nCheck out more examples and other languages on [GitHub pages](https://lucascorpion.github.io/prismjs-darcula-theme).\n\n## Usage\n\n### HTML\n\nDownload and include the compiled stylesheet in the `head` of your html:\n\n```html\n\u003clink href=\"darcula.css\" rel=\"stylesheet\" /\u003e\n```\n\n### Astro\n\nInstall the package:\n\n```shell\nnpm install prismjs-darcula-theme\n```\n\nEnsure you are using the `prism` syntax highlighting mode in `astro.config.mjs`:\n\n```js\nimport { defineConfig } from 'astro/config';\n\nexport default defineConfig({\n  markdown: {\n    syntaxHighlight: 'prism',\n  },\n});\n```\n\nAdd this to your component:\n\n```js\nimport 'prismjs-darcula-theme/darcula.css';\n```\n\n### Gatsby\n\nThis theme can be used in Gatsby with [gatsby-remark-prismjs].\nInstall the package using:\n\n```shell\nnpm install prismjs-darcula-theme\n```\n\nAdd this import to `gatsby-browser.js`:\n\n```js\nimport 'prismjs-darcula-theme/darcula.css';\n```\n\n## Development\n\nRun `npm run docs:watch` to watch `darcula.scss` for file changes, compiling it to `docs/darcula.css`.\nTo compile the file without watching for changes, use `npm run docs`.\nOpen `docs/index.html` in your browser to view the results.\n\n[PrismJS]: https://prismjs.com\n[JetBrains]: https://www.jetbrains.com\n[gatsby-remark-prismjs]: https://www.gatsbyjs.org/packages/gatsby-remark-prismjs\n[gatsby-plugin-sass]: https://www.gatsbyjs.org/packages/gatsby-plugin-sass\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucascorpion%2Fprismjs-darcula-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucascorpion%2Fprismjs-darcula-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucascorpion%2Fprismjs-darcula-theme/lists"}