<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: mercxry</title>
    <description>The latest articles on Forem by mercxry (@mercxry).</description>
    <link>https://forem.com/mercxry</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F130152%2F345a8756-d0e2-42bd-8884-394e48f8bd1a.jpg</url>
      <title>Forem: mercxry</title>
      <link>https://forem.com/mercxry</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/mercxry"/>
    <language>en</language>
    <item>
      <title>Dark Theme for Dev.to</title>
      <dc:creator>mercxry</dc:creator>
      <pubDate>Thu, 24 Jan 2019 01:44:38 +0000</pubDate>
      <link>https://forem.com/mercxry/dark-theme-for-devto-14e9</link>
      <guid>https://forem.com/mercxry/dark-theme-for-devto-14e9</guid>
      <description>&lt;p&gt;&lt;em&gt;Screenshots are at the bottom of the post&lt;/em&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Foreword
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;This is a temporary solution until the official dark theme is released, for this reason the code is not organized and ordered and you may find some component/pages with the light theme.&lt;/strong&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Why a dark theme?
&lt;/h1&gt;

&lt;blockquote&gt;
&lt;p&gt;If you only knew the power of the Dark Side...&lt;br&gt;
– Darth Vader&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Joking aside, there are so many &lt;strong&gt;benefits&lt;/strong&gt; to using a dark theme, like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Less invasive night reading&lt;/li&gt;
&lt;li&gt;Helps you focus more on text&lt;/li&gt;
&lt;li&gt;Prevents you from fatiguing your eyes for long periods in front of your computer&lt;/li&gt;
&lt;li&gt;And many other benefits (that you can google)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Personally I'm addicted to dark themes, I could be a vampire 🧛‍♂️&lt;/p&gt;

&lt;h1&gt;
  
  
  How to use it?
&lt;/h1&gt;

&lt;p&gt;To use it you should install a userstyle manager compatible with &lt;a href="https://userstyles.org" rel="noopener noreferrer"&gt;https://userstyles.org&lt;/a&gt;, my personal recommendation is Stylus&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fna6o81jmht1mz9z5wx6q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fna6o81jmht1mz9z5wx6q.png" alt="Stylus logo"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Stylus is a userstyles editor and manager compatible with &lt;strong&gt;Mozilla Firefox&lt;/strong&gt;, &lt;strong&gt;Google Chrome&lt;/strong&gt; and &lt;strong&gt;Opera&lt;/strong&gt;, which can be downloaded in the respective stores:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Mozilla Firefox: &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/styl-us/" rel="noopener noreferrer"&gt;https://addons.mozilla.org/en-US/firefox/addon/styl-us/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Google Chrome &amp;amp; Opera: &lt;a href="https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne" rel="noopener noreferrer"&gt;https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;After installing Stylus, just &lt;strong&gt;go to the theme page&lt;/strong&gt; and click the button that says &lt;strong&gt;"Install Style"&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Theme Page:&lt;/strong&gt; &lt;a href="https://userstyles.org/styles/168140/dev-to-dark-mode" rel="noopener noreferrer"&gt;https://userstyles.org/styles/168140/dev-to-dark-mode&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F6otn21sp14hciga38w05.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F6otn21sp14hciga38w05.png" alt="Install Theme"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Done! Now you can go back to Dev.to and enjoy the dark theme ☕&lt;/p&gt;

&lt;h1&gt;
  
  
  Screenshots
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Main Page:&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fli3ofh2ecqlk1wwq9b9s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fli3ofh2ecqlk1wwq9b9s.png" alt="Dev.to Main Page"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Tag Page:&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Frrlf8a22w8rpsbk1d5sk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Frrlf8a22w8rpsbk1d5sk.png" alt="Dev.to Tag Page"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Profile Page:&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fi3239o9896zpl4bh7vne.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fi3239o9896zpl4bh7vne.png" alt="Dev.to Profile Page"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Post Page:&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fsok321rlti8182pdlgep.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fsok321rlti8182pdlgep.png" alt="Dev.to Post Page"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Conclusion
&lt;/h1&gt;

&lt;p&gt;If you find bugs you can leave a comment or contact me on &lt;a href="https://twitter.com/mercxry_" rel="noopener noreferrer"&gt;Twitter&lt;/a&gt;, I do not ensure to update the theme regularly and promptly but I will try to keep it working.&lt;/p&gt;

&lt;p&gt;You can now contribute on Github: &lt;a href="https://github.com/mercxry/dev.to-dark-theme"&gt;https://github.com/mercxry/dev.to-dark-theme&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Credits
&lt;/h2&gt;

&lt;p&gt;I was inspired by this GitHub issue: &lt;a href="https://github.com/thepracticaldev/dev.to/issues/1413"&gt;https://github.com/thepracticaldev/dev.to/issues/1413&lt;/a&gt;&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
