Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

has-${色名}-border-color クラスがほしいかも #4

Closed
drill-lancer opened this issue Sep 28, 2021 · 4 comments · Fixed by #11
Closed

has-${色名}-border-color クラスがほしいかも #4

drill-lancer opened this issue Sep 28, 2021 · 4 comments · Fixed by #11

Comments

@drill-lancer
Copy link
Member

has-border-color has-${色名}-border-color みたいな使い方を想定

@kurudrive
Copy link
Member

必要なんじゃないかと思いつつ、コアでそのクラスを使っている場面がまだ見かけてないので追加していない状態です。
コアだと is-style-outline をつけてて、それがついてると 線の色に
border-bottom: 1px solid currentColor;
を指定している感じです。

@kurudrive
Copy link
Member

なので必要な場面が出てきた段階で再度コメントくださいー。

@shimotmk
Copy link
Contributor

shimotmk commented Feb 3, 2022

@kurudrive
WordPress 5.9からhas-${色名}-border-colorが追加されました
なので @drill-lancer さんの予言どおり、このクラス名は必要だと思うのですがいかがでしょうか?
WordPress/gutenberg#30124

コアのプルクオートなどで使われています

@kurudrive
Copy link
Member

@drill-lancer @shimotmk あった方が良いと思いますー。追加でよろしくお願いいたします。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants