ui(components): updated component font sizes and design component docs (#4486)
This commit is contained in:
1 parent
23a2582231
commit
1801a217e3
42 files changed
+2034
-903
No files matched your search
@@ -3,7 +3,7 @@
|
||||
}
|
||||
|
||||
.shepherd-title {
|
||||
@apply !text-highlight !w-[100%] !break-words !text-lg !leading-[1.5];
|
||||
@apply !text-highlight !w-[100%] !break-words !text-xl !leading-[1.5];
|
||||
}
|
||||
|
||||
.shepherd-content {
|
||||
@@ -15,7 +15,7 @@
|
||||
}
|
||||
|
||||
.shepherd-text {
|
||||
@apply text-foreground !w-[100%] p-0 text-base leading-normal;
|
||||
@apply text-foreground !w-[100%] p-0 text-lg leading-normal;
|
||||
}
|
||||
|
||||
.shepherd-footer {
|
||||
|
||||
@@ -39,7 +39,7 @@ const defaultShowHandler = (Shepherd: ShepherdBase) => {
|
||||
const currentStep = Shepherd.activeTour?.getCurrentStep();
|
||||
if (currentStep) {
|
||||
const progress = document.createElement('span');
|
||||
progress.className = 'shepherd-progress text-base text-muted-foreground';
|
||||
progress.className = 'shepherd-progress text-lg text-muted-foreground';
|
||||
progress.innerText = `${Shepherd.activeTour?.steps.indexOf(currentStep) + 1}/${Shepherd.activeTour?.steps.length}`;
|
||||
progress.style.position = 'absolute';
|
||||
progress.style.left = '13px';
|
||||
|
||||
Reference in new issue
Block a user