themes


Log

Author Commit Date CI Message
Michael Schmidt 878ef295 2019-03-05T22:26:50 Themes: Normalized the font-size of pre and code (#1791) Normalized the font-size of pre and code in all themes. This fixes a Coy line drift issue.
Thomas Steiner c322fc80 2018-08-19T16:55:06 Correct typo (#1508) Corrects “accomodate” to spell “accommodate”.
paladox f356dfe7 2018-06-05T22:28:05 Add .token.class-name to rest of themes (#1360) * Add .token.class-name to rest of themes * Update prism-okaidia.css * Update prism-solarizedlight.css
James DiGioia b848e9d6 2018-06-04T17:15:00 Add double-class specificity hack (#1435) Yeah, this isn't ideal, but it does work. Any other ideas?
Olivier Tassinari 8aea939a 2018-03-26T22:47:44 Reach AA contrast ratio level (#1296)
Golmote c6c7fd1a 2018-03-19T08:56:05 Coy theme: Inherit pre's height on code, so it does not break on Download page.
paladox 85724748 2018-03-11T23:16:33 Highlight token class-name with colour #DD4A68 (#1350) Fixes #1346
Timothy Allen ac219d7a 2017-12-05T14:18:52 Coy Theme: The 'height' element makes code blocks the height of the browser canvas. (#1224)
nickersonm 310990b2 2017-09-09T06:43:25 Scroll 'Coy' background with contents (#1163) * Scroll 'Coy' background with contents Attaches <pre> background (alternating line colors in 'Coy') to <code> contents when in limited-height <pre> that requires scrolling. * Moves background to <code> element Move background from <pre> element to <code> element to preserve <pre> drop-shadows while keeping background attached during scroll.
Valtteri Laitinen 5e568330 2016-07-19T18:20:18 Remove unneeded prefixed CSS (#989) This PR removes – prefixed `linear-gradient` – prefixed `box-shadow` – prefixed `border-radius` – prefixed `opacity` + legacy IE alternatives – `-moz-transition` (http://caniuse.com/css-transitions)
Dave Wasmer cd234dcd 2016-03-08T19:26:52 update linear-gradient syntax from `left` to `to right`
Andreas Rohner 16f6f39f 2016-02-19T23:11:10 Remove direction-property from themes Remove direction-property from all themes, because it is incompatible with the EPUB-format. This was reported in issue #902.
Andreas Rohner a16c62a1 2016-01-28T15:05:13 Fix Solarized Light theme The official color palette is included as a CSS comment and every color used is named with a comment.
Andreas Rohner 0e87ff0a 2016-01-27T11:55:16 Add solarized light theme to the list of themes and update auto-generated files generated by gulp.
Andreas Rohner 661fa263 2016-01-27T11:51:53 Merge pull request #855 from hectormatos2011/gh-pages Solarized Light Theme for PrismJS
Lea Verou 6ba9183f 2016-01-24T15:57:48 Merge pull request #865 from zeitgeist87/fix-coy-theme Fix coy theme shadows
Andreas Rohner 58d2337d 2016-01-24T04:01:16 Fix coy theme shadows This patch removes max-height from the pre tag in the coy theme, because this height limitation is inconsistent with the other themes. The above change causes a bug in the shadows of the coy theme. Adding max-height: 13em to the ::before and ::after selector fixes the shadow bug.
Jordan Danielewski 6d547175 2016-01-24T02:46:45 Add prefix for Firefox selection and move prefixed rule first
Jordan Danielewski 36ddfb5a 2016-01-22T16:41:25 Don't add new rule
Jordan Danielewski 8c310bcc 2016-01-22T15:00:59 No background for <code> in <pre>
Andreas Rohner fe318d83 2016-01-21T11:59:25 Add @media type for the max-height property in the coy theme, so that it is disabled for printouts.
hectormatos2011 35ac9921 2016-01-16T20:51:30 Highlight rules suck. I think these work. This is what happens when an iOS Dev tries his hand at CSS.
hectormatos2011 a5c8b676 2016-01-16T20:40:13 Add highlighting rule
hectormatos2011 70846ba9 2016-01-16T20:35:19 New Theme for PrismJS - Solarized Light I quite like the solarized themes - they are pretty accessible and a lot of work was done on created something that is easy on the eyes. I ported Solarized Light for PrismJS. It would be pretty cool if the solarized themes were included with PrismJS! However, after some research, I couldn't quite see any attribution rules so I provided a link to the original creator of the solarized formats in a comment at the top of the css file.
Robin Berjon 1a971b54 2015-10-28T10:21:41 revert white-space to normal when code is inline instead of in a pre
Anuj Nair 47bf31ae 2015-09-09T12:22:05 Fixing coy theme + line numbers plugin when used in conjunction with bootstrap.
Anuj Nair 1df5ce8b 2015-09-08T22:40:45 Fixing coy theme + line numbers plugin overflowing on long blocks of text
Anuj Nair 56b3d295 2015-08-28T23:42:08 Issue 324 - Fixing word wrap on long code lines, which is breaking the line-numbers plugin
Anuj Nair 52829b3c 2015-08-27T21:48:00 Issue 675 - fixing inline style for Coy theme
Golmote ed9d7e35 2015-07-26T11:26:07 Add Ubuntu Mono font to font stack
Golmote 58f6fe1f 2015-07-26T11:24:40 Revert 5b29a673c468920ac68c3af6e769f72c2b895434 for now.
Vivek Ghaisas 5b29a673 2015-07-06T21:25:08 Add Ubuntu Mono font to font stack None of the other fonts are currently available on Ubuntu and the addition of Ubuntu Mono to the font stack makes the code look much nicer on Ubuntu systems. Also added a missing newline to the end of prism-coy.css
Shawn Sparks d76ede93 2015-03-14T10:23:58 added color for function tokens
Golmote ca8d24f3 2015-03-01T00:59:49 Fix bug related to line-highlighting plugin
Golmote eaf8ac0c 2015-01-07T19:48:29 Improved Markdown + added example
Lea Verou f2984edb 2014-09-11T18:40:27 Added SQL variable support
lgiraudel b14b05e2 2014-09-01T00:36:03 Use of existing colors for `deleted` and `inserted` tokens.
lgiraudel 7a9d3b79 2014-08-29T18:41:06 Adding default colors for `.token.deleted` and `.token.inserted`
Jannik Zschiesche e1a659d3 2014-08-13T16:46:45 Merge pull request #295 from bholst/gh-pages Add language definition for Haskell
Bastian Holst 6e26a58b 2014-08-12T21:35:01 Correct haskell support for strings and characters This commit adds correct support for Haskell characters and strings. To me, having only one type of token for characters and strings makes no sense in Haskell as they can be distinguished easily. Characters start with a single quote and strings start with a double quote. Furthermore, characters can only contain —guess what— one character whereas strings can caintain multiple or none of them. String can also have gaps.
Jannik Zschiesche 8cc777d9 2014-08-12T18:26:03 Make coding style in the themes more consistent * Use tabs * Use the same indention & whitespaces rules everywhere
Jannik Zschiesche ce354254 2014-06-20T13:54:37 Define default line height in all themes This should fix #40 & #278
Jannik Zschiesche 2e0b8ce4 2014-07-22T18:49:19 Coy theme: Fix issue with defined height of the <pre> tag * The max-height on the `<pre>` is if there is no defined height. The definitions of the code ensure, that the contents stay inside the `<pre>`. The `width: 100%` is need if there is no defined height of the `<pre>`, see http://stackoverflow.com/questions/14262938/child-with-max-height-100-overflows-parent.
Jannik Zschiesche fa2dedc2 2014-07-22T18:26:32 Fix small scrollbar issue in the coy theme
Jannik Zschiesche 84d21b19 2014-07-22T17:24:28 Further improvements of the coy themes * Shadows are now visible again! * Small code cleanup (removed now unnecessary outer `max-height`)
Jannik Zschiesche b42f3b0b 2014-07-22T15:25:27 Fix hidden line numbers The issue is that the `<code>` element needs the `overflow: scroll` (since the code block has a `max-height`). So the line numbers container, which is positioned absolutely using a negative left position is hidden. This is fixed by changing the way the `<code>` element is positioned: not with a margin and a small size, but with the padding & a larger container.
Avi Aryan a156e893 2014-07-09T15:08:02 added separate highlighting token for 'function' in prism.css, closes #287
Shane Osbourne 2b09b19a 2013-12-12T12:09:28 Fix indentation to match individual formatting styles per file
Shane Osbourne 989481a3 2013-10-24T20:51:59 Add 'word-break: normal' to allow code overflow on the new Ghost Blogging platform
Daniel Wyatt a3e161c8 2013-10-07T08:02:54 Add back what I foolishly removed
Daniel Wyatt c0c77b15 2013-10-07T07:15:02 Merge branch 'gh-pages' of https://github.com/LeaVerou/prism into twilight-text-selection
Lea Verou 87d7640e 2013-10-07T09:46:33 Moved themes to themes/ folder