-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Add button color variables #25774
Add button color variables #25774
Conversation
So... what is the status here? |
Back on it these days :) |
e491584
to
4a4cb54
Compare
4a4cb54
to
6bc07bf
Compare
6bc07bf
to
2cde710
Compare
84646bc
to
5745bb3
Compare
Signed-off-by: Marco Ambrosini <[email protected]>
Signed-off-by: marco <[email protected]>
5745bb3
to
f6e62b1
Compare
@@ -24,7 +24,7 @@ $default-height: 34px; | |||
|
|||
/* Simple selector to allow easy overriding */ | |||
select, | |||
button, | |||
button:not(.button-vue), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this to prevent the vue button from being styled from here ? Is this really necessary as it is probably scoped ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The server style is not scoped and it targets everything unless we do this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, ok, I thought that vue components could be isolated from external CSS. Maybe I am wrong :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@marcoambrosini please document this breaking change in #27846. Mail and likely other apps using nc/vue break because of this change if I understand this correctly. cc @GretaD
Will this be backported? |
/backport to stable22 |
Can we backport it to stable21 and stable20 as well? Would help using the button component. I will give backporting a try, let's see if it works. |
/backport to stable21 |
/backport to stable20 |
I see where this is coming from but I'm really not sure if backporting is such a great idea. After all any apps installed in existing Nextcloud installations of v20, v21 and v22 will work or break depending on which patch version they are on. I would rather make a the button a breaking change in nc/vue and a hard requirement on Nextcloud 23. Then we have som certainty that the app we ship also works in the intended way. General rule: we don't backport features. Only fixes are backported. |
In that case, e.g the Tasks app can only start using the Button component once v23 is the oldest supported server version (July 2022), since we aim at supporting all still supported server versions with the same release. |
No description provided.