text: /* eslint-disable camelcase */
  import { StyleSheet, Font } from '@react-pdf/renderer';
  import c_table_m_compact_cell_PaddingTop from '@patternfly/react-tokens/dist/js/c_table_m_compact_cell_PaddingTop';
  import c_table_m_compact_cell_PaddingBottom from '@patternfly/react-tokens/dist/js/c_table_m_compact_cell_PaddingBottom';
  import c_table_m_compact_cell_PaddingLeft from '@patternfly/react-tokens/dist/js/c_table_m_compact_cell_PaddingLeft';
  import chart_global_Fill_Color_700 from '@patternfly/react-tokens/dist/js/chart_global_Fill_Color_700';
  import chart_global_warning_Color_200 from '@patternfly/react-tokens/dist/js/chart_global_warning_Color_200';
  import chart_global_warning_Color_100 from '@patternfly/react-tokens/dist/js/chart_global_warning_Color_100';
  import global_Color_light_300 from '@patternfly/react-tokens/dist/js/global_Color_light_300';
  import global_Color_dark_200 from '@patternfly/react-tokens/dist/js/global_Color_dark_200';
  import global_Color_dark_100 from '@patternfly/react-tokens/dist/js/global_Color_dark_100';
  import chart_color_red_100 from '@patternfly/react-tokens/dist/js/chart_color_red_100';
  import chart_color_red_200 from '@patternfly/react-tokens/dist/js/chart_color_red_200';
  import chart_color_red_300 from '@patternfly/react-tokens/dist/js/chart_color_red_300';
  import global_primary_color_100 from '@patternfly/react-tokens/dist/js/global_primary_color_100';
  import global_palette_blue_50 from '@patternfly/react-tokens/dist/js/global_palette_blue_50';
  import global_palette_blue_600 from '@patternfly/react-tokens/dist/js/global_palette_blue_600';
  import global_palette_gold_50 from '@patternfly/react-tokens/dist/js/global_palette_gold_50';
  import global_palette_gold_700 from '@patternfly/react-tokens/dist/js/global_palette_gold_700';
  import global_palette_orange_600 from '@patternfly/react-tokens/dist/js/global_palette_orange_600';
  import global_palette_red_50 from '@patternfly/react-tokens/dist/js/global_palette_red_50';
  import global_palette_black_900 from '@patternfly/react-tokens/dist/js/global_palette_black_900';
  import global_palette_black_100 from '@patternfly/react-tokens/dist/js/global_palette_black_100';
  
  import { fontTypes, generateFonts, redhatFont } from './fonts';
  
  Font.register({ family: 'Overpass', fonts: generateFonts(fontTypes) });
  
  const { RedHatDisplay, RedHatText } = redhatFont();
  
  Font.register({ family: 'RedHatDisplay', fonts: Object.values(RedHatDisplay) });
  Font.register({ family: 'RedHatText', fonts: Object.values(RedHatText) });
  
  export default (style = {}) => StyleSheet.create({
      ...style,
      page: {
          fontWeight: 500,
          fontFamily: 'RedHatText',
          height: '100%',
          padding: '20 50',
          lineHeight: 1.5
      },
      displayFont: {
          fontFamily: 'RedHatDisplay'
      },
      headerContainer: {
          display: 'flex',
          flexDirection: 'row'
      },
      currDate: {
          alignSelf: 'flex-end',
          marginLeft: 'auto',
          fontSize: 9,
          fontStyle: 'italic',
          color: '#6e6b6c'
      },
      reportNameWrapper: {
          margin: '30, 0, 15'
      },
      reportName: {
          fontSize: 28,
          color: chart_color_red_100.value
      },
      groupName: {
          fontSize: 16,
          color: chart_color_red_100.value
      },
      largeSpacing: {
          margin: '30 0'
      },
      mediumSpacing: {
          margin: '15 0'
      },
      smallSpacing: {
          margin: '7 0'
      },
      text: {
          fontSize: 9,
          color: global_Color_dark_100.value
      },
      firstTitle: {
          fontSize: 9,
          fontWeight: 700,
          color: chart_color_red_100.value
      },
      secondTitle: {
          fontWeight: 700,
          fontSize: 9,
          color: chart_global_Fill_Color_700.value
      },
      thirdTitle: {
          fontSize: 9,
          color: global_Color_dark_200.value
      },
      flexRow: {
          display: 'flex',
          flexDirection: 'row',
          justifyContent: 'space-between'
      },
      flexColumn: {
          display: 'flex',
          flexDirection: 'column'
      },
      colorCrit: {
          color: chart_color_red_100.value
      },
      colorHigh: {
          color: chart_global_warning_Color_100.value
      },
      colorMedium: {
          color: chart_global_warning_Color_200.value
      },
      defaultColor: {
          color: global_Color_light_300.value
      },
      labelColorsLow: {
          bgColor: global_palette_blue_50.value,
          textColor: global_palette_blue_600.value,
          iconColor: global_primary_color_100.value
      },
      labelColorsModerate: {
          bgColor: global_palette_gold_50.value,
          textColor: global_palette_gold_700.value,
          iconColor: chart_global_warning_Color_200.value
      },
      labelColorsImportant: {
          bgColor: '#fff5ec',
          textColor: global_palette_orange_600.value,
          iconColor: chart_global_warning_Color_100.value
      },
      labelColorsCrit: {
          bgColor: global_palette_red_50.value,
          textColor: chart_color_red_300.value,
          iconColor: chart_color_red_200.value
      },
      compactCellPadding: {
          paddingLeft: c_table_m_compact_cell_PaddingLeft.value,
          paddingBottom: c_table_m_compact_cell_PaddingBottom.value,
          paddingTop: c_table_m_compact_cell_PaddingTop.value
      }
  });
  