From 6293dd41cff6f3e2e06c5cfb9e3ceb631c737990 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sat, 9 Jan 2016 15:26:02 -0800 Subject: [PATCH] Extract $kbd-box-shadow variable --- scss/_code.scss | 2 +- scss/_variables.scss | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scss/_code.scss b/scss/_code.scss index 60bbcae81e..a9ddb4c0f5 100644 --- a/scss/_code.scss +++ b/scss/_code.scss @@ -22,7 +22,7 @@ kbd { color: $kbd-color; background-color: $kbd-bg; @include border-radius($border-radius-sm); - @include box-shadow(inset 0 -.1rem 0 rgba(0,0,0,.25)); + @include box-shadow($kbd-box-shadow); kbd { padding: 0; diff --git a/scss/_variables.scss b/scss/_variables.scss index 4deb70019d..55104049db 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -191,6 +191,7 @@ $hr-border-width: $border-width !default; $dt-font-weight: bold !default; +$kbd-box-shadow: inset 0 -.1rem 0 rgba(0,0,0,.25) !default; $nested-kbd-font-weight: bold !default; $list-inline-padding: 5px !default;