<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yunagi_n</author_name>
  <author_url>https://blog.hatena.ne.jp/yunagi_n/</author_url>
  <blog_title>なつねこメモ</blog_title>
  <blog_url>https://tech.natsuneko.blog/</blog_url>
  <categories>
    <anon>CSS</anon>
    <anon>TailwindCSS</anon>
  </categories>
  <description>考えることを極力減らしたい、そんな私ですが、ダークモード対応も面倒ですよね。 そんなときに使えるのが NightwindCSS という TailwindCSS のプラグインがあります。 それを使ったダークモード対応のお話。 といっても導入方法は簡単で、以下のようにしてあげれば終わります。 まずはいつも通り依存に追加してあげて、 $ yarn add nightwind TailwindCSS の設定のプラグイン部分に追加してあげる。 module.exports = { // 略 plugins: [ require(&quot;nightwind&quot;) ], } 最後に、何かしらの方法で script …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.natsuneko.blog%2Fentry%2F2021%2F05%2F07%2Feasy-tailwind-dark-mode-support-in-nightwindcss&quot; title=&quot;NightwindCSS で TailwindCSS のダークモード対応を楽にしたい - なつねこメモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-05-06 15:00:00</published>
  <title>NightwindCSS で TailwindCSS のダークモード対応を楽にしたい</title>
  <type>rich</type>
  <url>https://tech.natsuneko.blog/entry/2021/05/07/easy-tailwind-dark-mode-support-in-nightwindcss</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
