-
Notifications
You must be signed in to change notification settings - Fork 498
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: PrismJS/prism-themes
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.1.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: PrismJS/prism-themes
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.2.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 6 commits
- 43 files changed
- 5 contributors
Commits on Mar 25, 2019
-
Add Dracula theme assets and README updated (#77)
Based in the well known Dracula theme.
Configuration menu - View commit details
-
Copy full SHA for dc4f1b7 - Browse repository at this point
Copy the full SHA dc4f1b7View commit details
Commits on Sep 3, 2019
-
Added the Synthwave '84 VS Code theme, originally by Robb Owen (I acquired his permission before publishing it).
Configuration menu - View commit details
-
Copy full SHA for 45992b9 - Browse repository at this point
Copy the full SHA 45992b9View commit details
Commits on Sep 4, 2019
-
📦 NEW: Shades of Purple Theme (#83)
Thank you for the excellent project of Prism.js. This PR adds 🦄 Shades of Purple theme to the mix: - [x] Shades of Purple CSS - [x] Shades of Purple Screenshot with 250px x 180px - [x] Addition to the README.md file as per the format ### Context 🦄 Shades of Purple theme is used by over 2,000,000 developers. I have built other `Shades of Purple` themes for different software. Here's a list. - 🦄 [VSCode theme](https://github.com/ahmadawais/shades-of-purple-vscode) — Shades of Purple - 🦄 [iTerm2 theme](https://github.com/ahmadawais/shades-of-purple-iterm2) — Shades of Purple - 🦄 [Hyper™ theme](https://github.com/ahmadawais/shades-of-purple-hyper) — Shades of Purple - 🦄 [HighlightJS theme](https://github.com/ahmadawais/Shades-of-Purple-HighlightJS) — Shades of Purple - 🦄 [Konsole theme](https://github.com/ahmadawais/shades-of-purple-konsole) — Shades of Purple - 🦄 [Slack theme](https://github.com/ahmadawais/shades-of-purple-slack) — Shades of Purple - 🦄 [Alfred theme](https://github.com/ahmadawais/shades-of-purple-alfred) — Shades of Purple - 🦄 [Cygwin theme](https://github.com/ahmadawais/Shades-of-Purple-Cygwin) — Shades of Purple - 🦄 [WordPress theme](https://ahmadawais.com/shades-of-purple-wordpress/) — Shades of Purple - 🦄 [Prism JS](https://github.com/FormidableLabs/prism-react-renderer/blob/master/themes/shadesOfPurple.js) + [Prism CSS](https://codepen.io/ahmadawais/pen/mgjRRr?editors=0100#0) + [Code-Surfer](https://code-surfer.netlify.com/theming/#8) theme — Shades of Purple ## SOP's Syntax Colors Shades of purple theme is built with several shades of purple and a few contrast colors to make things pop. This also makes SOP a very good theme for teaching, presenting, and using on your site via Prisma or HighlightJS. A rough collection of important colors in SOP theme is listed below. | USAGE | HEX CODES | | ---------------- | ------------------------------------------------------------------------ | | Background | ![#2D2B55](https://placehold.it/15/2D2B55/000000?text=%20) `#2D2B55` | | Background Dark | ![#1E1E3F](https://placehold.it/15/1E1E3F/000000?text=%20) `#1E1E3F` | | Foreground | ![#A599E9](https://placehold.it/15/A599E9/000000?text=%20) `#A599E9` | | Hover Background | ![#4D21FC](https://placehold.it/15/4D21FC/000000?text=%20) `#4D21FC` | | Contrast | ![#FAD000](https://placehold.it/15/FAD000/000000?text=%20) `#FAD000` | | Contrast Lite | ![#FFEE80](https://placehold.it/15/FFEE80/000000?text=%20) `#FFEE80` | | Contrast Lite II | ![#FAEFA5](https://placehold.it/15/FAEFA5/000000?text=%20) `#FAEFA5` | | Highlight | ![#FF7200](https://placehold.it/15/FF7200/000000?text=%20) `#FF7200` | | Comment | ![#B362FF](https://placehold.it/15/B362FF/000000?text=%20) `#B362FF` | | Constants | ![#FF628C](https://placehold.it/15/FF628C/000000?text=%20) `#FF628C` | | Keywords | ![#FF9D00](https://placehold.it/15/FF9D00/000000?text=%20) `#FF9D00` | | Other | ![#9EFFFF](https://placehold.it/15/9EFFFF/000000?text=%20) `#9EFFFF` | | Strings | ![#A5FF90](https://placehold.it/15/A5FF90/000000?text=%20) `#A5FF90` | | Templates | ![#3AD900](https://placehold.it/15/3AD900/000000?text=%20) `#3AD900` | | Definitions | ![#FB94FF](https://placehold.it/15/FB94FF/000000?text=%20) `#FB94FF` | | Invalid | ![#EC3A37F5](https://placehold.it/15/EC3A37F5/000000?text=%20) `#EC3A37F5` | | Diff Added | ![#00FF009A](https://placehold.it/15/00FF009A/000000?text=%20) `#00FF009A` | | Diff Removed | ![#FF000D81](https://placehold.it/15/FF000D81/000000?text=%20) `#FF000D81` |
Configuration menu - View commit details
-
Copy full SHA for ca328a9 - Browse repository at this point
Copy the full SHA ca328a9View commit details -
Added automated screenshot task (#80)
This adds a gulp task for automatically redoing all screenshots. The task can be run using `npx gulp screenshot`. I used [capture-website](https://github.com/sindresorhus/capture-website) to take the screenshot which uses Chrome under the hood. A few improvements compared to the current screenshots: - All images have the same width. - Proper transparency for rounded corners. - Proper centering and clipping for all images. - All screenshots reflect how the theme actually looks in the browser (all Duotone * screenshots have increased padding).
Configuration menu - View commit details
-
Copy full SHA for 87a2c4a - Browse repository at this point
Copy the full SHA 87a2c4aView commit details
Commits on Sep 24, 2019
-
This fixes [prism#1946](PrismJS/prism#1946). The problem was that the `<code>` element nested inside the `<pre>` element has to have the same font size as the `pre`. I added a little rule to nearly every theme to enforce just this. ```css pre > code[class*="language-"] { font-size: 1em; } ``` --- This also enforces tabs for indentation for all theme.
Configuration menu - View commit details
-
Copy full SHA for d42d341 - Browse repository at this point
Copy the full SHA d42d341View commit details
Commits on Sep 25, 2019
-
Configuration menu - View commit details
-
Copy full SHA for be5bbfe - Browse repository at this point
Copy the full SHA be5bbfeView commit details
There are no files selected for viewing