<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>upsider_dev</author_name>
  <author_url>https://blog.hatena.ne.jp/upsider_dev/</author_url>
  <blog_title>UPSIDER Techblog</blog_title>
  <blog_url>https://tech.up-sider.com/</blog_url>
  <categories>
    <anon>Frontend</anon>
  </categories>
  <description>こんにちは、UPSIDERでエンジニアをしている太田です（@Hide55832241）。 私たちが開発する支払い.comをはじめUPSIDERのプロダクトではTailwind CSSを使用しているものがあります。 その中で動的に色を扱いたいケースがあったため紹介します。 ※ Tailwind v3の話をします。記事後半でv4について少し触れます。 背景とユースケース 1つのプロダクトでユーザーごとにテーマカラーを変えたい。 たとえばコミュニティサイトでプロフィールページのキーカラーを自由に設定させたい場面を想定します。 デフォルトは灰みがかった青紫です。 しかし全員この色では少し退屈なので、ユ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.up-sider.com%2Fentry%2F20250611_tailwind&quot; title=&quot;Tailwind CSSで動的なテーマカラーを扱う方法 - UPSIDER Techblog&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>https://cdn-ak.f.st-hatena.com/images/fotolife/u/upsider_dev/20250818/20250818100429.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-06-11 14:16:42</published>
  <title>Tailwind CSSで動的なテーマカラーを扱う方法</title>
  <type>rich</type>
  <url>https://tech.up-sider.com/entry/20250611_tailwind</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
