Skip to content

bug: ion-segment-button don't get parent color #20233

Closed
@rdlabo

Description

@rdlabo

#19711 Bug Report

Ionic version:

[ ] 4.x
[x] 5.x

Current behavior:
<ion-segment color="primary"> is worked, but don't effect to ion-segment-button 's color.

For example:
スクリーンショット 2020-01-18 11 31 56

Expected behavior:
When set color in ion-segment, effect to ion-segment-button 's color.

--indicator-color

Steps to reproduce:

Related code:

<ion-segment color="primary">
  <ion-segment-button value="users"><ion-label>ユーザ</ion-label></ion-segment-button>
  <ion-segment-button value="recommend"><ion-label>おすすめ</ion-label></ion-segment-button>
</ion-segment>
insert short code snippets here

Other information:

Ionic info:

Ionic:

   Ionic CLI                     : 5.4.13 (/Users/sakakibara/dev/ionic-cli/packages/ionic)
   Ionic Framework               : @ionic/angular 5.0.0-beta.5
   @angular-devkit/build-angular : 0.900.0-rc.9
   @angular-devkit/schematics    : 9.0.0-rc.9
   @angular/cli                  : 9.0.0-rc.9
   @ionic/angular-toolkit        : 2.1.1

Capacitor:

   Capacitor CLI   : 1.4.0
   @capacitor/core : 1.4.0

Utility:

   cordova-res (update available: 0.8.1) : 0.6.0
   native-run                            : not installed

System:

   NodeJS : v10.16.2 (/usr/local/bin/node)
   npm    : 6.13.2
   OS     : macOS Catalina

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