Skip to content

Commit

Permalink
Merge branch 'master' into self-contained-build
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkapur committed Oct 20, 2024
2 parents 1cbd780 + ec18275 commit 901f12d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions _sass/minima.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@use "sass:color";
@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Mono:wght@100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

Expand Down Expand Up @@ -38,12 +39,12 @@ $spacing-unit: 30px;

$text-color: #111;
$background-color: #ffffeb;
$highlight-color: lighten($background-color, 2%);
$highlight-color: color.adjust($background-color, $lightness: 2%);
$brand-color: #008000;

$grey-color: #778899;
$green-color-light: #b7ccb7;
$grey-color-dark: darken($grey-color, 25%);
$grey-color-dark: color.adjust($grey-color, $lightness: -25%);

$table-text-align: left;

Expand Down
5 changes: 3 additions & 2 deletions _sass/minima/_base.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@use "sass:color";
@use 'sass:math';

/**
Expand Down Expand Up @@ -168,7 +169,7 @@ a {
@include subtle-underline;

&:visited {
color: desaturate($brand-color, 50%);
color: color.adjust($brand-color, $saturation: -50%);
}

&:hover {
Expand Down Expand Up @@ -340,7 +341,7 @@ table {
}

th {
background-color: lighten($green-color-light, 10%);
background-color: color.adjust($green-color-light, $lightness: 10%);
font-weight: $base-font-strong-weight;
border-bottom-width: 2px;
}
Expand Down

0 comments on commit 901f12d

Please sign in to comment.