Skip to content

Commit 6211563

Browse files
authored
ref(feedback): [v7] Configure feedback fonts (#11520)
Backports #11437, #11432, #11414 to v7
1 parent ab40116 commit 6211563

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

packages/feedback/src/widget/Actor.css.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ export function createActorStyles(d: Document): HTMLStyleElement {
1313
1414
border-radius: var(--border-radius);
1515
cursor: pointer;
16-
font-size: 14px;
16+
font-family: inherit;
17+
font-size: var(--font-size);
1718
font-weight: 600;
1819
padding: 12px 16px;
1920
text-decoration: none;

packages/feedback/src/widget/Dialog.css.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,14 @@ export function createDialogStyles(d: Document): HTMLStyleElement {
108108
}
109109
110110
.form__input {
111-
font-family: inherit;
112111
line-height: inherit;
113112
background-color: var(--input-background);
114113
box-sizing: border-box;
115114
border: var(--input-border);
116115
border-radius: var(--form-content-border-radius);
117116
color: var(--input-foreground);
118-
font-size: 14px;
117+
font-family: inherit;
118+
font-size: var(--font-size);
119119
font-weight: 500;
120120
padding: 6px 12px;
121121
}
@@ -140,7 +140,8 @@ export function createDialogStyles(d: Document): HTMLStyleElement {
140140
border: var(--cancel-border);
141141
border-radius: var(--form-content-border-radius);
142142
cursor: pointer;
143-
font-size: 14px;
143+
font-family: inherit;
144+
font-size: var(--font-size);
144145
font-weight: 600;
145146
padding: 6px 16px;
146147
}

0 commit comments

Comments
 (0)