Skip to content

Commit

Permalink
chore: alert divs styling for low warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
abose committed Jan 14, 2025
1 parent 3c225ff commit 245eed7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/styles/brackets_core_ui_variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,9 @@

// Warning
@dark-bc-warning-bg: #c95800;
@dark-bc-warning-bg-low: #ffd966;
@dark-bc-warning-text: #fff;
@dark-bc-warning-text-low: #333333;

// Text
@dark-bc-text: #ccc;
Expand Down
17 changes: 16 additions & 1 deletion src/styles/brackets_patterns_override.less
Original file line number Diff line number Diff line change
Expand Up @@ -2221,9 +2221,24 @@ dt,
border: none;

.dark & {
color: @dark-bc-warning-bg;
background: @dark-bc-warning-bg;
border-radius: 2px;
color: @dark-bc-warning-text;
}
}

.alert.alert-warning {
text-shadow: none;
background-color: @bc-warning-bg;
border: none;

.dark & {
background: @dark-bc-warning-bg-low;
border-radius: 2px;
color: @dark-bc-warning-text-low;
}
}

.alert h4 {
// Specified for the h4 to prevent conflicts of changing @headingsColor
color: @bc-warning-bg;
Expand Down

0 comments on commit 245eed7

Please sign in to comment.