From: Geoff Kimball Date: Thu, 10 Mar 2016 23:34:01 +0000 (-0800) Subject: Generate settings file under scss/settings X-Git-Tag: v2.0.0-rc.4~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab9b12b143785d9c00f9256dc3209ce05f2fb25f;p=thirdparty%2Ffoundation%2Ffoundation-emails.git Generate settings file under scss/settings --- diff --git a/gulpfile.js b/gulpfile.js index 542589ed..f6c9d9fa 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -80,7 +80,7 @@ gulp.task('javascript:docs', function() { gulp.task('settings', function() { octophant('scss/**/*.scss', { title: 'Foundation for Emails Settings', - output: 'testing/src/assets/scss/_settings.scss', + output: 'scss/settings/_settings.scss', sort: ['global', 'grid', 'block-grid', 'type'] }); }); diff --git a/scss/settings/_settings.scss b/scss/settings/_settings.scss new file mode 100644 index 00000000..2161f103 --- /dev/null +++ b/scss/settings/_settings.scss @@ -0,0 +1,138 @@ +// Foundation for Emails Settings +// ------------------------------ +// +// Table of Contents: +// +// 1. Global +// 2. Grid +// 3. Block Grid +// 4. Typography +// 5. Button +// 6. Callout +// 7. Menu +// 8. Thumbnial + + +// 1. Global +// --------- + +$primary-color: #2199e8; +$secondary-color: #777777; +$success-color: #3adb76; +$warning-color: #ffae00; +$alert-color: #ec5840; +$light-gray: #f3f3f3; +$medium-gray: #cacaca; +$dark-gray: #8a8a8a; +$black: #0a0a0a; +$white: #fefefe; +$pre-color: #ff6908; +$global-width: 580px; +$global-width-small: 95%; +$global-gutter: 16px; +$body-background: $light-gray; +$container-background: $white; +$global-font-color: $black; +$body-font-family: Helvetica, Arial, sans-serif; +$global-padding: 16px; +$global-margin: 16px; +$global-radius: 3px; +$global-rounded: 500px; +$global-breakpoint: $global-width + $global-gutter; + +// 2. Grid +// ------- + +$grid-column-count: 12; +$column-padding-bottom: $global-padding; + +// 3. Block Grid +// ------------- + +$block-grid-max: 8; +$block-grid-gutter: $global-gutter; + +// 4. Typography +// ------------- + +$global-font-weight: normal; +$header-color: inherit; +$global-line-height: 1.3; +$global-font-size: 14px; +$body-line-height: 19px; +$header-font-family: $body-font-family; +$header-font-weight: $global-font-weight; +$h1-font-size: 40px; +$h2-font-size: 36px; +$h3-font-size: 32px; +$h4-font-size: 28px; +$h5-font-size: 24px; +$h6-font-size: 20px; +$header-margin-bottom: 10px; +$paragraph-margin-bottom: 10px; +$small-font-size: 10px; +$lead-font-size: $global-font-size * 1.25; +$lead-line-height: 1.6; +$text-padding: 10px; +$subheader-lineheight: 1.4; +$subheader-color: $dark-gray; +$subheader-font-weight: $global-font-weight; +$subheader-margin-top: 4px; +$subheader-margin-bottom: 8px; +$hr-width: $global-width; +$hr-border: 1px solid $medium-gray; +$hr-margin: 20px auto; +$anchor-text-decoration: none; +$anchor-color: $primary-color; +$anchor-color-visited: $anchor-color; +$anchor-color-hover: darken($primary-color, 10%); +$anchor-color-active: $anchor-color-hover; +$stat-font-size: 40px; + +// 5. Button +// --------- + +$button-padding: ( + tiny: 4px 8px 4px 8px, + small: 5px 10px 5px 10px, + default: 8px 16px 8px 16px, + large: 10px 20px 10px 20px, +); +$button-font-size: ( + tiny: 10px, + small: 12px, + default: 16px, + large: 20px, +); +$button-color: $white; +$button-color-alt: $medium-gray; +$button-font-weight: bold; +$button-margin: 0 0 $global-margin 0; +$button-background: $primary-color; +$button-border: 2px solid $button-background; +$button-radius: $global-radius; +$button-rounded: $global-rounded; + +// 6. Callout +// ---------- + +$callout-background: $white; +$callout-background-fade: 85%; +$callout-padding: 10px; +$callout-border: 1px solid darken($callout-background, 20%); +$callout-border-secondary: 1px solid darken($secondary-color, 20%); +$callout-border-success: 1px solid darken($success-color, 20%); +$callout-border-warning: 1px solid darken($warning-color, 20%); +$callout-border-alert: 1px solid darken($alert-color, 20%); + +// 7. Menu +// ------- + +$menu-item-padding: 20px; +$menu-simple-item-spacing: 10px; + +// 8. Thumbnial +// ------------ + +$thumbnail-shadow: 0 0 0 1px rgba($black, 0.2); +