Skip to content

Commit 953b519

Browse files
committed
label classes instead of alerts
1 parent 2865d9f commit 953b519

File tree

1 file changed

+18
-15
lines changed

1 file changed

+18
-15
lines changed

function-definitions.php

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -528,11 +528,12 @@ function multiloquent_get_random_solid_class($class = '')
528528
if (! empty($mods['bootswatch']) && $mods['bootswatch'] != 'default') {
529529
// if it uses one of the bootswatch themes, use the bootstrap colours
530530
$input = array(
531-
"bg-primary",
532-
"alert-success",
533-
"alert-warning",
534-
"alert-info",
535-
"alert-danger"
531+
"label-primary",
532+
"label-success",
533+
"label-warning",
534+
"label-info",
535+
"label-danger",
536+
"label-default",
536537
);
537538
} else {
538539
$input = array(
@@ -591,11 +592,12 @@ function multiloquent_get_random_blue_class()
591592
if (! empty($mods['bootswatch']) && $mods['bootswatch'] != 'default') {
592593
// if it uses one of the bootswatch themes, use the bootstrap colours
593594
$input = array(
594-
"bg-primary",
595-
"alert-success",
596-
"alert-warning",
597-
"alert-info",
598-
"alert-danger"
595+
"label-primary",
596+
"label-success",
597+
"label-warning",
598+
"label-info",
599+
"label-danger",
600+
"label-default",
599601
);
600602
} else {
601603
$input = array(
@@ -653,11 +655,12 @@ function multiloquent_get_random_colour_class($class = '')
653655
if (! empty($mods['bootswatch']) && $mods['bootswatch'] != 'default') {
654656
// if it uses one of the bootswatch themes, use the bootstrap colours
655657
$input = array(
656-
"bg-primary",
657-
"alert-success",
658-
"alert-warning",
659-
"alert-info",
660-
"alert-danger"
658+
"label-primary",
659+
"label-success",
660+
"label-warning",
661+
"label-info",
662+
"label-danger",
663+
"label-default",
661664
);
662665
} else {
663666
$input = array(

0 commit comments

Comments
 (0)