From 97bab8e0636f399e1b2401bf2aab67cff1f67fd0 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Fri, 28 Dec 2018 17:47:54 +0100 Subject: [PATCH] styling: Fix colored links text hover on dark theme closes #547 (Text-success hover on dark theme) --- resources/assets/themes/theme7.less | 15 ++++++++++----- webpack.config.js | 4 +--- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/resources/assets/themes/theme7.less b/resources/assets/themes/theme7.less index 3ef81fd3..26afeb8c 100644 --- a/resources/assets/themes/theme7.less +++ b/resources/assets/themes/theme7.less @@ -900,27 +900,32 @@ THE SOFTWARE. // Typography ================================================================= .text-primary, -.text-primary:hover { +.text-primary:hover, +a.text-primary:hover { color: @brand-primary; } .text-success, -.text-success:hover { +.text-success:hover, +a.text-success:hover { color: @brand-success; } .text-danger, -.text-danger:hover { +.text-danger:hover, +a.text-danger:hover { color: @brand-danger; } .text-warning, -.text-warning:hover { +.text-warning:hover, +a.text-warning:hover { color: @brand-warning; } .text-info, -.text-info:hover { +.text-info:hover, +a.text-info:hover { color: @brand-info; } diff --git a/webpack.config.js b/webpack.config.js index 8f1021fe..403c885e 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -58,9 +58,7 @@ module.exports = { { test: /\.(less|css)$/, use: [ - { - loader: __DEV__ ? 'style-loader' : MiniCssExtractPlugin.loader, - }, + { loader: MiniCssExtractPlugin.loader }, { loader: 'css-loader', options: { importLoaders: 1 } }, { loader: 'less-loader' }, ]