From 559979892a39bca8d55158654d28ab259a621725 Mon Sep 17 00:00:00 2001 From: Jeremy Elbourn Date: Tue, 16 Feb 2016 08:28:57 -0800 Subject: [PATCH] docs(scss): add missing syntax highlighting --- docs/scss-theming.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/scss-theming.md b/docs/scss-theming.md index d2a385da61f..488be9d8074 100644 --- a/docs/scss-theming.md +++ b/docs/scss-theming.md @@ -28,6 +28,7 @@ palette plus contrast colors and semantic shortcuts for the specified hues. Once that is defined, an individual component is styled in terms of the theme palettes: +```scss my-comp { color: md-color($md-foreground, text); background-color: md-color($md-background, lighter); // Use one of the configured hue by semantic name. @@ -36,6 +37,7 @@ my-comp { background-color: md-color($md-primary, 300, 0.7); // Use a specific hue and opacity } } +``` The md-color function lets the user reference a specific color from the theme palette, either by a semantic name (e.g., "primary, lighter"), or directly by numbered hue