From e94c564364cb82b5f2371706bcb723541e3752a4 Mon Sep 17 00:00:00 2001 From: TJ Egan Date: Thu, 13 Apr 2017 10:29:23 -0500 Subject: [PATCH] feat(buttons): add theme variables, move vars to vars file --- src/components/button/_mixins.scss | 182 ----------------------------- src/globals/scss/_colors.scss | 27 ----- src/globals/scss/_vars.scss | 37 ++++++ 3 files changed, 37 insertions(+), 209 deletions(-) diff --git a/src/components/button/_mixins.scss b/src/components/button/_mixins.scss index 652134fa661e..daf77f5c1979 100644 --- a/src/components/button/_mixins.scss +++ b/src/components/button/_mixins.scss @@ -1,41 +1,3 @@ -$button-font-weight: 700 !default; -$button-font-size: .875rem !default; -$button-border-radius: 0 !default; -$button-height: 40px !default; -$button-padding: 0 1rem !default; -$button-padding-sm: 0 .5rem !default; -$button-border-width: 2px !default; - -$button-font-weight: 400; -$button-font-size: 1rem; -$button-border-radius: 1rem; -$button-height: 32px; -$button-padding: 0 2rem; -$button-padding-sm: 0 1rem; -$button-border-width: 1px; - - -// Watson -$brand-01: #047cc0; -$brand-02: #175d8d; -$brand-03: #95c4f3; -$inverse-01: #ffffff; -$ui-01: #f6f6f6; -$ui-02: #ffffff; -$ui-03: #eaeaea; -$ui-04: #eaeaea; -$ui-05: #777677; -$text-01: #272727; -$text-02: #595859; -$text-03: #777677; -$field-01: #eaeaea; -$support-01: #e62325; -$support-02: #34bc6e; -$support-03: #fed500; -$support-04: #5c1f1b; -$nav-01: #1b2834; -$nav-02: #1c496d; - @mixin button-base { @include reset; @include helvetica; @@ -70,7 +32,6 @@ $nav-02: #1c496d; width: rem(16px); height: rem(16px); margin-left: .5rem; - transition-duration: $transition--base; } } @@ -99,146 +60,3 @@ $nav-02: #1c496d; fill: $icon-color; } } - -/* ☠️️ Deprecated - after updating the following components, can be deleted in 7.x - - footer - - form - - modal -*/ - -@mixin btn--browser-fixes { - $class: &; - - @at-root button#{$class} { - // CSS selector becomes: button.& {}, where & === is whatever class the ampersand equals - //