question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request: md-button-toggle-group color options (primary, accent, warn)

See original GitHub issue

Bug, feature request, or proposal:

Feature Request: add theme options for md-button-toggle-group

What is the expected behavior?

it should behave as same as md-raised-button’s do.

What is the current behavior?

it only contains the default theme.

screen shot 2017-09-19 at 12 24 40 pm

What are the steps to reproduce?

<md-button-toggle-group #group="mdButtonToggleGroup" color="primary">
  <md-button-toggle value="left">
    <md-icon>format_align_left</md-icon>
  </md-button-toggle>
<md-button-toggle-group

Eq: https://plnkr.co/edit/IHey0TCusgDW6X2eXV9W?p=preview

What is the use-case or motivation for changing an existing behavior?

Consistency on the Layout

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

@angular 4.4.0 @angular/material 2.0.0-beta.10

Is there anything else we should know?

There’s an old issue similar https://github.com/angular/material2/issues/2709

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:122
  • Comments:18 (2 by maintainers)

github_iconTop GitHub Comments

17reactions
simeylacommented, Feb 26, 2019

Expecting material issues to be fixed is getting too stressful for me.

image

9reactions
etay2000commented, Jul 30, 2020

Just thought I would comment before this issue gets automatically locked. I know this issue is still considered new in Angular terms (only 3 years old), and I know this is open source and I am not supposed to have any expectations, but seriously?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular Material 10 - how to use primary, accent, warn ...
All I find in the docs and articles is how to customize it. I do not need to customize, just use the standard...
Read more >
Theming Angular Material
Constructing the theme first requires defining your primary and accent palettes, with an optional warn palette. The define-palette Sass function accepts a color...
Read more >
Selected Color Of Materialtogglebutton To A Solid Color
Toggle buttons can be used to select from a group of choices. ... Feature Request: mdbuttontogglegroup color options primary accent warn #7162.
Read more >
Custom Theme for Angular Material Components Series
scss (Line 7), to generate primary, accent and warn theme color-maps, step 2️⃣. mat-light-theme function creates a light theme variant for given theme-color...
Read more >
mat-slide-toggle disabled
Bug, feature request, or proposal: This bug occurs intermittently. ... These relate to the primary, accent and warn color palette variants of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found