import { __assign } from "tslib";
import { FontSizes, FontWeights, HighContrastSelector } from '@fluentui/react/lib/Styling';
import { NeutralColors } from '@fluentui/react';
export var getTooltipStyle = function (theme) {
    return __assign(__assign({}, theme.fonts.medium), { display: 'flex', flexDirection: 'column', padding: '8px', position: 'absolute', textAlign: 'center', top: '0px', background: theme.semanticColors.bodyBackground, borderRadius: '2px', pointerEvents: 'none', color: theme.semanticColors.bodyText });
};
export var getAxisTitleStyle = function (theme, font) {
    var _a;
    return [
        font,
        (_a = {
                textAlign: 'center',
                fontWeight: FontWeights.semibold,
                fontStyle: 'normal',
                lineHeight: FontSizes.medium,
                color: NeutralColors.gray160,
                fill: theme.semanticColors.bodyText
            },
            _a[HighContrastSelector] = {
                fill: 'CanvasText',
            },
            _a),
    ];
};
export var getBarLabelStyle = function (theme) {
    var _a;
    return {
        fontSize: FontSizes.small,
        fontWeight: FontWeights.semibold,
        fill: theme.palette.neutralPrimary,
        selectors: (_a = {},
            _a[HighContrastSelector] = {
                fill: 'CanvasText',
            },
            _a),
    };
};
export var getMarkerLabelStyle = function (theme) {
    var _a;
    return {
        fontSize: FontSizes.medium,
        fill: theme.semanticColors.bodyText,
        textAnchor: 'middle',
        selectors: (_a = {},
            _a[HighContrastSelector] = {
                fill: 'CanvasText',
            },
            _a),
    };
};
//# sourceMappingURL=Common.styles.js.map