Fix styles + API report

Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
This commit is contained in:
Charles de Dreuille
2024-12-16 17:23:14 +00:00
parent f9ead91710
commit d7b5643933
6 changed files with 10 additions and 8 deletions
@@ -59,7 +59,6 @@
}
.roadmap .roadmap-item .title {
font-weight: 300;
font-size: 16px;
}
@@ -33,7 +33,6 @@
text-align: left;
background-color: white !important;
font-size: 16px;
font-weight: 300;
& p {
margin: 0;
@@ -18,14 +18,13 @@
font-size: 16px;
line-height: 28px;
margin: 0;
font-weight: 300;
margin-bottom: 16px;
color: #4f4f4f;
& p {
font-size: 16px;
line-height: 28px;
margin: 0;
font-weight: 300;
}
& code {
@@ -22,7 +22,7 @@
&.h1 {
font-size: 36px;
line-height: 44px;
margin-bottom: 8px;
margin-bottom: 24px;
margin-top: 0px;
}
+7 -3
View File
@@ -117,7 +117,7 @@ export const Button: React_2.ForwardRefExoticComponent<
// @public
export interface ButtonProps {
// (undocumented)
children: React_2.ReactNode;
children: React.ReactNode;
// (undocumented)
disabled?: boolean;
// (undocumented)
@@ -125,9 +125,13 @@ export interface ButtonProps {
// (undocumented)
iconStart?: IconNames;
// (undocumented)
size?: 'small' | 'medium';
size?: 'small' | 'medium' | Partial<Record<Breakpoint, 'small' | 'medium'>>;
// (undocumented)
variant?: 'primary' | 'secondary' | 'tertiary';
variant?:
| 'primary'
| 'secondary'
| 'tertiary'
| Partial<Record<Breakpoint, 'primary' | 'secondary' | 'tertiary'>>;
}
// @public (undocumented)
+1
View File
@@ -21,6 +21,7 @@
html,
body {
font-family: var(--canon-font-regular);
font-weight: var(--canon-font-weight-regular);
}
/* Light theme tokens */