Commit 58b8458d authored by Lyza Danger Gardner's avatar Lyza Danger Gardner Committed by Lyza Gardner

Update component SASS modules to use newer button-reset mixin

parent 836adf88
@use "../mixins/buttons"; @use "../../shared/components/buttons";
@use "../mixins/layout"; @use "../mixins/layout";
@use "../mixins/molecules"; @use "../mixins/molecules";
@use "../mixins/utils"; @use "../mixins/utils";
...@@ -80,7 +80,7 @@ $adder-transition-duration: 80ms; ...@@ -80,7 +80,7 @@ $adder-transition-duration: 80ms;
.AdderToolbar__button { .AdderToolbar__button {
@include layout.column($align: center); @include layout.column($align: center);
@include buttons.reset-native-btn-styles; @include buttons.reset;
cursor: pointer; cursor: pointer;
color: var.$grey-mid; color: var.$grey-mid;
......
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
@use '../variables' as var; @use '../variables' as var;
@use '../../shared/components/buttons' as shared-buttons;
@use '../mixins/buttons'; @use '../mixins/buttons';
@use '../mixins/layout'; @use '../mixins/layout';
@use '../mixins/utils'; @use '../mixins/utils';
...@@ -75,7 +77,7 @@ ...@@ -75,7 +77,7 @@
/** Visible with clean theme */ /** Visible with clean theme */
.Toolbar__sidebar-close { .Toolbar__sidebar-close {
@include buttons.reset-native-btn-styles; @include shared-buttons.reset;
@include buttons.button-hover; @include buttons.button-hover;
@include utils.border; @include utils.border;
border-right-width: 0; border-right-width: 0;
......
@use "@hypothesis/frontend-shared/styles/mixins/focus"; @use "../../shared/components/buttons";
@use "../../mixins/buttons";
@use "../../mixins/layout"; @use "../../mixins/layout";
@use "../../mixins/utils"; @use "../../mixins/utils";
@use "../../variables" as var; @use "../../variables" as var;
...@@ -26,8 +25,7 @@ ...@@ -26,8 +25,7 @@
} }
.SelectionTabs__type { .SelectionTabs__type {
@include buttons.reset-native-btn-styles; @include buttons.reset;
@include focus.outline-on-keyboard-focus;
color: var.$color-text; color: var.$color-text;
cursor: pointer; cursor: pointer;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment