✨(react) add Button token font-family
Components font-family have to be customizable.
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
font-weight: var(--c--components--button--font-weight);
|
||||
font-family: var(--c--components--button--font-family);
|
||||
transition: all var(--c--theme--transitions--duration) var(--c--theme--transitions--ease-out);
|
||||
user-select: none;
|
||||
|
||||
|
||||
@@ -9,5 +9,6 @@ export const tokens = (defaults: DefaultTokens) => {
|
||||
"medium-font-size": defaults.theme.font.sizes.l,
|
||||
"small-font-size": defaults.theme.font.sizes.m,
|
||||
"font-weight": defaults.theme.font.weights.regular,
|
||||
"font-family": defaults.theme.font.families.base,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user