/* rs-theme-name: Sassy - Nord Snow Storm */
/* rs-theme-is-dark: FALSE */

@import "palettes/_nord";

// primary UI colors
$ui-background           : lighten($nord6, 10%);
$ui-foreground           : $nord3;
$ui-code-chunk-background: transparentize($nord6, 0.5);
$ui-selection            : transparentize($nord4, 0.6);
$ui-cursor               : $nord12;
$ui-cursor-normal-mode   : $ui-cursor;
$ui-margin-line          : lighten($ui-selection, 5%);
$ui-gutter-color         : transparentize($ui-foreground, 0.75);
$ui-gutter-background    : $ui-background;

// less common UI colors
$ui-line-active           : transparentize($nord4, 0.6);
$ui-line-active-gutter    : $ui-background;
$ui-line-active-selection : opacify($ui-selection, 1);
$ui-line-find             : $ui-selection;
$ui-bracket               : transparentize($ui-cursor, 0.6);
$ui-invisible             : $nord4;
$ui-indent-guide          : $nord4;
$ui-debug-background      : lighten($ui-background, 10%);
$ui-fold-arrows-color     : $nord11;
$ui-fold-arrows-background: transparentize($ui-fold-arrows-color, 0.5);

// rstudio
$ui-rstudio-background          : darken($ui-background, 2%);
$ui-rstudio-color               : $ui-foreground;
$ui-rstudio-tabs-inactive       : $nord4;
$ui-rstudio-tabs-inactive-color : transparentize($ui-foreground, 0.4);
$ui-rstudio-tabs-selected       : $nord6;
$ui-rstudio-tabs-selected-color : $nord2;
$ui-rstudio-toolbar             : $ui-rstudio-tabs-selected;
$ui-rstudio-toolbar-color       : $ui-foreground;
$ui-rstudio-search              : $ui-rstudio-toolbar;
$ui-completions-background      : $ui-background;
$ui-completions-color           : $ui-foreground;
$ui-completions-border          : $ui-bracket;
$ui-rstudio-scrollbar-background: $ui-background;
$ui-rstudio-scrollbar-handle    : $nord6;

// R language colors
$rlang-comment  : transparentize($ui-foreground, 0.5);
$rlang-string   : $nord14;
$rlang-function : $nord10;
$rlang-reserved : $nord7;
$rlang-operator : $nord9;
$rlang-bracket  : $nord8;
$rlang-value    : $nord11;
$rlang-namespace: $nord14;
$rlang-variable : $nord15;
$rlang-message  : $nord12;
$rlang-namespace-font-style: italic;

$other-tag: $nord9;

// Rmd
$rmd-heading-color: $nord10;
$rmd-chunk-header: $nord7;
$rmd-href: $nord9;

@import "rstudio/_rstudio-light", "rstudio/_terminal";