Compiled SASS styles from https://github.com/jekyll/minima for use "as is" in CSS-only, NPM-less small static website projects. All color variables are turned into CSS variables, allowing for modification without rerunning SASS.
Based on commit https://github.com/jekyll/minima/commit/10124515953527c8990a2de99ae4ddb2a81ffee3 from Nov 17, 2023
See the zip-ball in the release https://github.com/vadimkantorov/minimacss/releases/tag/cssrelease to download all the produced CSS files.
# install x64 binaries of https://github.com/sass/dart-sass, libsass was deprecated
wget https://github.com/sass/dart-sass/releases/download/1.70.0/dart-sass-1.70.0-linux-x64.tar.gz
tar -xf dart-sass-1.70.0-linux-x64.tar.gz
# echo '$$colorscheme:"light";@import"auto.scss"' | dart-sass/sass --stdin classic.css # see Makefile for all others
# echo '@import"minima/skins/classic.scss","minima/initialize.scss"' | dart-sass/sass -I minima/_sass --stdin asis_classic.css
make SASS=dart-sass/sass amalgamated/auto.scss amalgamated/solarized.scss amalgamated/classic.scss amalgamated/dark.scss amalgamated/solarized-light.scss amalgamated/solarized-dark.scss
make SASS=dart-sass/sass amalgamated/auto.css amalgamated/classic.css amalgamated/dark.css amalgamated/solarized.css amalgamated/solarized-light.css amalgamated/solarized-dark.css
make SASS=dart-sass/sass asis/auto.css asis/classic.css asis/dark.css asis/solarized.css asis/solarized-light.css asis/solarized-dark.css
# i made auto.scss / solaried.scss and custom-variables_base_layout_custom-styles.scss by manual amalgamation and fixes of ./minima./assets/css/style.scss -> ./minima/_sass/minima/skins/auto.scss -> ./minima/_sass/minima/initialize.scss -> ./minima/_sass/minima/custom-variables.scss -> ./minima/_sass/minima/_base.scss -> ./minima/_sass/minima/_layout.scss -> ./minima/_sass/minima/custom-styles.scss
make SASS=dart-sass/sass auto.css classic.css dark.css
make SASS=dart-sass/sass solarized.css solarized-light.css solarized-dark.css
Skins available in minima
classic.css
-Default, light color scheme.
dark.css
-Dark variant of the classic skin.
auto.css
-Adaptive skin based on the default classic and dark skins.
solarized-light.css
-Light variant of solarized color scheme.
solarized-dark.css
-Dark variant of solarized color scheme.
solarized.css
-Adaptive skin for solarized color scheme skins.
The only place where SCSS/SASS variables are preserved in this version of CSS is media queries / breakpoints to modify CSS dependent on the device screen size. For now, CSS variables are not supported for use in media queries (https://bholmes.dev/blog/alternative-to-css-variable-media-queries/, https://drafts.csswg.org/css-env-1/).
https://github.com/jekyll/minima/blob/master/_sass/minima/initialize.scss :
// Width of the content area
$content-width: 800px !default;
$on-palm: 600px !default;
$on-laptop: 800px !default;
$on-medium: $on-palm !default;
$on-large: $on-laptop !default;
// Use media queries like this:
// @include media-query($on-palm) {
// .wrapper {
// padding-right: $spacing-unit / 2;
// padding-left: $spacing-unit / 2;
// }
// }
@media screen and (min-width: 600px) /* on-medium = on-palm */
@media screen and (min-width: 800px)
@media screen and (max-width: 800px) /* on-laptop */