Skip to content

Commit c66e302

Browse files
committed
warn about change default value in customizer
1 parent 46edabe commit c66e302

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

customize/index.html

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
<meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
1111

1212
<title>
13-
13+
1414
Customize and download &middot; Bootstrap
15-
15+
1616
</title>
1717

1818
<!-- Bootstrap core CSS -->
@@ -109,6 +109,7 @@ <h1>Customize and download</h1>
109109
-->
110110
<!--[if lt IE 9]>
111111
<style>
112+
#defaults-change-alert,
112113
.bs-customizer,
113114
.bs-customizer-import,
114115
.bs-docs-sidebar {
@@ -123,6 +124,11 @@ <h1>Customize and download</h1>
123124

124125
<!-- Customizer form -->
125126

127+
<div id="defaults-change-alert" class="alert alert-warning alert-dismissible" role="alert">
128+
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
129+
<strong>Heads up!</strong> The default value for <code>@brand-primary</code> has changed in the latest release to improve contrast and accessibility. Please double check your compiled CSS when upgrading.
130+
</div>
131+
126132
<div class="bs-docs-section bs-customizer-import">
127133
<div id="import-drop-target" class="bs-dropzone">
128134
<h2></h2>
@@ -461,7 +467,7 @@ <h4>jQuery required</h4>
461467
<h1 id="less-variables" class="page-header">Less variables</h1>
462468

463469
<p class="lead">Customize Less variables to define colors, sizes and more inside your custom CSS stylesheets.</p>
464-
470+
465471
<!-- NOTE: DO NOT EDIT THE FOLLOWING SECTION DIRECTLY! It is autogenerated via the `build-customizer-html` Grunt task using the customizer-variables.jade template.-->
466472
<h2 id="colors">Colors</h2>
467473
<p>Gray and brand colors for use across Bootstrap.</p>
@@ -2336,12 +2342,12 @@ <h1 id="download" class="page-header">Download</h1>
23362342
</form>
23372343

23382344
</div>
2339-
2345+
23402346
<div class="col-md-3">
23412347
<div class="bs-docs-sidebar hidden-print hidden-xs hidden-sm" role="complementary">
23422348
<ul class="nav bs-docs-sidenav">
2343-
2344-
2349+
2350+
23452351
<!-- NOTE: DO NOT EDIT THE FOLLOWING SECTION DIRECTLY! It is autogenerated via the `build-customizer-html` Grunt task using the customizer-nav.jade template.-->
23462352
<li><a href="#import-drop-target">Import</a></li>
23472353
<li><a href="#less">Less components</a></li>
@@ -2388,15 +2394,15 @@ <h1 id="download" class="page-header">Download</h1>
23882394
</li>
23892395
<li><a href="#download">Download</a></li>
23902396
<!-- NOTE: DO NOT EDIT THE PRECEDING SECTION DIRECTLY! It is autogenerated via the `build-customizer-html` Grunt task using the customizer-nav.jade template.-->
2391-
2397+
23922398
</ul>
23932399
<a class="back-to-top" href="#top">
23942400
Back to top
23952401
</a>
2396-
2402+
23972403
</div>
23982404
</div>
2399-
2405+
24002406
</div>
24012407
</div>
24022408

@@ -2462,9 +2468,9 @@ <h1 id="download" class="page-header">Download</h1>
24622468

24632469

24642470
<script>var __configBridge = {"autoprefixerBrowsers":["Android 2.3","Android >= 4","Chrome >= 20","Firefox >= 24","Explorer >= 8","iOS >= 6","Opera >= 12","Safari >= 6"],"jqueryCheck":["if (typeof jQuery === 'undefined') {"," throw new Error('Bootstrap\\'s JavaScript requires jQuery')","}\n"],"jqueryVersionCheck":["+function ($) {"," var version = $.fn.jquery.split(' ')[0].split('.')"," if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1)) {"," throw new Error('Bootstrap\\'s JavaScript requires jQuery version 1.9.1 or higher')"," }","}(jQuery);\n\n"]}</script>
2465-
2471+
24662472
<script src="../assets/js/customize.min.js"></script>
2467-
2473+
24682474

24692475

24702476
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->

0 commit comments

Comments
 (0)