Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialIan Mackenzie
11,062 Pointserror scss/_base.scss (Line 22: Undefined variable: "$font-weight--light".)
These are my variables:
// ==========================================================================
// Global Config
// ==========================================================================
// Font Stacks
$font-url--google: 'http://fonts.googleapis.com/css?family=Lato:100,300,400,700,900';
$font-family--primary: ‘Lato’, ‘Helvetica Neue’, Helvetica, Arial, sans-serif;
$font-family—secondary: ’Helvetica Neue’, Helvetica, Arial, sans-serif;
// Font Weights
$font-weight—-thin: 100;
$font-weight—-light: 300;
$font-weight—-medium: 400;
$font-weight—-bold: 700;
$font-weight—-ultra-bold: 900;
// Descriptive Base Colors
$white: #fff;
$black: #0b0b0b;
$grey: #797e83;
$fountain-blue : #52bab3;
$emerald : #5ece7f;
$sunglo : #e67478;
$coral : #ff784f;
$purple-majesty : #9279c3;
$scooter : #39add1;
// Color Usage
$color-primary: $fountain-blue;
$color-secondary: $scooter;
$color-accent: $emerald;
$color-shadow: rgba($black, .2);
// Text
$base__font-size: 16px;
$base__line: 24px;
1 Answer
Antonio Jaramillo
15,604 PointsHow about your command line directory? Are you in the correct directory? For example, are you watching files from the wrong directory like "video-2" instead of "video-3"?
Ian Mackenzie
11,062 PointsIan Mackenzie
11,062 PointsThese are my _base styles:
Also my application.scss shows the base import in red?
This is my _untilities.scss where the variable is defined.