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

將所有 .u- 輔助樣式改為 .has- #935

Closed
YamiOdymel opened this issue Sep 3, 2023 · 0 comments
Closed

將所有 .u- 輔助樣式改為 .has- #935

YamiOdymel opened this issue Sep 3, 2023 · 0 comments
Assignees
Labels
🎨 CSS 與 CSS 和外觀設計上有關聯。 💣 大型異動 這個請求是大型異動,甚至有可能重寫部份程式碼而不是單純小修改追加功能。
Milestone

Comments

@YamiOdymel
Copy link
Member

其實原先的設計就是 has-paddedhas-vertically-spaced,後來想測試一下 u-paddedu-vertically-padded 的命名樣式,但無論如何就是看 u- 有點不太爽,像是沒有意義的標籤。

後來也在測試是不是能透過 has-x-spacedhas-x-margin 來取代 has-horizontally-spaced,但那又是另外一回事了。一旦開始用上縮寫,就會有點回不去了,例如為什麼不使用 pt-4 來取代 padding-top-4 之類的,又或是 is-4 來取代 is-4-wide

@YamiOdymel YamiOdymel added 💣 大型異動 這個請求是大型異動,甚至有可能重寫部份程式碼而不是單純小修改追加功能。 🎨 CSS 與 CSS 和外觀設計上有關聯。 labels Sep 3, 2023
@YamiOdymel YamiOdymel self-assigned this Sep 3, 2023
@YamiOdymel YamiOdymel added this to the Tocas 4.2.5 milestone Sep 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎨 CSS 與 CSS 和外觀設計上有關聯。 💣 大型異動 這個請求是大型異動,甚至有可能重寫部份程式碼而不是單純小修改追加功能。
Projects
None yet
Development

No branches or pull requests

1 participant