From 78fd3c3844c4437b8bb4dd45133abd24d9d77c1e Mon Sep 17 00:00:00 2001 From: jkd65 Date: Sat, 1 Dec 2018 16:43:36 -0600 Subject: [PATCH] swapped primary and success button styling --- css/nes.css | 12 ++++++------ scss/elements/buttons.scss | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/css/nes.css b/css/nes.css index 9ab661d..e3da396 100644 --- a/css/nes.css +++ b/css/nes.css @@ -428,33 +428,33 @@ button, outline: 0; } -.btn.is-primary { +.btn.is-success { color: #fff; background-color: #92cc41; box-shadow: inset -4px -4px #4aa52e; } -.btn.is-primary:hover, .btn.is-primary:focus { +.btn.is-success:hover, .btn.is-success:focus { background-color: #76c442; box-shadow: inset -6px -6px #4aa52e; } -.btn.is-primary:active { +.btn.is-success:active { box-shadow: inset 4px 4px #4aa52e; } -.btn.is-success { +.btn.is-primary { color: #fff; background-color: #209cee; box-shadow: inset -4px -4px #006bb3; } -.btn.is-success:hover, .btn.is-success:focus { +.btn.is-primary:hover, .btn.is-primary:focus { background-color: #108de0; box-shadow: inset -6px -6px #006bb3; } -.btn.is-success:active { +.btn.is-primary:active { box-shadow: inset 4px 4px #006bb3; } diff --git a/scss/elements/buttons.scss b/scss/elements/buttons.scss index dc83752..86f1551 100644 --- a/scss/elements/buttons.scss +++ b/scss/elements/buttons.scss @@ -62,8 +62,8 @@ // Other styles // prettier-ignore $types: - "primary" #fff #92cc41 #76c442 #4aa52e, - "success" #fff #209cee #108de0 #006bb3, + "success" #fff #92cc41 #76c442 #4aa52e, + "primary" #fff #209cee #108de0 #006bb3, "warning" $base-color #f7d51d #f2c409 #e59400, "error" #fff #e76e55 #ce372b #8c2022;