ember-learn / ember-learn/ember-cli-addon-docs
Tailwind global style pollution
- 主要言語
- JavaScript
- スター
- 172
- フォーク
- 142
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I searched through the issues and noticed there was some work to prefix the Tailwind styles to avoid collisions, but it seems like there is still a global reset that is unprefixed. From my vendor.css:

I'm hoping to use addon-docs as a poor-mans styleguide among other things, and the differences between the consuming app and the addon docs due to these kinds of global styles makes that more difficult.
Unfortunately I don't have bandwidth at the moment to investigate a fix, but I'll try to circle back if I'm able.
コントリビューションガイド
調査の方向性
まず、Tailwind のスタイルが vendor.css にどのようにバンドルされているかを追跡し、プレフィックス付きのルールと、レポートに示されている残りのグローバルリセットを比較します。そのリセットの出所を特定し、Tailwind のスタイリングが引き続き機能する一方で、addon-docs のスタイルが consuming-app の要素を変更しなくなっていることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- tailwindcss
- 領域
- frontend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100