Sha256: a18ef0ba306145535f3a575231460c78afba8865a477cd89b27d84098ec80b01

Contents?: true

Size: 1.35 KB

Versions: 1

Compression:

Stored size: 1.35 KB

Contents

/**
 * Some variables the user can overwrite
 */

// Some common breakpoints for widths of devices. Refer: https://www.freecodecamp.org/news/css-media-queries-breakpoints-media-types-standard-resolutions-and-more/
$screen-tablet:  480px;
$screen-laptop:  768px;
$screen-desktop: 1024px;

:root {
  --spacing: 1em;

  --body-bg:          var(--oc-white);
  --body-fg:          var(--oc-gray-1);
  --body-color-light: var(--oc-gray-6);
  --body-color:       var(--oc-gray-8);
  --body-color-dark:  var(--oc-black);
  --accent-color:     var(--oc-orange-8);

  --body-font:        -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --title-font:       'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  --text-font:        Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  --code-font:        'Courier New', Courier, monospace;
  --line-height:      1.5;
  --body-font-size:   16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --body-bg:          var(--oc-gray-9);
    --body-fg:          var(--oc-gray-8);
    --body-color-light: var(--oc-gray-6);
    --body-color:       var(--oc-gray-3);
    --body-color-dark:  var(--oc-white);
    --accent-color:     var(--oc-blue-3);
  }
}

@media screen and (min-width: $screen-laptop) {
  :root {
    --body-font-size: 18px;
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-theme-tao-0.1.0 _sass/tao/_variables.scss