{"id":19529959,"url":"https://github.com/loopmode/bulma-prism","last_synced_at":"2026-05-12T13:40:41.447Z","repository":{"id":53740767,"uuid":"313941052","full_name":"loopmode/bulma-prism","owner":"loopmode","description":"Workaround for using bulma and prism together","archived":false,"fork":false,"pushed_at":"2021-03-16T18:19:43.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T02:43:17.929Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Sass","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/loopmode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-18T13:20:20.000Z","updated_at":"2021-03-16T18:19:45.000Z","dependencies_parsed_at":"2022-09-23T19:52:49.424Z","dependency_job_id":null,"html_url":"https://github.com/loopmode/bulma-prism","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/loopmode/bulma-prism","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loopmode%2Fbulma-prism","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loopmode%2Fbulma-prism/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loopmode%2Fbulma-prism/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loopmode%2Fbulma-prism/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loopmode","download_url":"https://codeload.github.com/loopmode/bulma-prism/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loopmode%2Fbulma-prism/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32942139,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T09:19:52.626Z","status":"ssl_error","status_checked_at":"2026-05-12T09:17:33.438Z","response_time":102,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-11T01:28:16.378Z","updated_at":"2026-05-12T13:40:41.396Z","avatar_url":"https://github.com/loopmode.png","language":"Sass","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bulma and Prismjs\n\nThis is a workaround solution for using both [bulma](https://github.com/jgthms/bulma) and [prism](https://github.com/PrismJS/prism) stylesheets.\n\nThere are collisions in global selectors between the two libraries, see https://github.com/jgthms/bulma/issues/1708 and https://github.com/PrismJS/prism/issues/1324\n\n## Variant A: Configuring prismjs\n\nYou can simply change the prism classes for the two problematic cases:\n\n```javascript\nimport Prism from \"prismjs\";\nimport \"prismjs/plugins/custom-class/prism-custom-class\";\nPrism.plugins.customClass.map({ number: \"prism-number\", tag: \"prism-tag\" });\n```\nThis is the simpler, recommended workaround.\n\n## Variant B: Overriding Bulma in sass/scss\n\nThis is a patch over the sass version of bulma. It's only available when you use the npm package.\n\nUse the bulma folder of this repo.\n\nIt changes two selectors: \n- `.number` becomes `.number:not(.token)`\n- `tag:not(body)` becomes `tag:not(body):not(.token)`\n\n### Usage\n\nCopy this folder to your project and import bulma from there.\n\nInstead of this:\n```scss\n@import \"~bulma/bulma.sass\";\n```\n\nYou do something like this:\n```scss\n@import \"./bulma/bulma.sass\";\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floopmode%2Fbulma-prism","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floopmode%2Fbulma-prism","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floopmode%2Fbulma-prism/lists"}