<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>alluser</author_name>
  <author_url>https://blog.hatena.ne.jp/alluser/</author_url>
  <blog_title>メモを揉め</blog_title>
  <blog_url>https://memowomome.hatenablog.com/</blog_url>
  <categories>
    <anon>CSS</anon>
    <anon>JavaScript</anon>
    <anon>HTML</anon>
    <anon>Tips</anon>
    <anon>プログラミング</anon>
    <anon>Stylus</anon>
    <anon>エディタ</anon>
    <anon>Atom</anon>
    <anon>webpack</anon>
    <anon>npm</anon>
    <anon>Node</anon>
  </categories>
  <description>transition 、animationが使えるようになり、擬似セレクタの種類も増えてきたことで、スタイル周りの多くのことがCSSだけ（あるいはclassListのadd、remove程度の操作）で書けるようになってきた気がする。 それでも、どうしても JavaScript で操作したい時もまだあって、 Stylus で利用している変数を JavaScript 内でも参照したくなることがある。 いくつか方法を試した結果、結局 Stylus のプラグインを自作することにした。 www.npmjs.com Atom + pigments やりたかったことをまとめると、 Stylus の変数定義フ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemowomome.hatenablog.com%2Fentry%2F2016%2F09%2F27%2F080000&quot; title=&quot;Stylus の変数に JS からアクセスする方法を考える - メモを揉め&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/a/alluser/20160925/20160925214505.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-09-27 08:00:00</published>
  <title>Stylus の変数に JS からアクセスする方法を考える</title>
  <type>rich</type>
  <url>https://memowomome.hatenablog.com/entry/2016/09/27/080000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
