const r = () => ({
  postcssPlugin: "postcss-dialtone-root-to-host",
  Once(s) {
    var e, o;
    if (!((o = (e = s.source) == null ? void 0 : e.input) != null && o.file) || !/tokens-.*?\.css/.test(s.source.input.file))
      return;
    const t = s.last;
    t && t.type === "rule" && t.selector === ":root" && (t.selector = ":host");
  }
});
r.postcss = !0;
export {
  r as default
};
