<commit_before>import { Components, registerComponent } from 'meteor/vulcan:core';
import { withLocation } from '../../lib/routeUtil';
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import { withStyles } from '@material-ui/core/styles';
import withErrorBoundary from '../common/withErrorBoundary';
import withUser from '../common/withUser';
import { shallowEqual, shallowEqualExcept } from '../../lib/modules/utils/componentUtils';

const KARMA_COLLAPSE_THRESHOLD = -4;
const HIGHLIGHT_DURATION = 5

const styles = theme => ({
  node: {
    cursor: "default",
    // Higher specificity to override child class (variant syntax)
    '&$new': {
      borderLeft: `solid 5px ${theme.palette.secondary.light}`,
      
      '&:hover': {
        borderLeft: `solid 5px ${theme.palette.secondary.main}`
      },
    },
    '&$deleted': {
      opacity: 0.6
    }
  },
  child: {
    marginLeft: theme.spacing.unit,
    marginBottom: theme.spacing.unit,
    borderLeft: `solid 1px ${theme.palette.grey[300]}`,
    borderTop: `solid 1px ${theme.palette.grey[300]}`,
    borderBottom: `solid 1px ${theme.palette.grey[300]}`,
  },
  new: {},
  deleted: {},
  parentScroll: {
    position: "absolute",
    top:0,
    left:0,
    width:8,
    height:"100%",
    cursor:"pointer",
    '&:hover': {
      backgroundColor: "rgba(0,0,0,.075)"
    }
  },
  isAnswer: {
    border: `solid 2px ${theme.palette.grey[300]}`,
  },
  answerChildComment: {
    marginBottom: theme.spacing.unit,
    border: `solid 1px ${theme.palette.grey[300]}`,
  },
  childAnswerComment: {
    borderRight: "none"
  },
  oddAnswerComment: {
    backgroundColor: 'white'
  },
  answerLeafComment: {
    paddingBottom: 0
  },
  isSingleLine: {
    marginBottom: 0,
    borderBottom: "none",
    borderTop: "solid 1px rgba(0,0,0,.15)",
    '&.comments-node-root':{
      marginBottom: -1,
      borderBottom: "solid 1px rgba(0,0,0,.2)",
    }
  },
  commentHidden: {
    border: "none !important",
    background: "none"
  },
  shortformTop: {
    '&&': {
      marginTop: theme.spacing.unit*4,
      marginBottom: 0
    }
  },
  children: {
    position: "relative"
  },
  '@keyframes higlight-animation': {
    from: {backgroundColor: theme.palette.lwTertiary.light},
    to: {backgroundColor: "none"}
  },
  highlightAnimation: {
    animation: `higlight-animation ${HIGHLIGHT_DURATION}s ease-in-out 0s;`
  },
  gapIndicator: {
    border: `solid 1px ${theme.palette.grey[300]}`,
    backgroundColor: theme.palette.grey[100],
    marginLeft: theme.spacing.unit,
    paddingTop: theme.spacing.unit,
  }
})<commit_msg>change Color<commit_after>import { Components, registerComponent } from 'meteor/vulcan:core';
import { withLocation } from '../../lib/routeUtil';
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import { withStyles } from '@material-ui/core/styles';
import withErrorBoundary from '../common/withErrorBoundary';
import withUser from '../common/withUser';
import { shallowEqual, shallowEqualExcept } from '../../lib/modules/utils/componentUtils';

const KARMA_COLLAPSE_THRESHOLD = -4;
const HIGHLIGHT_DURATION = 5

const styles = theme => ({
  node: {
    cursor: "default",
    // Higher specificity to override child class (variant syntax)
    '&$new': {
      borderLeft: `solid 5px ${theme.palette.secondary.light}`,
      
      '&:hover': {
        borderLeft: `solid 5px ${theme.palette.secondary.main}`
      },
    },
    '&$deleted': {
      opacity: 0.6
    }
  },
  child: {
    marginLeft: theme.spacing.unit,
    marginBottom: theme.spacing.unit,
    borderLeft: `solid 1px ${theme.palette.grey[300]}`,
    borderTop: `solid 1px ${theme.palette.grey[300]}`,
    borderBottom: `solid 1px ${theme.palette.grey[300]}`,
  },
  new: {},
  deleted: {},
  parentScroll: {
    position: "absolute",
    top:0,
    left:0,
    width:8,
    height:"100%",
    cursor:"pointer",
    '&:hover': {
      backgroundColor: "rgba(0,0,0,.075)"
    }
  },
  isAnswer: {
    border: `solid 2px ${theme.palette.grey[300]}`,
  },
  answerChildComment: {
    marginBottom: theme.spacing.unit,
    border: `solid 1px ${theme.palette.grey[300]}`,
  },
  childAnswerComment: {
    borderRight: "none"
  },
  oddAnswerComment: {
    backgroundColor: 'white'
  },
  answerLeafComment: {
    paddingBottom: 0
  },
  isSingleLine: {
    marginBottom: 0,
    borderBottom: "none",
    borderTop: "solid 1px rgba(0,0,0,.15)",
    '&.comments-node-root':{
      marginBottom: -1,
      borderBottom: "solid 1px rgba(0,0,0,.2)",
    }
  },
  commentHidden: {
    border: "none !important",
    background: "none"
  },
  shortformTop: {
    '&&': {
      marginTop: theme.spacing.unit*4,
      marginBottom: 0
    }
  },
  children: {
    position: "relative"
  },
  '@keyframes higlight-animation': {
    from: {borderColor: theme.palette.grey[900]},
    to: {borderColor: "rgba(0,0,0,.15)"}
  },
  highlightAnimation: {
    animation: `higlight-animation ${HIGHLIGHT_DURATION}s ease-in-out 0s;`
  },
  gapIndicator: {
    border: `solid 1px ${theme.palette.grey[300]}`,
    backgroundColor: theme.palette.grey[100],
    marginLeft: theme.spacing.unit,
    paddingTop: theme.spacing.unit,
  }
})
{'fraction_non_alphanumeric': 0.16329233680227057, 'fraction_numerical': 0.024976348155156102, 'mean_word_length': 3.256038647342995, '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': '932664', 'n_tokens_mistral': 1916, 'n_tokens_neox': 1804, 'n_words': 357}