<commit_before>import { css } from "@emotion/core";
import styled from "@emotion/styled";
import { Link } from "gatsby";
import { color, typography, space, layout } from "styled-system";

export const TraversalLink = styled(Link)`
  display: flex;
  align-items: center;
`;

export const TraversalLinkText = styled.span`
  @media (max-width: 640px) {
    display: none;
  }
  @media (min-width: 641px) {
    display: inline;
  }
`;

export const TraversalLinkImage = css`
  width: 20px;
  height: 20px;
  display: inline-block;
`;

export const TraversalLinkImageStart = styled.img`
  ${TraversalLinkImage};
  ${space};
`;
TraversalLinkImageStart.defaultProps = { marginRight: 1 };

export const TraversalLinkImageEnd = styled.img`
  ${TraversalLinkImage};
  margin-left: 6px;
`;

export const SubtleLink = styled(Link)`
  ${color};
  text-decoration: none;
  &:hover {
    text-decoration: underline;
  }
`;
SubtleLink.defaultProps = { color: "black" };

export const Discourse = styled.article`<commit_msg>TraversalLinkText<commit_after>import { css } from "@emotion/core";
import styled from "@emotion/styled";
import { Link } from "gatsby";
import { color, typography, space, layout } from "styled-system";
import themeKeys from "@styled-system/css";

export const TraversalLink = styled(Link)`
  display: flex;
  align-items: center;
`;

export const TraversalLinkText = styled.span(
  layout,
  themeKeys({
    display: ["none", "inline"]
  })
);

export const TraversalLinkImage = css`
  width: 20px;
  height: 20px;
  display: inline-block;
`;

export const TraversalLinkImageStart = styled.img`
  ${TraversalLinkImage};
  ${space};
`;
TraversalLinkImageStart.defaultProps = { marginRight: 1 };

export const TraversalLinkImageEnd = styled.img`
  ${TraversalLinkImage};
  margin-left: 6px;
`;

export const SubtleLink = styled(Link)`
  ${color};
  text-decoration: none;
  &:hover {
    text-decoration: underline;
  }
`;
SubtleLink.defaultProps = { color: "black" };

export const Discourse = styled.article`
{'fraction_non_alphanumeric': 0.1353495290034705, 'fraction_numerical': 0.008924144769459593, 'mean_word_length': 4.652661064425771, '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': '344627', 'n_tokens_mistral': 711, 'n_tokens_neox': 672, 'n_words': 166}