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