Sha256: 18548cde5db16e508b40a47bf5bc0d43e9efe01f52f40e22caa8ff6f0d3887da

Contents?: true

Size: 1.68 KB

Versions: 2

Compression:

Stored size: 1.68 KB

Contents

//
// Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

@import "@material/theme/mixins";
@import "./mixins";
@import "./variables";

// postcss-bem-linter: define button
.mdc-button {
  @include mdc-button-base_;
  @include mdc-button-corner-radius(2px);
  @include mdc-button-container-fill-color(transparent);
  @include mdc-button-ink-color(primary);
  @include mdc-button-ripple((theme-style: primary, opacity: $mdc-unfilled-button-ripple-opacity));
}

.mdc-button--raised,
.mdc-button--unelevated {
  @include mdc-button--filled_;
  @include mdc-button-container-fill-color(primary);
  @include mdc-button-ink-color(text-primary-on-primary);
  @include mdc-button-ripple((theme-style: text-primary-on-primary, opacity: $mdc-filled-button-ripple-opacity));
}

.mdc-button--raised {
  @include mdc-button--raised_;
}

.mdc-button--stroked {
  @include mdc-button--stroked_;
  @include mdc-button-stroke-width(2px);
  @include mdc-button-stroke-color(primary);
}

.mdc-button--compact {
  @include mdc-button--compact_;
}

.mdc-button--dense {
  @include mdc-button--dense_;
}

.mdc-button__icon {
  @include mdc-button__icon_;
}
// postcss-bem-linter: end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
material_components_web-sass-0.23.0 vendor/assets/stylesheets/@material/button/mdc-button.scss
material_components_web-sass-0.22.0 vendor/assets/stylesheets/@material/button/mdc-button.scss