<script>
    var style = getComputedStyle(document.body);
    var theme = {};
    theme.primary = style.getPropertyValue('--bs-primary');
    theme.secondary = style.getPropertyValue('--bs-secondary');
    theme.success = style.getPropertyValue('--bs-success');
    theme.info = style.getPropertyValue('--bs-info');
    theme.warning = style.getPropertyValue('--bs-warning');
    theme.danger = style.getPropertyValue('--bs-danger');
    theme.dark = style.getPropertyValue('--bs-dark');
    theme.blue = style.getPropertyValue('--bs-blue');
    theme.indigo = style.getPropertyValue('--bs-indigo');
    theme.purple = style.getPropertyValue('--bs-purple');
    theme.pink = style.getPropertyValue('--bs-pink');
    theme.red = style.getPropertyValue('--bs-red');
    theme.orange = style.getPropertyValue('--bs-orange');
    theme.yellow = style.getPropertyValue('--bs-yellow');
    theme.green = style.getPropertyValue('--bs-green');
    theme.teal = style.getPropertyValue('--bs-teal');
    theme.cyan = style.getPropertyValue('--bs-cyan');
    theme.white = style.getPropertyValue('--bs-white');
    theme.gray = style.getPropertyValue('--bs-gray');
</script>
