@knowcode/doc-builder 1.10.10 → 1.10.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -597,7 +597,7 @@ pre code {
597
597
  }
598
598
 
599
599
  .nav-section {
600
- margin-bottom: 1px;
600
+ margin-bottom: var(--space-0-5);
601
601
  }
602
602
 
603
603
  .nav-section[data-level="0"] {
@@ -605,19 +605,19 @@ pre code {
605
605
  }
606
606
 
607
607
  .nav-section[data-level="1"] {
608
- margin-left: 4px;
609
- margin-bottom: 1px;
608
+ margin-left: var(--space-2);
609
+ margin-bottom: var(--space-0-5);
610
610
  }
611
611
 
612
612
  .nav-section[data-level="2"] {
613
- margin-left: 8px;
614
- margin-bottom: 1px;
613
+ margin-left: var(--space-4);
614
+ margin-bottom: var(--space-0-5);
615
615
  }
616
616
 
617
617
  .nav-title {
618
618
  display: flex;
619
619
  align-items: center;
620
- padding: 1px var(--space-3);
620
+ padding: var(--space-0-5) var(--space-3);
621
621
  font-size: var(--text-sm);
622
622
  font-weight: var(--font-medium);
623
623
  color: var(--color-text-secondary);
@@ -629,11 +629,11 @@ pre code {
629
629
 
630
630
  /* Indent nav titles based on their level */
631
631
  .nav-section[data-level="1"] .nav-title {
632
- padding-left: calc(var(--space-1-5) + var(--space-1));
632
+ padding-left: calc(var(--space-3) + var(--space-2));
633
633
  }
634
634
 
635
635
  .nav-section[data-level="2"] .nav-title {
636
- padding-left: calc(var(--space-1-5) + var(--space-2));
636
+ padding-left: calc(var(--space-3) + var(--space-4));
637
637
  }
638
638
 
639
639
  .nav-title:hover {
@@ -668,7 +668,7 @@ pre code {
668
668
  .nav-item {
669
669
  display: flex;
670
670
  align-items: center;
671
- padding: 1px var(--space-3);
671
+ padding: var(--space-0-5) var(--space-3);
672
672
  font-size: var(--text-sm);
673
673
  color: var(--color-text-primary);
674
674
  text-decoration: none;
@@ -680,15 +680,15 @@ pre code {
680
680
 
681
681
  /* Indent nav items based on their parent section level */
682
682
  .nav-section[data-level="0"] .nav-item {
683
- padding-left: calc(var(--space-1-5) + var(--space-1-5));
683
+ padding-left: calc(var(--space-3) + var(--space-3));
684
684
  }
685
685
 
686
686
  .nav-section[data-level="1"] .nav-item {
687
- padding-left: 16px;
687
+ padding-left: calc(var(--space-3) + var(--space-5));
688
688
  }
689
689
 
690
690
  .nav-section[data-level="2"] .nav-item {
691
- padding-left: 18px;
691
+ padding-left: calc(var(--space-3) + var(--space-6));
692
692
  }
693
693
 
694
694
  .nav-item:hover {
@@ -1975,7 +1975,7 @@ tr:hover {
1975
1975
 
1976
1976
  /* Navigation Sections */
1977
1977
  .nav-section {
1978
- margin-bottom: 2px;
1978
+ margin-bottom: var(--space-1);
1979
1979
  }
1980
1980
 
1981
1981
  .nav-title {
@@ -2011,7 +2011,7 @@ tr:hover {
2011
2011
  }
2012
2012
 
2013
2013
  .nav-content {
2014
- padding-left: 8px;
2014
+ padding-left: var(--space-4);
2015
2015
  overflow: hidden;
2016
2016
  transition: max-height var(--duration-normal), opacity var(--duration-normal);
2017
2017
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowcode/doc-builder",
3
- "version": "1.10.10",
3
+ "version": "1.10.11",
4
4
  "description": "Reusable documentation builder for markdown-based sites with Vercel deployment support",
5
5
  "main": "index.js",
6
6
  "bin": {