Skip to content

Commit

Permalink
Updating Alert classes for Kondo
Browse files Browse the repository at this point in the history
  • Loading branch information
lparrott committed Dec 19, 2024
1 parent a2af4fc commit 83e69c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion force-app/main/default/lwc/geModalPrompt/geModalPrompt.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default class geModalPrompt extends LightningElement {
let allowedVariants = ['warning', 'shade', 'inverse', 'alt-inverse',
'success', 'info', 'error', 'offline', 'default'];

let baseClass = ['slds-box', 'slds-theme_alert-texture', 'slds-box_extension'];
let baseClass = ['slds-box', 'slds-box_extension'];

if (isEmpty(this.variant) || !allowedVariants.includes(this.variant)) {
baseClass.push('slds-theme_default');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { LightningElement, api } from 'lwc';
import { isEmpty } from 'c/utilCommon';

const defaultClass = 'slds-notify slds-notify_alert slds-theme_alert-texture slds-theme_';
const defaultClass = 'slds-notify_alert slds-theme_';

export default class AlertBanner extends LightningElement {
/**
Expand Down
2 changes: 1 addition & 1 deletion force-app/main/default/lwc/utilPrompt/utilPrompt.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default class utilPrompt extends LightningElement {
@api confirmButtonTitle;
@api hasBackDrop;
@api position;
_themeClass = 'slds-modal__header slds-theme_alert-texture ';
_themeClass = 'slds-modal__header ';

get promptTheme() {
switch (this.variant) {
Expand Down

0 comments on commit 83e69c7

Please sign in to comment.