Skip to content

Commit 186a6ab

Browse files
authored
refactor: update input components css to use bem styles and mixins (#7180)
2 parents 9f29a08 + 5cfb819 commit 186a6ab

File tree

308 files changed

+8015
-6227
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

308 files changed

+8015
-6227
lines changed

packages/components/src/components/a11y.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '@shared/mixins';
2+
13
/*
24
* This file contains all rules for accessibility.
35
*/
@@ -47,8 +49,7 @@
4749
/* select, */
4850
/* textarea, */
4951
[role='button'],
50-
button:not([role='link']),
51-
.kol-input .input {
52+
button:not([role='link']) {
5253
min-height: var(--a11y-min-size);
5354
min-width: var(--a11y-min-size);
5455
}

packages/components/src/components/abbr/style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@import '../@shared/mixins';
2-
@import '../style';
2+
@import '../../styles/global';
33
@import '../tooltip/style.scss';
44

55
@layer kol-component {

packages/components/src/components/accordion/style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@import '../@shared/mixins';
2-
@import '../style';
2+
@import '../../styles/global';
33
@import '../host-display-block';
44
@import '../../functional-components/Collapsible/collapsible';
55

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1+
@import '../../styles/global';
2+
@import '../../styles/kol-alert-mixin';
13
@import '../@shared/mixins';
2-
@import '../style';
3-
@import '../@shared/kol-alert-mixin';
4+
5+
@include kol-alert;
46

57
@layer kol-component {
68
.kol-alert {
79
font-size: rem(16);
810
}
911
}
10-
11-
@include kol-alert-styles;

packages/components/src/components/avatar/style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@import '../@shared/mixins';
2-
@import '../style';
2+
@import '../../styles/global';
33
@import '../host-display-block';
44

55
@layer kol-component {

packages/components/src/components/badge/style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@import '../@shared/mixins';
2-
@import '../style';
2+
@import '../../styles/global';
33
@import '../tooltip/style.scss';
44

55
@layer kol-component {

packages/components/src/components/breadcrumb/style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@import '../@shared/mixins';
2-
@import '../style';
2+
@import '../../styles/global';
33

44
@layer kol-component {
55
.kol-breadcrumb {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@import '../@shared/mixins';
2-
@import '../style';
2+
@import '../../styles/global';
33
@import '../@shared/kol-link-mixin';
44

55
@include kol-link-styles('kol-button');
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@import '../@shared/mixins';
2-
@import '../style';
2+
@import '../../styles/global';
33
@import '../@shared/kol-button-mixin';
44

55
@include kol-button-styles('kol-button');

packages/components/src/components/card/style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@import '../@shared/mixins';
2-
@import '../style';
2+
@import '../../styles/global';
33
@import '../tooltip/style.scss';
44

55
@layer kol-component {

0 commit comments

Comments
 (0)