<commit_before>import {IColorSet} from '@moxer/vscode-theme-generator';
import {ThemeSetting} from './types';

export const getColorSet = (theme: ThemeSetting): IColorSet => {
  return {
    base: {
      // Determines the overall background color
      background: theme.scheme.background,
      // Determines boolean, identifier, keyword, storage, and cssClass
      color1: theme.scheme.base.red,
      // Determines string, stringEscape, and cssId
      color2: theme.scheme.base.green,
      // Determines function, class, classMember, type, and cssTag
      color3: theme.scheme.base.yellow,
      // Determines functionCall and number
      color4: theme.scheme.base.paleblue,
      // Determines the overall text foreground color
      foreground: theme.scheme.base.white
    },
    /**
    * Overrides specific syntax scopes provided
    * by the theme generator
    */
    syntax: {
      boolean: theme.scheme.base.pink,
      class: theme.scheme.base.violet,
      classMember: theme.scheme.base.red,
      comment: theme.scheme.comments,
      cssClass: theme.scheme.base.yellow,
      cssId: theme.scheme.base.orange,
      cssTag: theme.scheme.base.yellow,
      function: theme.scheme.base.yellow,
      functionCall: theme.scheme.base.violet,
      identifier: theme.scheme.base.cyan,
      keyword: theme.scheme.base.red,
      storage: theme.scheme.foreground,
      string: theme.scheme.base.green,
      stringEscape: theme.scheme.foreground,
      type: theme.scheme.base.pink
    },<commit_msg>fix: improve functions colors<commit_after>import {IColorSet} from '@moxer/vscode-theme-generator';
import {ThemeSetting} from './types';

export const getColorSet = (theme: ThemeSetting): IColorSet => {
  return {
    base: {
      // Determines the overall background color
      background: theme.scheme.background,
      // Determines boolean, identifier, keyword, storage, and cssClass
      color1: theme.scheme.base.red,
      // Determines string, stringEscape, and cssId
      color2: theme.scheme.base.green,
      // Determines function, class, classMember, type, and cssTag
      color3: theme.scheme.base.yellow,
      // Determines functionCall and number
      color4: theme.scheme.base.paleblue,
      // Determines the overall text foreground color
      foreground: theme.scheme.foreground
    },
    /**
    * Overrides specific syntax scopes provided
    * by the theme generator
    */
    syntax: {
      boolean: theme.scheme.base.pink,
      class: theme.scheme.base.purple,
      classMember: theme.scheme.base.red,
      comment: theme.scheme.comments,
      cssClass: theme.scheme.base.yellow,
      cssId: theme.scheme.base.orange,
      cssTag: theme.scheme.base.yellow,
      function: theme.scheme.base.yellow,
      functionCall: theme.scheme.base.blue,
      identifier: theme.scheme.base.cyan,
      keyword: theme.scheme.base.red,
      storage: theme.scheme.foreground,
      string: theme.scheme.base.green,
      stringEscape: theme.scheme.foreground,
      type: theme.scheme.base.pink
    },
{'fraction_non_alphanumeric': 0.10761154855643044, 'fraction_numerical': 0.0026246719160104987, 'mean_word_length': 2.854614412136536, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6250314', 'n_tokens_mistral': 903, 'n_tokens_neox': 876, 'n_words': 207}