"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "getThemeClassName", {
    enumerable: true,
    get: function() {
        return getThemeClassName;
    }
});
const _element = require("./dom/element");
function getThemeClassName(rootElement) {
    const { classNames } = (0, _element.findFirstParentWithClass)(rootElement, /ht-theme-[a-zA-Z0-9_-]+/);
    return classNames.pop();
}
