Add base style for button for cursor:pointer, update default btn bg and confirm yes btn color

This commit is contained in:
advplyr 2025-03-25 17:47:11 -05:00
parent 2ce0c7ea47
commit 366fd1a6da
3 changed files with 7 additions and 2 deletions

View File

@ -16,6 +16,11 @@
::file-selector-button { ::file-selector-button {
border-color: var(--color-gray-200, currentColor); border-color: var(--color-gray-200, currentColor);
} }
[role='button'],
button {
cursor: pointer;
}
} }
@theme { @theme {

View File

@ -68,7 +68,7 @@ export default {
return this.confirmPromptOptions.yesButtonText || this.$strings.ButtonYes return this.confirmPromptOptions.yesButtonText || this.$strings.ButtonYes
}, },
yesButtonColor() { yesButtonColor() {
return this.confirmPromptOptions.yesButtonColor || 'bg-success' return this.confirmPromptOptions.yesButtonColor || 'success'
}, },
checkboxDefaultValue() { checkboxDefaultValue() {
return !!this.confirmPromptOptions.checkboxDefaultValue return !!this.confirmPromptOptions.checkboxDefaultValue

View File

@ -16,7 +16,7 @@ export default {
disabled: Boolean, disabled: Boolean,
bgColor: { bgColor: {
type: String, type: String,
default: 'primary' default: 'bg-primary'
}, },
outlined: Boolean, outlined: Boolean,
borderless: Boolean, borderless: Boolean,