Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Modular CSS with Sass!
You have completed Modular CSS with Sass!
Preview
Let's create a Sass map that gives our base colors a theme name. These theme names will come in handy later when we need to create classes for UI elements like buttons, form elements, progress bars, and more.
Quick Reference
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
named groups then we can dynamically
access them from anywhere really.
0:00
So let's create a map that gives our base
colors a theme name.
0:00
So for instance we'll call the fountain
blue color the default theme,
0:05
the emerald color will be for success
messages.
0:10
Sunglo will be for errors and coral and
purple-majesty will be for
0:14
warning and info messages, respectively.
0:19
So, these theme names will come in handy
later when we need to create classes for
0:22
UI elements like buttons, form elements,
progress bars and so forth.
0:27
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up