From 31dab72ff32cc06bc519c75cfb6d7090a93ad5ce Mon Sep 17 00:00:00 2001 From: B Mathis Date: Sat, 21 Nov 2009 15:06:00 -0600 Subject: [PATCH] added text shadow mixin --- .../stylesheets/compass/css3/_text_shadow.sass | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 lib/compass/frameworks/compass/stylesheets/compass/css3/_text_shadow.sass diff --git a/lib/compass/frameworks/compass/stylesheets/compass/css3/_text_shadow.sass b/lib/compass/frameworks/compass/stylesheets/compass/css3/_text_shadow.sass new file mode 100644 index 00000000..f76f4b9f --- /dev/null +++ b/lib/compass/frameworks/compass/stylesheets/compass/css3/_text_shadow.sass @@ -0,0 +1,15 @@ +//** + Provides css text shadows + arguments are color, horizontal offset, vertical offset, and blur + +//** + These defaults make the arguments optional for this mixin + If you like, set different defaults in your project + +!default_text_shadow_color ||= #aaa +!default_text_shadow_h_offset ||= 1px +!default_text_shadow_v_offset ||= 1px +!default_text_shadow_blur ||= 1px + +=text-shadow(!color = !default_text_shadow_color, !hoff = !default_text_shadow_h_offset, !voff = !default_text_shadow_v_offset, !blur = !default_text_shadow_blur) + text-shadow= !color !hoff !voff !blur \ No newline at end of file