Skip to content

Commit

Permalink
Do not rely on opacity change for hover feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Ambrosini <[email protected]>
  • Loading branch information
marcoambrosini committed Aug 3, 2022
1 parent 470b0a9 commit c274f01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions src/components/Button/Button.vue
Original file line number Diff line number Diff line change
Expand Up @@ -548,22 +548,18 @@ export default {
&--vue-tertiary-no-background {
color: var(--color-main-text);
background-color: transparent;
opacity: .7;
&:hover:not(:disabled) {
background-color: transparent;
opacity: 1;
}
}

// Tertiary on primary color (like the header)
&--vue-tertiary-on-primary {
color: var(--color-primary-text);
background-color: transparent;
opacity: .7;

&:hover:not(:disabled) {
background-color: transparent;
opacity: 1;
}
}

Expand Down
6 changes: 3 additions & 3 deletions webpack.dev.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
const { merge } = require('webpack-merge')
const common = require('./webpack.common.js')
const { merge } = require('webpack-merge');
const common = require('./webpack.common.js');

module.exports = merge(common, {
mode: 'development',
devServer: {
historyApiFallback: true,
noInfo: true,
overlay: true,
overlay: true
},
devtool: 'source-map',
})

0 comments on commit c274f01

Please sign in to comment.