Skip to content

Commit 0997ace

Browse files
committed
rebuild dist files
1 parent 00675ef commit 0997ace

20 files changed

+15434
-3163
lines changed

dist/css/adminlte.css

Lines changed: 9743 additions & 2398 deletions
Large diffs are not rendered by default.

dist/css/adminlte.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/adminlte.min.css

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/adminlte.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/adminlte.js

Lines changed: 284 additions & 56 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/adminlte.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/adminlte.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/adminlte.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/demo.js

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,24 @@
236236
'bg-olive'
237237
]
238238

239+
var accent_colors = [
240+
'accent-primary',
241+
'accent-warning',
242+
'accent-info',
243+
'accent-danger',
244+
'accent-success',
245+
'accent-indigo',
246+
'accent-navy',
247+
'accent-purple',
248+
'accent-fuchsia',
249+
'accent-pink',
250+
'accent-maroon',
251+
'accent-orange',
252+
'accent-lime',
253+
'accent-teal',
254+
'accent-olive'
255+
]
256+
239257
var sidebar_skins = [
240258
'sidebar-dark-primary',
241259
'sidebar-dark-warning',
@@ -269,6 +287,22 @@
269287
'sidebar-light-olive'
270288
]
271289

290+
$container.append('<h6>Accent Color Variants</h6>')
291+
var $accent_variants = $('<div />', {
292+
'class': 'd-flex'
293+
})
294+
$container.append($accent_variants)
295+
$container.append(createSkinBlock(accent_colors, function () {
296+
var color = $(this).data('color')
297+
var accent_class = color
298+
var $body = $('body')
299+
accent_colors.map(function (skin) {
300+
$body.removeClass(skin)
301+
})
302+
303+
$body.addClass(accent_class)
304+
}))
305+
272306
$container.append('<h6>Dark Sidebar Variants</h6>')
273307
var $sidebar_variants = $('<div />', {
274308
'class': 'd-flex'
@@ -331,7 +365,7 @@
331365

332366
colors.map(function (color) {
333367
var $color = $('<div />', {
334-
'class': (typeof color === 'object' ? color.join(' ') : color).replace('navbar-', 'bg-') + ' elevation-2'
368+
'class': (typeof color === 'object' ? color.join(' ') : color).replace('navbar-', 'bg-').replace('accent-', 'bg-') + ' elevation-2'
335369
})
336370

337371
$block.append($color)

0 commit comments

Comments
 (0)