Check out example codes for "variables scss". It will help you in understanding the concepts better.

Code Example 1

$base-color: #c6538c;

Code Example 2

// SCSS variables

$darkcolor: #605C4D;
$large: 350px;

section{
	background-color: $darkcolor;
  	height: $large;
}

Learn ReactJs, React Native from akashmittal.com