From c2c53ae88d87bb1686a6f0805e651e69980ee897 Mon Sep 17 00:00:00 2001 From: Pranay2516 Date: Mon, 30 Aug 2021 11:44:26 +0530 Subject: [PATCH] Added new theme: Solarized Dark --- README.md | 3 + screenshots/prism-solarized-dark-atom.png | Bin 0 -> 6808 bytes themes/prism-solarized-dark-atom.css | 143 ++++++++++++++++++++++ 3 files changed, 146 insertions(+) create mode 100644 screenshots/prism-solarized-dark-atom.png create mode 100644 themes/prism-solarized-dark-atom.css diff --git a/README.md b/README.md index 1ba6200..2109ad0 100644 --- a/README.md +++ b/README.md @@ -142,3 +142,6 @@ Thank you so much for contributing!! * [__Z-Touch__](themes/prism-z-touch.css) (by [Zeel Codder](https://github.com/zeel-codder))
[![Z-Touch](screenshots/prism-z-touch.png)](themes/prism-z-touch.css) + +* [__Solarized Dark Atom__](themes/prism-holi-theme.css) (by [Pranay Chauhan](https://github.com/PranayChauhan2516), based on [Solarized Dark Theme by Atom](https://github.com/atom/solarized-dark-syntax))
+[![Solarized Dark Atom](screenshots/prism-solarized-dark-atom.png)](themes/prism-solarized-dark-atom.css) \ No newline at end of file diff --git a/screenshots/prism-solarized-dark-atom.png b/screenshots/prism-solarized-dark-atom.png new file mode 100644 index 0000000000000000000000000000000000000000..2d62b73634d6e0da6509fac99ca28c8662da4fab GIT binary patch literal 6808 zcmb7}Wmr^E*Y^+IjY_wOBHdjhT@r$H_W;t;C7pr-(x8CAkkUva-45MK4KPCw%`;y2 z^L~Er_scow!@jP4_S$Rz*ZTiBo}gZ6 zo;phMK-DU86E;GG-WL4P$#soa?{6LOEGPY zP$S6MV8_Z~DfU&r(y%FX<1ieZs?~r!2)SJWMQ8&Pb8>n(OLS?S)SuE_pw{! zBydFFA_~s>*3e`lBQfzn(@kho0(o!-W*ZKExa?l6OiW7Vt>}9F(##5TB%x#H$t%C# zZKSd3d2l>t8(aaJ;virdu@_7#A0rF(1{Q^U3=>Bt zsXV4!cO)qbEIlu{j+IlRC^9+wRB{~j7u3*q5XGSX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_oq3NRk9m_@3s!i<08w6cW&7eCdrGF7;-D-`Eq_Vg+upj%=ij7BZTYACvl+fjf78 zlK{}3d(7lADh;5KGLwh?F3x3*TwX~~6k@ujQJg}&`~KGrIC>y*dOp&BDs+#!Y64VV LX@aWcEyDi?iVE-< literal 0 HcmV?d00001 diff --git a/themes/prism-solarized-dark-atom.css b/themes/prism-solarized-dark-atom.css new file mode 100644 index 0000000..4ea259e --- /dev/null +++ b/themes/prism-solarized-dark-atom.css @@ -0,0 +1,143 @@ +/** + * Solarized dark atom theme for `prism.js` + * Based on Atom's `atom-dark` theme: https://github.com/atom/atom-dark-syntax + * @author Pranay Chauhan (@PranayChauhan2516) + */ + +code[class*="language-"], +pre[class*="language-"] { + color: #839496; + text-shadow: 0 1px rgba(0, 0, 0, 0.3); + font-family: Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace; + direction: ltr; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + line-height: 1.5; + + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; + + -webkit-hyphens: none; + -moz-hyphens: none; + -ms-hyphens: none; + hyphens: none; +} + +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: .5em 0; + overflow: auto; + border-radius: 0.3em; +} + +:not(pre) > code[class*="language-"], +pre[class*="language-"] { + background: #002b36; +} + +/* Inline code */ +:not(pre) > code[class*="language-"] { + padding: .1em; + border-radius: .3em; +} + +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: #586e75; +} + +.token.punctuation { + color: #93a1a1; +} + +.namespace { + opacity: .7; +} + +.token.property, +.token.keyword, +.token.tag { + color: #268bd2; +} + +.token.class-name { + color: #FFFFB6; + text-decoration: underline; +} + +.token.boolean, +.token.constant { + color: #b58900; +} + +.token.symbol, +.token.deleted { + color: #dc322f; +} + +.token.number { + color: #859900; +} + +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #859900; +} + +.token.variable { + color: #268bd2; +} + +.token.operator { + color: #EDEDED; +} + +.token.function { + color: #268bd2; +} + +.token.regex { + color: #E9C062; +} + +.token.important { + color: #fd971f; +} + +.token.entity { + color: #FFFFB6; + cursor: help; +} + +.token.url { + color: #96CBFE; +} + +.language-css .token.string, +.style .token.string { + color: #87C38A; +} + +.token.important, +.token.bold { + font-weight: bold; +} + +.token.italic { + font-style: italic; +} + +.token.atrule, +.token.attr-value { + color: #F9EE98; +}