app/assets/stylesheets/spree/backend/components/_messages.scss in solidus_backend-2.3.1 vs app/assets/stylesheets/spree/backend/components/_messages.scss in solidus_backend-2.4.0.beta1

- old
+ new

@@ -1,16 +1,16 @@ .errorExplanation { padding: 5px; - border: 1px solid very-light($brand-danger, 12); - background-color: very-light($brand-danger, 6); + border: 1px solid very-light(theme-color("danger"), 12); + background-color: very-light(theme-color("danger"), 6); border-radius: 3px; - color: very-light($brand-danger, 30); + color: very-light(theme-color("danger"), 30); margin-bottom: 15px; h2 { font-size: 140%; - color: very-light($brand-danger, 30); + color: very-light(theme-color("danger"), 30); margin-bottom: 5px; } p { padding: 10px 0; @@ -35,20 +35,20 @@ text-align: center; font-size: 120%; color: $color-1; font-weight: $font-weight-bold; - &.notice { background-color: rgba($brand-warning, 0.8) } - &.success { background-color: rgba($brand-success, 0.8) } - &.error { background-color: rgba($brand-danger, 0.8) } + &.notice { background-color: rgba(theme-color("warning"), 0.8) } + &.success { background-color: rgba(theme-color("success"), 0.8) } + &.error { background-color: rgba(theme-color("danger"), 0.8) } } .alert { position: relative; font-weight: normal !important; a { text-decoration: underline; } - &.error a { color: very-light($brand-danger, 10) } + &.error a { color: very-light(theme-color("danger"), 10) } }