scrut 0.4.3

A simple and powerful test framework for CLI applications
Documentation
/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

/**
 * Any CSS included here will be global. The classic template
 * bundles Infima by default. Infima is a CSS framework designed to
 * work well for content-centric websites.
 */

/* See: https://docusaurus.io/docs/styling-layout */
:root {
  --ifm-color-primary: #8c75ff;
  --ifm-color-primary-dark: #6d50ff;
  --ifm-color-primary-darker: #5d3dff;
  --ifm-color-primary-darkest: #2f05ff;
  --ifm-color-primary-light: #ab9aff;
  --ifm-color-primary-lighter: #baadff;
  --ifm-color-primary-lightest: #e9e5ff;
}

.docusaurus-highlight-code-line {
  background-color: rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 calc(-1 * var(--ifm-pre-padding));
  padding: 0 var(--ifm-pre-padding);
}

html[data-theme="dark"] .docusaurus-highlight-code-line {
  background-color: rgba(0, 0, 0, 0.3);
}

/*
 * -------------------------------
 * Fix Sidebar
 * -------------------------------
 */

.menu a:not([href]) {
  color: black !important;
}

.menu li li a:not([href]) {
  color: black !important;
  font-size: 0.8em;
}

.menu li > div:has(a:not([href])):hover {
  background-color: transparent !important;
}

/*
 * -------------------------------
 * Fix Code
 * -------------------------------
 */

code {
  white-space: pre-wrap;
}


/*
 * -------------------------------
 * Code Block
 * -------------------------------
 */

.theme-code-block .language-markdown .title {
  font-weight: bold;
}

.theme-code-block .language-markdown .punctuation {
  font-weight: bold;
}

.theme-code-block .language-markdown .code-language {
  color: grey;
}

.theme-code-block .language-markdown .scrut-code-block,
.theme-code-block .language-markdown .scrut-inline-config,
.theme-code-block .language-markdown .scrut-shell-expression,
.theme-code-block .language-markdown .scrut-output-expectation,
.theme-code-block .language-markdown .scrut-rule-type {
  color: var(--ifm-color-primary-darker);
}

.theme-code-block .language-markdown .scrut-inline-config {
  font-style: italic;
}

.theme-code-block .language-markdown .scrut-shell-expression {
  font-weight: bold !important;
}


.theme-code-block .language-markdown .scrut-rule-type {
  font-style: italic;
}


.theme-code-block .language-bash .scrut-command-line-start {
  color: black;
  font-weight: bold;
}

.theme-code-block .language-bash .scrut-command-line-content {
  color: var(--ifm-color-primary);
  font-weight: bold;
}

.theme-code-block .language-bash .scrut-result-output-decoration {
  color: grey;
}

.theme-code-block .language-bash .scrut-result-output-file {
  color: rgb(46, 156, 81);
}

.theme-code-block .language-bash .scrut-result-output-title {
  color: rgb(61, 149, 165);
}

.theme-code-block .language-bash .scrut-result-output-shell-expression {
  color: var(--ifm-color-primary-darker);
}

.theme-code-block .language-bash .scrut-result-output-expected-line {
  color: rgb(46, 156, 81);
}

.theme-code-block .language-bash .scrut-result-output-unexpected-line {
  color: rgb(156, 46, 46);
}

.theme-code-block .language-bash .scrut-result-output-summary-line-start {
  text-decoration: underline;
}

.theme-code-block .theme-code-block-highlighted-line {
  background-color: var(--ifm-color-primary-lightest) !important;
}