Skip to content

Commit 1b4f6d8

Browse files
committed
docs: update content
1 parent 3ba5b31 commit 1b4f6d8

File tree

12 files changed

+94
-17
lines changed

12 files changed

+94
-17
lines changed

packages/docs/content/components/modal.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,7 @@ return <CModal style={vars}>...</CModal>
10441044
10451045
<ScssDocs file="_variables.scss" capture="modal-variables"/>
10461046
1047-
### Sass loops
1047+
### SASS loops
10481048
10491049
[Responsive fullscreen modals](#fullscreen-modal) are generated via the `$breakpoints` map and a loop in `scss/_modal.scss`.
10501050

packages/docs/content/components/navbar.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1448,7 +1448,7 @@ Variables for the [dark navbar](#color-schemes):
14481448

14491449
<ScssDocs file="_variables.scss" capture="navbar-dark-variables"/>
14501450

1451-
### Sass loops
1451+
### SASS loops
14521452

14531453
[Responsive navbar expand/collapse classes](#responsive-behaviors) (e.g., `.navbar-expand-lg`) are combined with the `$breakpoints` map and generated through a loop in `scss/_navbar.scss`.
14541454

packages/docs/content/forms/checkbox.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,12 @@ Different variants of button, such at the various outlined styles, are supported
114114
<CFormCheck button={{ color: 'secondary', variant: 'outline' }} id="btn-check-2-outlined" autoComplete="off" label="Checked" defaultChecked/>
115115
```
116116

117+
## Customizing
118+
119+
### SASS variables
120+
121+
<ScssDocs file="_variables.scss" capture="form-check-variables" />
122+
117123
## API
118124

119125
### CFormCheck

packages/docs/content/forms/floating-labels.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,12 @@ When working with the CoreUI for Bootstrap grid system, be sure to place form el
146146
</CRow>
147147
```
148148

149+
## Customizing
150+
151+
### SASS variables
152+
153+
<ScssDocs file="_variables.scss" capture="form-floating-variables" />
154+
149155
## API
150156

151157
### CFormFloating

packages/docs/content/forms/input-group.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,12 @@ Input groups include support for custom selects and custom file inputs. Browser
339339
</CInputGroup>
340340
```
341341

342+
## Customizing
343+
344+
### SASS variables
345+
346+
<ScssDocs file="_variables.scss" capture="input-group-variables" />
347+
342348
## API
343349

344350
### CInputGroup

packages/docs/content/forms/input.mdx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,24 @@ If you want to have `<input readonly>` elements in your form styled as plain tex
155155
/>
156156
```
157157

158+
## Customizing
159+
160+
### SASS variables
161+
162+
`$input-*` are shared across most of our form controls (and not buttons).
163+
164+
<ScssDocs file="_variables.scss" capture="form-input-variables" />
165+
166+
`$form-label-*` and `$form-text-*` are for our `<CFormLabel />`s and `<CFormText />` component.
167+
168+
<ScssDocs file="_variables.scss" capture="form-label-variables" />
169+
170+
<ScssDocs file="_variables.scss" capture="form-text-variables" />
171+
172+
`$form-file-*` are for file input.
173+
174+
<ScssDocs file="_variables.scss" capture="form-file-variables" />
175+
158176
## API
159177

160178
### CFormInput

packages/docs/content/forms/radio.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,12 @@ Different variants of button, such at the various outlined styles, are supported
9090
<CFormCheck button={{ color: 'danger', variant: 'outline' }} type="radio" name="options-outlined" id="danger-outlined" autoComplete="off" label="Radio"/>
9191
```
9292

93+
## Customizing
94+
95+
### SASS variables
96+
97+
<ScssDocs file="_variables.scss" capture="form-check-variables" />
98+
9399
## API
94100

95101
### CFormCheck

packages/docs/content/forms/range.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ By default, range inputs "snap" to integer values. To change this, you can speci
4141
<CFormRange min={0} max={5} step={0.5} label="Example range" defaultValue="3" id="customRange3" />
4242
```
4343

44+
## Customizing
45+
46+
### SASS variables
47+
48+
<ScssDocs file="_variables.scss" capture="form-range-variables" />
49+
4450
## API
4551

4652
### CFormRange

packages/docs/content/forms/select.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,12 @@ Add the `disabled` boolean attribute on a select to give it a grayed out appeara
9696
</CFormSelect>
9797
```
9898

99+
## Customizing
100+
101+
### SASS variables
102+
103+
<ScssDocs file="_variables.scss" capture="form-select-variables" />
104+
99105
## API
100106

101107
### CFormSelect

packages/docs/content/forms/switch.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ Put your switches on the opposite side by adding `reverse` boolean property.
4646
<CFormSwitch reverse type="radio" id="reverseFormSwitch2" label="Disabled reverse switch" disabled/>
4747
```
4848

49+
## Customizing
50+
51+
### SASS variables
52+
53+
<ScssDocs file="_variables.scss" capture="form-switch-variables" />
54+
4955
## API
5056

5157
### CFormSwitch

0 commit comments

Comments
 (0)