@function base-debug-image()

Description

Generates a debug image

Parameters & Return

$config: $base (Map)

Optional map of Base configuration settings. See $base documentation for details.

@return (Linear-gradient)

A linear-gradient that displays the grid

Example

scss
$base: (cap-height: .5);
body{
  background-image: base-debug-image();
}
css compiled
body {
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(0.5rem - 1px), #0EF calc(0.5rem - 1px), #0EF 0.5rem);
}

requires

@function _base-math-row-height() [private]