Skip to content

Commit ad69ff4

Browse files
committed
refactor: rename base font mixin
1 parent 77c858e commit ad69ff4

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

packages/components/button/src/styles/index.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@import "@react-ck/text";
33

44
.root {
5-
@include font-base;
5+
@include text-base;
66

77
@include define-css-var(button, border-radius, get-spacing(1));
88
@include define-css-var(button, padding-y, get-spacing(1));

packages/components/card/src/styles/index.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@import "@react-ck/text";
33

44
.root {
5-
@include font-base;
5+
@include text-base;
66

77
background-color: get-color(neutral-0);
88
border-radius: get-spacing(2);

packages/components/chip/src/styles/index.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@import "@react-ck/text";
33

44
.root {
5-
@include font-base;
5+
@include text-base;
66

77
background-color: get-css-var(chip, background-color);
88
color: get-css-var(chip, color);

packages/components/empty-state/src/styles/index.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@import "@react-ck/text";
33

44
.root {
5-
@include font-base;
5+
@include text-base;
66
@include text-type(soft);
77
@include text-variation(bold);
88

packages/components/input/src/styles/index.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@import "@react-ck/text";
44

55
.root {
6-
@include font-base;
6+
@include text-base;
77

88
background: get-color(neutral-100);
99
color: get-color(neutral-900);

packages/components/select/src/styles/index.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@import "@react-ck/text";
44

55
.root {
6-
@include font-base;
6+
@include text-base;
77

88
background: get-color(neutral-100);
99
color: get-color(neutral-900);

packages/components/table/src/styles/index.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@import "@react-ck/text";
44

55
.root {
6-
@include font-base;
6+
@include text-base;
77
@include define-css-var(table, border-color, transparent);
88

99
border: solid 1px get-css-var(table, border-color);

packages/components/text/src/styles/_mixins.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
@include text-variant($key, $text-types);
2626
}
2727

28-
@mixin font-base {
28+
@mixin text-base {
2929
@include text-type(p);
3030
@include define-css-var(text, color, get-color(neutral-900));
3131
@include define-css-var(text, text-decoration, none);

packages/components/text/src/styles/index.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
@import "variables";
55

66
.root {
7-
@include font-base;
7+
@include text-base;
88
@include define-css-var(text, margin-top, 0);
99
@include define-css-var(text, margin-bottom, 0);
1010

packages/components/textarea/src/styles/index.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@import "@react-ck/text";
44

55
.root {
6-
@include font-base;
6+
@include text-base;
77

88
background: get-color(neutral-100);
99
color: get-color(neutral-900);

0 commit comments

Comments
 (0)