diff --git a/packages/app-staking/src/index.css b/packages/app-staking/src/index.css index bc4ba1c017..3b54d118d4 100644 --- a/packages/app-staking/src/index.css +++ b/packages/app-staking/src/index.css @@ -76,7 +76,7 @@ } .staking--Account-validating.isValidator { - color: red; + color: #d75ea1; opacity: 1 !important; } diff --git a/packages/ui-app/src/styles/partials/_variables.css b/packages/ui-app/src/styles/partials/_variables.css index 407875e354..17a8b645b8 100644 --- a/packages/ui-app/src/styles/partials/_variables.css +++ b/packages/ui-app/src/styles/partials/_variables.css @@ -1 +1,26 @@ -$small-corner: .28571429rem; \ No newline at end of file +$small-corner: .28571429rem; + +$green: #77c689; +$orange: #f6a46e; +$red: #e97f7f; + +$pewter-blue: #89acb4; +$dark-sky-blue: #96bdc6; + +$silver-chalice: #a1b1b5; +$cadet-grey: #98aaae; + +$wild-orchid: #d75ea1; +$middle-purple: #e189ba; + +$light-slate-gray: #718d94; + +$button-primary-color: $dark-sky-blue; +$button-primary-color-hover: $pewter-blue; +$button-color: $silver-chalice; +$button-color-hover: $cadet-grey; +$button-negative-color: $wild-orchid; +$button-negative-color-hover: $middle-purple; +$anchor-color: $light-slate-gray; +$anchor-color-hover: $cadet-grey; +$progress-bar-color: $dark-sky-blue; diff --git a/packages/ui-app/src/styles/semantic.css b/packages/ui-app/src/styles/semantic.css index aa0f9a5e64..75aa660bac 100644 --- a/packages/ui-app/src/styles/semantic.css +++ b/packages/ui-app/src/styles/semantic.css @@ -2,6 +2,8 @@ /* This software may be modified and distributed under the terms /* of the ISC license. See the LICENSE file for details. */ +@import 'partials/_variables.css'; + .ui.hidden.divider { margin: 0.5rem 0; } @@ -91,5 +93,81 @@ .ui.disabled.active.button, .ui.disabled.button, .ui.disabled.button:hover { - opacity: 0.1 !important; + opacity: 0.4 !important; +} + +.ui.primary.button, +.ui.buttons .primary.button, +.ui.primary.button:active, +.ui.buttons .primary.button:active, +.ui.primary.button:focus, +.ui.buttons .primary.button:focus { + background-color: $button-primary-color; +} + + +.ui.primary.button:hover, +.ui.buttons .primary.button:hover { + background-color: $button-primary-color-hover; +} + +.ui.button, +.ui.buttons .button, +.ui.button:active, +.ui.buttons .button:active, +.ui.button:focus, +.ui.buttons .button:focus, +.ui.positive.button, +.ui.buttons .positive.button, +.ui.positive.button:active, +.ui.buttons .positive.button:active, +.ui.positive.button:focus, +.ui.buttons .positive.button:focus { + background-color: $button-color; + color: white; +} + +.ui.button:hover, +.ui.buttons .button:hover, +.ui.positive.button:hover, +.ui.buttons .positive.button:hover { + background-color: $button-color-hover; + color: white; +} + +.ui.negative.button, +.ui.buttons .negative.button, +.ui.negative.button:focus, +.ui.buttons .negative.button:focus, +.ui.negative.button:active, +.ui.buttons .negative.button:active { + background-color: $button-negative-color; +} + +.ui.negative.button:hover, +.ui.buttons .negative.button:hover { + background-color: $button-negative-color-hover; +} + +.ui.blue.progress .bar { + background-color: $progress-bar-color; +} + +a { + color: $anchor-color; +} + +a:hover { + color: $anchor-color-hover; +} + +.ui.green.progress .bar { + background-color: $green; +} + +.ui.orange.progress .bar { + background-color: $orange; +} +.ui.red.progress .bar { + background-color: $red; }