mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Fixes #12966: Ensure icon font vars are loaded into Customizer
This commit is contained in:
parent
67c747a109
commit
03701b8d4b
5 changed files with 28 additions and 4 deletions
|
@ -151,6 +151,25 @@
|
|||
<input id="input-@headings-color" type="text" value="inherit" data-var="@headings-color" class="form-control"/>
|
||||
</div>
|
||||
</div>
|
||||
<h2 id="iconography">Iconography</h2>
|
||||
<p>Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.</p>
|
||||
<div class="row">
|
||||
<div class="bs-customizer-input">
|
||||
<label for="input-@icon-font-path">@icon-font-path</label>
|
||||
<input id="input-@icon-font-path" type="text" value=""../fonts/"" data-var="@icon-font-path" class="form-control"/>
|
||||
<p class="help-block">Load fonts from this directory.</p>
|
||||
</div>
|
||||
<div class="bs-customizer-input">
|
||||
<label for="input-@icon-font-name">@icon-font-name</label>
|
||||
<input id="input-@icon-font-name" type="text" value=""glyphicons-halflings-regular"" data-var="@icon-font-name" class="form-control"/>
|
||||
<p class="help-block">File name for all font files.</p>
|
||||
</div>
|
||||
<div class="bs-customizer-input">
|
||||
<label for="input-@icon-font-svg-id">@icon-font-svg-id</label>
|
||||
<input id="input-@icon-font-svg-id" type="text" value=""glyphicons_halflingsregular"" data-var="@icon-font-svg-id" class="form-control"/>
|
||||
<p class="help-block">File name for SVG icon file.</p>
|
||||
</div>
|
||||
</div>
|
||||
<h2 id="components">Components</h2>
|
||||
<p>Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).</p>
|
||||
<div class="row">
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
<li><a href="#colors">Colors</a></li>
|
||||
<li><a href="#scaffolding">Scaffolding</a></li>
|
||||
<li><a href="#typography">Typography</a></li>
|
||||
<li><a href="#iconography">Iconography</a></li>
|
||||
<li><a href="#components">Components</a></li>
|
||||
<li><a href="#tables">Tables</a></li>
|
||||
<li><a href="#buttons">Buttons</a></li>
|
||||
|
|
2
docs/assets/js/customize.min.js
vendored
2
docs/assets/js/customize.min.js
vendored
File diff suppressed because one or more lines are too long
2
docs/assets/js/raw-files.min.js
vendored
2
docs/assets/js/raw-files.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -68,14 +68,18 @@
|
|||
@headings-color: inherit;
|
||||
|
||||
|
||||
//-- Iconography
|
||||
//== Iconography
|
||||
//
|
||||
//## Specify custom locations of the include Glyphicons icon font. Useful for those including Bootstrap via Bower.
|
||||
//## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.
|
||||
|
||||
//** Load fonts from this directory.
|
||||
@icon-font-path: "../fonts/";
|
||||
//** File name for all font files.
|
||||
@icon-font-name: "glyphicons-halflings-regular";
|
||||
//** File name for SVG icon file.
|
||||
@icon-font-svg-id: "glyphicons_halflingsregular";
|
||||
|
||||
|
||||
//== Components
|
||||
//
|
||||
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
|
||||
|
|
Loading…
Reference in a new issue