<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>TokyoNight &amp;mdash; Bruno&#39;s ramblings</title>
    <link>https://infosec.press/brunomiguel/tag:TokyoNight</link>
    <description>A blog where I ramble about... well... stuff.</description>
    <pubDate>Sun, 31 May 2026 10:57:39 +0000</pubDate>
    <item>
      <title>💾 Changing the colors</title>
      <link>https://infosec.press/brunomiguel/changing-the-colors</link>
      <description>&lt;![CDATA[Writefreely only has a light theme. It&#39;s a good one, I admit. However, I prefer having a dark theme, and since I love the Tokyonight color scheme, I decided to implement it in this blog.&#xA;&#xA;!--more--&#xA;&#xA;If you want to use the same theme I&#39;m using here right now, or you want to use it as a base to build your own, you can find the CSS below or visit Pastebin and copy it from there.&#xA;&#xA;You&#39;ll notice I&#39;m using two typefaces from Google Fonts. If you don&#39;t want to use them or you don&#39;t like Google Fonts, remove the first two lines.&#xA;&#xA;Update: I switched to using CSS variables&#xA;&#xA;@import url(&#39;https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,200;0,300;0,400;0,700;1,200;1,300;1,400;1,700&amp;display=swap&#39;);&#xA;@import url(&#39;https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&amp;display=swap&#39;);&#xA;&#xA;/ The variables names are taken from:&#xA;https://raw.githubusercontent.com/folke/tokyonight.nvim/main/lua/tokyonight/colors.lua /&#xA;:root {&#xA;    --fg: #c8d3f5;&#xA;    --fg-dark: #828bb8;&#xA;    --fg-gutter: #3b4261;&#xA;    --bg: #222436;&#xA;    --bg-dark: #1e2030;&#xA;    --bg-highlight: #2f334d;&#xA;    --dark3: #545c7e;&#xA;    --terminal-black: #444a73;&#xA;    --yellow: #ffc777;&#xA;    --orange: #ff966c;&#xA;    --magenta2: #ff007c;&#xA;    --blue: #82aaff;&#xA;    --font-text: &#39;Hanken Grotesk&#39;, sans-serif;&#xA;    --font-title: &#39;Space Grotesk&#39;, sans-serif;&#xA;}&#xA;&#xA;.video {&#xA;    width: 40rem;&#xA;    max-height: 600px;&#xA;}&#xA;&#xA;nav#manage ul a {&#xA;    color: var(--fg);&#xA;}&#xA;&#xA;nav#manage ul li:hover {&#xA;    background: var(--dark3);&#xA;}&#xA;&#xA;nav#manage ul ul {&#xA;    background: var(--dark3);&#xA;    border: 1px solid var(--fg-gutter);&#xA;}&#xA;&#xA;nav#manage ul a:hover, nav#manage ul a:active, nav#manage ul a:focus {&#xA;    color: var(--yellow);&#xA;}&#xA;&#xA;body {&#xA;    background-color: var(--bg);&#xA;    color: var(--fg);&#xA;}&#xA;&#xA;h1, h2, h3, h4, h5, h6 {&#xA;    font-family: var(--font-title);&#xA;}&#xA;&#xA;body, .font.norm, body#collection article.norm, body#post article.norm, body#subpage article.norm, input#title.norm, pre.norm, span.norm, textarea.norm, header h1 {&#xA;    font-family: var(--font-text);&#xA;}&#xA;&#xA;header p.description {&#xA;    color: var(--dark3);&#xA;}&#xA;&#xA;#official-writing h2, #official-writing h3, #official-writing h4, #wrapper h2, #wrapper h3, #wrapper h4, .post-title a:visited, .post-title a {&#xA;    color: var(--magenta2);&#xA;}&#xA;&#xA;time, body#post article time.dt-published, body#subpage article time.dt-published {&#xA;    opacity: 0.62;&#xA;    color: var(--fg);&#xA;}&#xA;&#xA;body h1 a, body header h2 a {&#xA;    color: var(--fg-dark);&#xA;}&#xA;&#xA;body h1 a:hover, body header h2 a:hover, body h1 a:active, body header h2 a:active, body h1 a:focus, body header h2 a:focus {&#xA;    color: var(--yellow);&#xA;}&#xA;&#xA;article a {&#xA;    color: var(--yellow);&#xA;}&#xA;&#xA;body#collection a.read-more, body#subpage a.read-more {&#xA;    color: var(--orange);&#xA;}&#xA;&#xA;body#post header, body#subpage header {&#xA;    opacity: 1;&#xA;}&#xA;&#xA;article.norm {&#xA;    font-size: 1.05em;&#xA;}&#xA;&#xA;hr {&#xA;    background-color: var(--terminal-black);&#xA;}&#xA;&#xA;body footer nav {&#xA;    color: var(--fg-dark);&#xA;}&#xA;&#xA;body footer nav a:link, body footer nav a:visited, body footer ul a:link, body footer ul a:visited, body footer a.home:link, body footer a.home:visited {&#xA;    color: var(--blue);&#xA;}&#xA;&#xA;.post-title a.action {&#xA;    color: var(--fg) !important;&#xA;}&#xA;&#xA;body#collection pre, body#post pre, body#subpage pre {&#xA;    background: var(--bg-dark);&#xA;    border: 1px solid var(--bg-highlight);&#xA;    padding: .675em 1em;&#xA;    border-radius: 0.5em;&#xA;}&#xA;&#xA;/ Uncomment the rule below and replace the font names to use a custom&#xA;monospaced font for your code sharing /&#xA;/code, textarea#embed {&#xA;    font-family: &#39;custom monospace font&#39;, monospace;&#xA;}/&#xA;&#xA;#Writefreely #TokyoNight #DarkTheme #Blog]]&gt;</description>
      <content:encoded><![CDATA[<p>Writefreely only has a light theme. It&#39;s a good one, I admit. However, I prefer having a dark theme, and since I love the Tokyonight color scheme, I decided to implement it in this blog.</p>



<p>If you want to use the same <em>theme</em> I&#39;m using here right now, or you want to use it as a base to build your own, you can find the CSS below or visit <a href="https://pastebin.com/GSDXA8GE" rel="nofollow">Pastebin</a> and copy it from there.</p>

<p>You&#39;ll notice I&#39;m using two typefaces from Google Fonts. If you don&#39;t want to use them or you don&#39;t like Google Fonts, remove the first two lines.</p>

<p><strong><em>Update: I switched to using CSS variables</em></strong></p>

<pre><code class="language-css">@import url(&#39;https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,200;0,300;0,400;0,700;1,200;1,300;1,400;1,700&amp;display=swap&#39;);
@import url(&#39;https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&amp;display=swap&#39;);

/* The variables names are taken from:
- https://raw.githubusercontent.com/folke/tokyonight.nvim/main/lua/tokyonight/colors.lua */
:root {
    --fg: #c8d3f5;
    --fg-dark: #828bb8;
    --fg-gutter: #3b4261;
    --bg: #222436;
    --bg-dark: #1e2030;
    --bg-highlight: #2f334d;
    --dark3: #545c7e;
    --terminal-black: #444a73;
    --yellow: #ffc777;
    --orange: #ff966c;
    --magenta2: #ff007c;
    --blue: #82aaff;
    --font-text: &#39;Hanken Grotesk&#39;, sans-serif;
    --font-title: &#39;Space Grotesk&#39;, sans-serif;
}

.video {
    width: 40rem;
    max-height: 600px;
}

nav#manage ul a {
    color: var(--fg);
}

nav#manage ul li:hover {
    background: var(--dark3);
}

nav#manage ul ul {
    background: var(--dark3);
    border: 1px solid var(--fg-gutter);
}

nav#manage ul a:hover, nav#manage ul a:active, nav#manage ul a:focus {
    color: var(--yellow);
}

body {
    background-color: var(--bg);
    color: var(--fg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
}

body, .font.norm, body#collection article.norm, body#post article.norm, body#subpage article.norm, input#title.norm, pre.norm, span.norm, textarea.norm, header h1 {
    font-family: var(--font-text);
}

header p.description {
    color: var(--dark3);
}

#official-writing h2, #official-writing h3, #official-writing h4, #wrapper h2, #wrapper h3, #wrapper h4, .post-title a:visited, .post-title a {
    color: var(--magenta2);
}

time, body#post article time.dt-published, body#subpage article time.dt-published {
    opacity: 0.62;
    color: var(--fg);
}

body h1 a, body header h2 a {
    color: var(--fg-dark);
}

body h1 a:hover, body header h2 a:hover, body h1 a:active, body header h2 a:active, body h1 a:focus, body header h2 a:focus {
    color: var(--yellow);
}

article a {
    color: var(--yellow);
}

body#collection a.read-more, body#subpage a.read-more {
    color: var(--orange);
}

body#post header, body#subpage header {
    opacity: 1;
}

article.norm {
    font-size: 1.05em;
}

hr {
    background-color: var(--terminal-black);
}

body footer nav {
    color: var(--fg-dark);
}

body footer nav a:link, body footer nav a:visited, body footer ul a:link, body footer ul a:visited, body footer a.home:link, body footer a.home:visited {
    color: var(--blue);
}

.post-title a.action {
    color: var(--fg) !important;
}

body#collection pre, body#post pre, body#subpage pre {
    background: var(--bg-dark);
    border: 1px solid var(--bg-highlight);
    padding: .675em 1em;
    border-radius: 0.5em;
}

/* Uncomment the rule below and replace the font names to use a custom
monospaced font for your code sharing */
/*code, textarea#embed {
    font-family: &#39;custom monospace font&#39;, monospace;
}*/
</code></pre>

<p><a href="/brunomiguel/tag:Writefreely" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Writefreely</span></a> <a href="/brunomiguel/tag:TokyoNight" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">TokyoNight</span></a> <a href="/brunomiguel/tag:DarkTheme" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">DarkTheme</span></a> <a href="/brunomiguel/tag:Blog" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Blog</span></a></p>
]]></content:encoded>
      <guid>https://infosec.press/brunomiguel/changing-the-colors</guid>
      <pubDate>Sat, 16 Dec 2023 19:51:27 +0000</pubDate>
    </item>
  </channel>
</rss>