Skip to content

Commit 32a6aee

Browse files
refactor: remove font-family (#548)
* refactor: remove font-family * refactor: remove redundant font-family declarations from breadcrumb and text-area styles
1 parent 3ab8d1c commit 32a6aee

File tree

23 files changed

+0
-51
lines changed

23 files changed

+0
-51
lines changed

packages/raystack/components/avatar/avatar.module.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,6 @@
235235
align-items: center;
236236
justify-content: center;
237237
font-size: var(--fallback-font-size);
238-
font-family: var(--rs-font-body);
239238
font-weight: var(--rs-font-weight-medium);
240239
line-height: var(--rs-line-height-large);
241240
letter-spacing: var(--rs-letter-spacing-large);

packages/raystack/components/badge/badge.module.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
.badge {
2-
font-family: var(--rs-font-body);
32
font-weight: var(--rs-font-weight-regular);
43
font-style: normal;
54
display: inline-flex;

packages/raystack/components/breadcrumb/breadcrumb.module.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
.breadcrumb {
2-
font-family: var(--rs-font-body);
32
font-weight: var(--rs-font-weight-medium);
43
}
54

@@ -66,7 +65,6 @@
6665
background: none;
6766
border: none;
6867
cursor: pointer;
69-
font-family: inherit;
7068
font-size: inherit;
7169
font-weight: inherit;
7270
outline: none;

packages/raystack/components/button/button.module.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
.button {
2-
font-family: var(--rs-font-body);
32
font-weight: var(--rs-font-weight-medium);
43
font-size: var(--rs-font-size-small);
54
line-height: var(--rs-line-height-small);

packages/raystack/components/calendar/calendar.module.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,12 @@
33
border-radius: var(--rs-radius-4);
44
background: var(--rs-color-background-base-primary);
55
width: fit-content;
6-
font-family: var(--rs-font-body);
76
min-height: 346px;
87
}
98

109
.caption_label,
1110
.dropdowns > span,
1211
.dropdown_trigger {
13-
font-family: var(--rs-font-body);
1412
font-weight: var(--rs-font-weight-medium);
1513
font-size: var(--rs-font-size-mini);
1614
line-height: var(--rs-line-height-mini);
@@ -77,7 +75,6 @@
7775
color: var(--rs-color-foreground-base-primary);
7876
font-style: normal;
7977
text-align: center;
80-
font-family: var(--rs-font-body);
8178
font-weight: var(--rs-font-weight-regular);
8279
font-size: var(--rs-font-size-micro);
8380
line-height: var(--rs-line-height-micro);
@@ -161,7 +158,6 @@
161158
color: var(--rs-color-foreground-base-secondary);
162159
text-align: center;
163160
font-style: normal;
164-
font-family: var(--rs-font-body);
165161
font-weight: var(--rs-font-weight-medium);
166162
font-size: var(--rs-font-size-micro);
167163
line-height: var(--rs-line-height-micro);
@@ -234,7 +230,6 @@
234230
place-content: center;
235231
background: inherit;
236232
color: inherit;
237-
font-family: var(--rs-font-body);
238233
font-weight: var(--rs-font-weight-medium);
239234
font-size: var(--rs-font-size-small);
240235
line-height: var(--rs-line-height-small);

packages/raystack/components/callout/callout.module.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
padding: var(--rs-space-3);
55
border-radius: var(--rs-radius-2);
66
font-style: normal;
7-
font-family: var(--rs-font-body);
87
font-weight: var(--rs-font-weight-regular);
98
font-size: var(--rs-font-size-small);
109
line-height: var(--rs-line-height-small);

packages/raystack/components/chip/chip.module.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
justify-content: center;
44
align-items: center;
55
gap: var(--rs-space-2);
6-
font-family: var(--rs-font-body);
76
font-weight: var(--rs-font-weight-regular);
87
font-size: var(--rs-font-size-mini);
98
line-height: var(--rs-line-height-mini);

packages/raystack/components/dialog/dialog.module.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@
6666
.title {
6767
color: var(--rs-color-foreground-base-primary);
6868
/* Body/Large Plus */
69-
font-family: var(--rs-font-body);
7069
font-size: var(--rs-font-size-large);
7170
font-style: normal;
7271
font-weight: var(--rs-font-weight-medium);
@@ -85,7 +84,6 @@
8584

8685
.description {
8786
color: var(--rs-color-foreground-base-secondary);
88-
font-family: var(--rs-font-body);
8987
font-size: var(--rs-font-size-small);
9088
font-style: normal;
9189
font-weight: var(--rs-font-weight-regular);

packages/raystack/components/dropdown-menu/cell.module.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
display: flex;
55
align-items: center;
66
gap: var(--rs-space-3);
7-
font-family: var(--rs-font-body);
87
font-weight: var(--rs-font-weight-regular);
98
font-size: var(--rs-font-size-small);
109
line-height: var(--rs-line-height-small);
@@ -14,7 +13,6 @@
1413
.cell[data-active-item] {
1514
outline: none;
1615
cursor: pointer;
17-
font-family: var(--rs-font-body);
1816
font-weight: var(--rs-font-weight-regular);
1917
font-size: var(--rs-font-size-small);
2018
line-height: var(--rs-line-height-small);

packages/raystack/components/dropdown-menu/dropdown-menu.module.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
.content {
22
overflow: hidden;
33
z-index: var(--rs-z-index-portal);
4-
font-family: var(--rs-font-body);
54
font-weight: var(--rs-font-weight-regular);
65
font-size: var(--rs-font-size-small);
76
line-height: var(--rs-line-height-small);
@@ -39,7 +38,6 @@
3938
background: transparent;
4039
color: var(--rs-color-foreground-base-primary);
4140
padding: var(--rs-space-3) var(--rs-space-4);
42-
font-family: var(--rs-font-body);
4341
font-weight: var(--rs-font-weight-regular);
4442
font-size: var(--rs-font-size-small);
4543
line-height: var(--rs-line-height-small);

0 commit comments

Comments
 (0)