<commit_before>import { createGlobalStyle } from 'styled-components';
import theme from './index';

const { colors } = theme;

export const GlobalStyle = createGlobalStyle`
  * {
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
    margin: 0;
    padding: 0;
  }
  body {
    overflow: hidden;
    color: ${colors.text.main};
  }

  *::-webkit-scrollbar {
    display: ${window.navigator.platform === 'MacIntel' ? '' : 'none'}
  }
`;<commit_msg>style: :art: style scrollbar in win platform<commit_after>import { createGlobalStyle, css } from 'styled-components';
import theme from './index';
import { isWinPlatform } from 'renderer/utils';

const { colors } = theme;

const scrollBarStyles = css`
  *::-webkit-scrollbar {
    width: 12px;
    height: 0;
  }

  *::-webkit-scrollbar-track {
    background: ${theme.colors.background};
  }

  *::-webkit-scrollbar-thumb {
    background-color: ${theme.colors.groundzero};
    border-radius: 20px;
    border: 2px solid ${theme.colors.background};
  }
`

export const GlobalStyle = createGlobalStyle`
  * {
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
    margin: 0;
    padding: 0;
  }
  body {
    overflow: hidden;
    color: ${colors.text.main};
  }

  ${isWinPlatform() && scrollBarStyles}
`;
{'fraction_non_alphanumeric': 0.1540880503144654, 'fraction_numerical': 0.012578616352201259, 'mean_word_length': 3.3595890410958904, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5196232', 'n_tokens_mistral': 449, 'n_tokens_neox': 424, 'n_words': 96}