Remove Mac prefix #3
Replies: 4 comments
-
If I don't add a prefix, it would clash with Material components. All the Mac components are wrapping Material components, so dropping the prefix could be confusing. Generally other blogs have been suggesting a prefix for themed components I think |
Beta Was this translation helpful? Give feedback.
-
Ah, I thought you was using the basic pack. I think Material should be hidden to the user so the prefix should not be necessary. Maybe this can be an interesting topic to talk about in Slack 🤔 |
Beta Was this translation helpful? Give feedback.
-
So, after the input in slack, I'm still leaning towards using Mac prefixes. I will trial adding WindowsButton soon, and then just Button, that will switch between the two. The main reasons I want to call it MacButton are:
|
Beta Was this translation helpful? Give feedback.
-
Compose is build thinking in you can implement your own theme, if you check Material, it doesn't add
Material
prefix to all Material component.Beta Was this translation helpful? Give feedback.
All reactions