Skip to content

Commit

Permalink
Improve color constrast and remove blue drop shadow
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoroth committed Mar 13, 2023
1 parent d4b975e commit a35fa9a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions javascript/version_checker.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import CableReady from "cable_ready"
CableReady.operations.stimulusReflexVersionMismatch = operation => {
const levels = {
"info": {},
"success": { background: "rgb(0, 176, 155)" },
"warn": { background: "rgb(247, 187, 60)" },
"error": { background: "rgb(255, 95, 109)" },
"success": { background: "#198754", color: "white" },
"warn": { background: "#ffc107", color: "black" },
"error": { background: "#dc3545", color: "white" },
}

const defaults = {
Expand Down Expand Up @@ -37,7 +37,6 @@ function setupToastify() {
padding: 12px 20px;
color: #ffffff;
display: inline-block;
box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.12), 0 10px 36px -4px rgba(77, 96, 232, 0.3);
background: -webkit-linear-gradient(315deg, #73a5ff, #5477f5);
background: linear-gradient(135deg, #73a5ff, #5477f5);
position: fixed;
Expand Down

0 comments on commit a35fa9a

Please sign in to comment.