"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getSurfaceContainerColor = getSurfaceContainerColor;
const core_1 = require("@vived/core");
const Entities_1 = require("../Entities");
function getSurfaceContainerColor(appObjects) {
    const theme = Entities_1.ThemeColors.get(appObjects);
    if (theme) {
        return theme.getColorForType(Entities_1.ThemeColorType.surfaceContainer);
    }
    else {
        appObjects.submitError("getSurfaceColor", "Unable to find ThemeColors");
        return core_1.Color.RGB(0, 0, 0);
    }
}
//# sourceMappingURL=getSurfaceContainerColor.js.map