From 5bb458cb10628bfe2759660b1e74c3c1d7e046d3 Mon Sep 17 00:00:00 2001 From: freyamade Date: Tue, 18 Oct 2022 14:30:28 +0100 Subject: [PATCH] added an fflogs colour scheme --- .../src/assets/gear_gradients/_index.scss | 1 + .../src/assets/gear_gradients/fflogs.scss | 38 +++++++++++++++++++ frontend/src/views/settings.vue | 1 + 3 files changed, 40 insertions(+) create mode 100644 frontend/src/assets/gear_gradients/fflogs.scss diff --git a/frontend/src/assets/gear_gradients/_index.scss b/frontend/src/assets/gear_gradients/_index.scss index 11b21584..16b3ce17 100644 --- a/frontend/src/assets/gear_gradients/_index.scss +++ b/frontend/src/assets/gear_gradients/_index.scss @@ -1,6 +1,7 @@ @import './ace.scss'; @import './beta.scss'; @import './blue.scss'; +@import './fflogs.scss'; @import './green.scss'; @import './lesbian.scss'; @import './nb.scss'; diff --git a/frontend/src/assets/gear_gradients/fflogs.scss b/frontend/src/assets/gear_gradients/fflogs.scss new file mode 100644 index 00000000..2ab37f01 --- /dev/null +++ b/frontend/src/assets/gear_gradients/fflogs.scss @@ -0,0 +1,38 @@ +$is-il-minus-25: #666666; +$is-il-minus-20: #1eff00; +$is-il-minus-15: #0070ff; +$is-il-minus-10: #a335ee; +$is-il-minus-5: #ff8000; +$is-il-minus-0: #e268a8; +$is-il-bis: #e5cc80; + +table.gear-table.is-fflogs { + .is-il-minus-25 { + background-color: $is-il-minus-25; + color: #fff; + } + .is-il-minus-20 { + background-color: $is-il-minus-20; + color: rgba(#000, 0.7); + } + .is-il-minus-15 { + background-color: $is-il-minus-15; + color: #fff; + } + .is-il-minus-10 { + background-color: $is-il-minus-10; + color: #fff; + } + .is-il-minus-5 { + background-color: $is-il-minus-5; + color: rgba(#000, 0.7); + } + .is-il-minus-0 { + background-color: $is-il-minus-0; + color: rgba(#000, 0.7); + } + .is-il-bis { + background-color: $is-il-bis; + color: rgba(#000, 0.7); + } +} diff --git a/frontend/src/views/settings.vue b/frontend/src/views/settings.vue index a7d85004..ef7c0080 100644 --- a/frontend/src/views/settings.vue +++ b/frontend/src/views/settings.vue @@ -18,6 +18,7 @@