Skip to content

Commit

Permalink
chore: add missing variable groups
Browse files Browse the repository at this point in the history
  • Loading branch information
epetrow committed Apr 25, 2024
1 parent a0904f0 commit 3258338
Show file tree
Hide file tree
Showing 7 changed files with 182 additions and 40 deletions.
10 changes: 10 additions & 0 deletions packages/bootstrap/docs/customization-chip.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,16 @@ The following table lists the available variables for customization.
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The font size of the medium Chip.</div></div>
</td>
</tr>
<tr>
<td>$kendo-chip-lg-font-size</td>
<td>String</td>
<td><code>var( --kendo-font-size, inherit )</code></td>
<td><code>var(--kendo-font-size, inherit)</code></td>
</tr>
<tr>
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The font size of the large Chip.</div></div>
</td>
</tr>
<tr>
<td>$kendo-chip-line-height</td>
<td>Number</td>
Expand Down
20 changes: 0 additions & 20 deletions packages/bootstrap/docs/customization-common.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,6 @@ The following table lists the available variables for customization.
</thead>
<tbody>
<tr>
<td>$kendo-chip-lg-font-size</td>
<td>String</td>
<td><code>var( --kendo-font-size, inherit )</code></td>
<td><code>var(--kendo-font-size, inherit)</code></td>
</tr>
<tr>
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The font size of the large Chip.</div></div>
</td>
</tr>
<tr>
<td>$kendo-base-bg</td>
<td>String</td>
<td><code>$gray-100</code></td>
Expand Down Expand Up @@ -167,16 +157,6 @@ The following table lists the available variables for customization.
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">Text color of disabled items.</div></div>
</td>
</tr>
<tr>
<td>$kendo-line-height-xs</td>
<td>Number</td>
<td><code>1</code></td>
<td><code>1</code></td>
</tr>
<tr>
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The extra small line height across all components.</div></div>
</td>
</tr>
</tbody>
</table>

Expand Down
10 changes: 10 additions & 0 deletions packages/bootstrap/docs/customization-typography.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,16 @@ The following table lists the available variables for customization.
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The base line height across all components.</div></div>
</td>
</tr>
<tr>
<td>$kendo-line-height-xs</td>
<td>Number</td>
<td><code>1</code></td>
<td><code>1</code></td>
</tr>
<tr>
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The extra small line height across all components.</div></div>
</td>
</tr>
<tr>
<td>$kendo-line-height-sm</td>
<td>Number</td>
Expand Down
179 changes: 159 additions & 20 deletions packages/bootstrap/docs/customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,6 @@ The following table lists the available variables for customizing the Bootstrap
</tr>
</thead>
<tbody><tr>
<td>$kendo-chip-lg-font-size</td>
<td>String</td>
<td><code>var( --kendo-font-size, inherit )</code></td>
<td><code>var(--kendo-font-size, inherit)</code></td>
</tr>
<tr>
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The font size of the large Chip.</div></div>
</td>
</tr>
<tr>
<td>$kendo-base-bg</td>
<td>String</td>
<td><code>$gray-100</code></td>
Expand Down Expand Up @@ -171,16 +161,6 @@ The following table lists the available variables for customizing the Bootstrap
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">Text color of disabled items.</div></div>
</td>
</tr>
<tr>
<td>$kendo-line-height-xs</td>
<td>Number</td>
<td><code>1</code></td>
<td><code>1</code></td>
</tr>
<tr>
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The extra small line height across all components.</div></div>
</td>
</tr>
</tbody>
</table>

Expand Down Expand Up @@ -5236,6 +5216,16 @@ The following table lists the available variables for customizing the Bootstrap
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The font size of the medium Chip.</div></div>
</td>
</tr>
<tr>
<td>$kendo-chip-lg-font-size</td>
<td>String</td>
<td><code>var( --kendo-font-size, inherit )</code></td>
<td><code>var(--kendo-font-size, inherit)</code></td>
</tr>
<tr>
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The font size of the large Chip.</div></div>
</td>
</tr>
<tr>
<td>$kendo-chip-line-height</td>
<td>Number</td>
Expand Down Expand Up @@ -17151,6 +17141,145 @@ The following table lists the available variables for customizing the Bootstrap
</tbody>
</table>

### Radii

<table class="theme-variables">
<colgroup>
<col style="width: 200px; white-space:nowrap;" />
<col />
<col />
<col />
</colgroup>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Default value</th>
<th>Computed value</th>
</tr>
</thead>
<tbody><tr>
<td>$kendo-border-radius</td>
<td>Number</td>
<td><code>$border-radius</code></td>
<td><code>0.375rem</code></td>
</tr>
<tr>
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The global border radius used across the Components.</div></div>
</td>
</tr>
<tr>
<td>$kendo-border-radius-none</td>
<td>Number</td>
<td><code>k-map-get($kendo-spacing, 0)</code></td>
<td><code>0px</code></td>
</tr>
<tr>
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The none border radius used across the Components.</div></div>
</td>
</tr>
<tr>
<td>$kendo-border-radius-xs</td>
<td>Number</td>
<td><code>k-map-get($kendo-spacing, 0.5)</code></td>
<td><code>0.125rem</code></td>
</tr>
<tr>
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The extra small border radius used across the Components.</div></div>
</td>
</tr>
<tr>
<td>$kendo-border-radius-sm</td>
<td>Number</td>
<td><code>$border-radius-sm</code></td>
<td><code>0.25rem</code></td>
</tr>
<tr>
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The small border radius used across the Components.</div></div>
</td>
</tr>
<tr>
<td>$kendo-border-radius-md</td>
<td>Number</td>
<td><code>$kendo-border-radius</code></td>
<td><code>0.375rem</code></td>
</tr>
<tr>
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The medium border radius used across the Components.</div></div>
</td>
</tr>
<tr>
<td>$kendo-border-radius-lg</td>
<td>Number</td>
<td><code>$border-radius-lg</code></td>
<td><code>0.5rem</code></td>
</tr>
<tr>
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The large border radius used across the Components.</div></div>
</td>
</tr>
<tr>
<td>$kendo-border-radius-xl</td>
<td>Number</td>
<td><code>k-map-get($kendo-spacing, 3)</code></td>
<td><code>0.75rem</code></td>
</tr>
<tr>
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The extra large border radius used across the Components.</div></div>
</td>
</tr>
<tr>
<td>$kendo-border-radius-xxl</td>
<td>Number</td>
<td><code>k-map-get($kendo-spacing, 4)</code></td>
<td><code>1rem</code></td>
</tr>
<tr>
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The third largest border radius used across the Components.</div></div>
</td>
</tr>
<tr>
<td>$kendo-border-radius-xxxl</td>
<td>Number</td>
<td><code>k-map-get($kendo-spacing, 8)</code></td>
<td><code>2rem</code></td>
</tr>
<tr>
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The second largest border radius used across the Components.</div></div>
</td>
</tr>
<tr>
<td>$kendo-border-radius-full</td>
<td>Number</td>
<td><code>50rem</code></td>
<td><code>50rem</code></td>
</tr>
<tr>
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The largest border radius used across the Components.</div></div>
</td>
</tr>
<tr>
<td>$kendo-border-radii</td>
<td>Map</td>
<td><code>(
xs: $kendo-border-radius-xs,
sm: $kendo-border-radius-sm,
md: $kendo-border-radius-md,
lg: $kendo-border-radius-lg,
xl: $kendo-border-radius-xl,
xxl: $kendo-border-radius-xxl,
xxxl: $kendo-border-radius-xxxl,
full: $kendo-border-radius-full
)</code></td>
<td><code>(none: 0px, xs: 0.125rem, sm: 0.25rem, md: 0.375rem, lg: 0.5rem, xl: 0.75rem, xxl: 1rem, xxxl: 2rem, full: 50rem)</code></td>
</tr>
<tr>
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The global radii Map.</div></div>
</td>
</tr>
</tbody>
</table>

### Radio

<table class="theme-variables">
Expand Down Expand Up @@ -25128,6 +25257,16 @@ The following table lists the available variables for customizing the Bootstrap
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The base line height across all components.</div></div>
</td>
</tr>
<tr>
<td>$kendo-line-height-xs</td>
<td>Number</td>
<td><code>1</code></td>
<td><code>1</code></td>
</tr>
<tr>
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The extra small line height across all components.</div></div>
</td>
</tr>
<tr>
<td>$kendo-line-height-sm</td>
<td>Number</td>
Expand Down
1 change: 1 addition & 0 deletions packages/bootstrap/scss/chip/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ $kendo-chip-sm-font-size: var( --kendo-font-size-sm, inherit ) !default;
/// @group chip
$kendo-chip-md-font-size: var( --kendo-font-size, inherit ) !default;
/// The font size of the large Chip.
/// @group chip
$kendo-chip-lg-font-size: var( --kendo-font-size, inherit ) !default;

/// The Chip's line height that is related to the $kendo-font-size.
Expand Down
1 change: 1 addition & 0 deletions packages/bootstrap/scss/core/typography/index.import.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ $kendo-font-size-xl: ( $kendo-font-size-md * 1.5 ) !default;
/// @group typography
$kendo-line-height: $line-height-base !default;
/// The extra small line height across all components.
/// @group typography
$kendo-line-height-xs: 1 !default;
/// The small line height across all components.
/// @group typography
Expand Down
1 change: 1 addition & 0 deletions packages/core/scss/typography/index.import.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ $kendo-line-height: k-math-div( 20, 14 ) !default;
/// @group typography
$kendo-line-height-xs: 1 !default;
/// The small line height across all components.
/// @group typography
$kendo-line-height-sm: 1.25 !default;
/// The medium line height across all components.
/// @group typography
Expand Down

0 comments on commit 3258338

Please sign in to comment.