Skip to content

bug: ion-button MD hover too transparent #17974

@btsiders

Description

@btsiders

Bug Report

Ionic version:

[x] 4.2.1

Current behavior:

When hovering over ion-buttons that are clear or outlined, the button always looks very light and washed out, way more than expected.

Expected behavior:

The color should be easier to see.

Steps to reproduce:

  1. Put a button on a page.
  2. Set its fill to outline or clear.
  3. Hover over it.
  4. The hover color should be about a 40% transparency, but it is a 4% transparency.

Related code:

<ion-button fill="clear">Hover over me</ion-button>
<ion-button fill="outline">Hover over me</ion-button>

Other information:

I will submit a PR to fix this. It just seems to be a typo, really.

Ionic info:

Ionic:

   ionic (Ionic CLI)             : 4.12.0 (C:\Users\Bryan\AppData\Roaming\npm\node_modules\ionic)
   Ionic Framework               : @ionic/angular 4.2.0
   @angular-devkit/build-angular : 0.12.4
   @angular-devkit/schematics    : 7.3.7
   @angular/cli                  : 7.3.7
   @ionic/angular-toolkit        : 1.5.0

System:

   NodeJS : v8.11.3 (C:\Program Files\nodejs\node.exe)
   npm    : 6.9.0
   OS     : Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions