shipyard-framework 0.6.1 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/assets/javascripts/shipyard/modal.js +2 -2
  3. data/assets/stylesheets/shipyard/_components.sass +4 -0
  4. data/assets/stylesheets/shipyard/_mixins.sass +2 -0
  5. data/assets/stylesheets/shipyard/_utilities.sass +22 -8
  6. data/assets/stylesheets/shipyard/_variables.sass +1 -3
  7. data/assets/stylesheets/shipyard/{utilities → components}/_accordion.sass +4 -4
  8. data/assets/stylesheets/shipyard/components/_alerts.sass +8 -10
  9. data/assets/stylesheets/shipyard/components/_boxes.sass +1 -15
  10. data/assets/stylesheets/shipyard/components/_bullet.sass +6 -0
  11. data/assets/stylesheets/shipyard/components/_buttons.sass +0 -3
  12. data/assets/stylesheets/shipyard/components/_container.sass +6 -0
  13. data/assets/stylesheets/shipyard/components/_forms.sass +1 -1
  14. data/assets/stylesheets/shipyard/components/_grid.sass +62 -0
  15. data/assets/stylesheets/shipyard/components/_hamburger.sass +4 -4
  16. data/assets/stylesheets/shipyard/components/_header.sass +14 -14
  17. data/assets/stylesheets/shipyard/components/_horizontal-rules.sass +1 -1
  18. data/assets/stylesheets/shipyard/components/_input-radio-checkbox.sass +1 -1
  19. data/assets/stylesheets/shipyard/components/_input-select.sass +1 -1
  20. data/assets/stylesheets/shipyard/components/_input-text.sass +1 -1
  21. data/assets/stylesheets/shipyard/components/_modals.sass +2 -3
  22. data/assets/stylesheets/shipyard/components/_notes.sass +6 -6
  23. data/assets/stylesheets/shipyard/components/_tables.sass +1 -1
  24. data/assets/stylesheets/shipyard/components/_tooltips.sass +8 -4
  25. data/assets/stylesheets/shipyard/core/_typography.sass +0 -19
  26. data/assets/stylesheets/shipyard/functions/_color.sass +4 -7
  27. data/assets/stylesheets/shipyard/mixins/_components.sass +0 -6
  28. data/assets/stylesheets/shipyard/mixins/_grid.sass +17 -0
  29. data/assets/stylesheets/shipyard/mixins/_responsive.sass +38 -42
  30. data/assets/stylesheets/shipyard/mixins/_utility.sass +50 -0
  31. data/assets/stylesheets/shipyard/utilities/_border-radius.sass +29 -39
  32. data/assets/stylesheets/shipyard/utilities/_box-shadow.sass +1 -0
  33. data/assets/stylesheets/shipyard/utilities/_center.sass +8 -14
  34. data/assets/stylesheets/shipyard/utilities/_colors.sass +2 -12
  35. data/assets/stylesheets/shipyard/utilities/_cursor.sass +1 -0
  36. data/assets/stylesheets/shipyard/utilities/_display.sass +1 -14
  37. data/assets/stylesheets/shipyard/utilities/_flex-direction.sass +1 -0
  38. data/assets/stylesheets/shipyard/utilities/_float.sass +4 -0
  39. data/assets/stylesheets/shipyard/utilities/_font-family.sass +1 -0
  40. data/assets/stylesheets/shipyard/utilities/_font-size.sass +1 -0
  41. data/assets/stylesheets/shipyard/utilities/_font-style.sass +1 -0
  42. data/assets/stylesheets/shipyard/utilities/_font-weight.sass +1 -0
  43. data/assets/stylesheets/shipyard/utilities/_height.sass +1 -0
  44. data/assets/stylesheets/shipyard/utilities/_margin.sass +1 -0
  45. data/assets/stylesheets/shipyard/utilities/_opacity.sass +1 -4
  46. data/assets/stylesheets/shipyard/utilities/_overflow.sass +3 -11
  47. data/assets/stylesheets/shipyard/utilities/_padding.sass +1 -0
  48. data/assets/stylesheets/shipyard/utilities/_position.sass +1 -4
  49. data/assets/stylesheets/shipyard/utilities/_text-align.sass +1 -0
  50. data/assets/stylesheets/shipyard/utilities/_text-decoration.sass +1 -0
  51. data/assets/stylesheets/shipyard/utilities/_text-overflow.sass +1 -0
  52. data/assets/stylesheets/shipyard/utilities/_text-shadow.sass +1 -0
  53. data/assets/stylesheets/shipyard/utilities/_text-transform.sass +1 -0
  54. data/assets/stylesheets/shipyard/utilities/_transform.sass +1 -0
  55. data/assets/stylesheets/shipyard/utilities/_transition.sass +1 -0
  56. data/assets/stylesheets/shipyard/utilities/_white-space.sass +1 -0
  57. data/assets/stylesheets/shipyard/utilities/_z-index.sass +1 -0
  58. data/assets/stylesheets/shipyard/variables/_color_utilities.sass +54 -54
  59. data/assets/stylesheets/shipyard/variables/_colors.scss +101 -88
  60. data/assets/stylesheets/shipyard/variables/_components.scss +0 -1
  61. data/assets/stylesheets/shipyard/variables/_options.scss +322 -0
  62. data/assets/stylesheets/shipyard/variables/_typography.sass +3 -2
  63. data/lib/shipyard-framework.rb +0 -3
  64. data/lib/shipyard-framework/helpers/alert_helper.rb +1 -1
  65. data/lib/shipyard-framework/version.rb +1 -1
  66. metadata +29 -11
  67. data/assets/stylesheets/shipyard/utilities/_grid.sass +0 -74
  68. data/assets/stylesheets/shipyard/utilities/_margin-padding.sass +0 -40
  69. data/assets/stylesheets/shipyard/utilities/_typography.sass +0 -104
  70. data/assets/stylesheets/shipyard/variables/_grid.sass +0 -2
  71. data/assets/stylesheets/shipyard/variables/_opacities.scss +0 -22
  72. data/assets/stylesheets/shipyard/variables/_z-index.scss +0 -9
  73. data/lib/shipyard-framework/helpers/button_helper.rb +0 -39
  74. data/lib/shipyard-framework/jekyll/tags/button_tag.rb +0 -21
@@ -0,0 +1,4 @@
1
+ +utility(float)
2
+
3
+ .clearfix
4
+ +clearfix
@@ -0,0 +1 @@
1
+ +utility(font-family)
@@ -0,0 +1 @@
1
+ +utility(font-size)
@@ -0,0 +1 @@
1
+ +utility(font-style)
@@ -0,0 +1 @@
1
+ +utility(font-weight)
@@ -0,0 +1 @@
1
+ +utility(height)
@@ -0,0 +1 @@
1
+ +utility(margin)
@@ -1,4 +1 @@
1
- .o
2
- @each $opacity, $value in $opacities
3
- &-#{$opacity}
4
- opacity: $value
1
+ +utility(opacity)
@@ -1,11 +1,3 @@
1
- .overflow
2
- &-auto
3
- overflow: auto
4
- &-hidden
5
- overflow: hidden
6
- &-visible
7
- overflow: visible
8
- &-x-scroll
9
- overflow-x: auto
10
- &-y-scroll
11
- overflow-y: auto
1
+ +utility(overflow)
2
+ +utility(overflow-x)
3
+ +utility(overflow-y)
@@ -0,0 +1 @@
1
+ +utility(padding)
@@ -1,4 +1 @@
1
- @each $value in (static, relative, absolute, fixed)
2
- .#{$value}
3
- +all-media-sizes
4
- position: $value
1
+ +utility(position)
@@ -0,0 +1 @@
1
+ +utility(text-align)
@@ -0,0 +1 @@
1
+ +utility(text-decoration)
@@ -0,0 +1 @@
1
+ +utility(text-overflow)
@@ -0,0 +1 @@
1
+ +utility(text-shadow)
@@ -0,0 +1 @@
1
+ +utility(text-transform)
@@ -0,0 +1 @@
1
+ +utility(transform)
@@ -0,0 +1 @@
1
+ +utility(transition)
@@ -0,0 +1 @@
1
+ +utility(white-space)
@@ -0,0 +1 @@
1
+ +utility(z-index)
@@ -4,81 +4,81 @@ $white: color('white') !default
4
4
 
5
5
  // Gray
6
6
  $gray: color('gray') !default
7
- $gray-light: color('gray', 'light') !default
8
- $gray-lighter: color('gray', 'lighter') !default
9
- $gray-lightest: color('gray', 'lightest') !default
10
- $gray-dark: color('gray', 'dark') !default
11
- $gray-darker: color('gray', 'darker') !default
12
- $gray-darkest: color('gray', 'darkest') !default
7
+ $gray-light: color('gray-light') !default
8
+ $gray-lighter: color('gray-lighter') !default
9
+ $gray-lightest: color('gray-lightest') !default
10
+ $gray-dark: color('gray-dark') !default
11
+ $gray-darker: color('gray-darker') !default
12
+ $gray-darkest: color('gray-darkest') !default
13
13
 
14
14
  // Green
15
15
  $green: color('green') !default
16
- $green-light: color('green', 'light') !default
17
- $green-lighter: color('green', 'lighter') !default
18
- $green-lightest: color('green', 'lightest') !default
19
- $green-dark: color('green', 'dark') !default
20
- $green-darker: color('green', 'darker') !default
21
- $green-darkest: color('green', 'darkest') !default
16
+ $green-light: color('green-light') !default
17
+ $green-lighter: color('green-lighter') !default
18
+ $green-lightest: color('green-lightest') !default
19
+ $green-dark: color('green-dark') !default
20
+ $green-darker: color('green-darker') !default
21
+ $green-darkest: color('green-darkest') !default
22
22
 
23
23
  // Blue
24
24
  $blue: color('blue') !default
25
- $blue-light: color('blue', 'light') !default
26
- $blue-lighter: color('blue', 'lighter') !default
27
- $blue-lightest: color('blue', 'lightest') !default
28
- $blue-dark: color('blue', 'dark') !default
29
- $blue-darker: color('blue', 'darker') !default
30
- $blue-darkest: color('blue', 'darkest') !default
25
+ $blue-light: color('blue-light') !default
26
+ $blue-lighter: color('blue-lighter') !default
27
+ $blue-lightest: color('blue-lightest') !default
28
+ $blue-dark: color('blue-dark') !default
29
+ $blue-darker: color('blue-darker') !default
30
+ $blue-darkest: color('blue-darkest') !default
31
31
 
32
32
  // Teal
33
33
  $teal: color('teal') !default
34
- $teal-light: color('teal', 'light') !default
35
- $teal-lighter: color('teal', 'lighter') !default
36
- $teal-lightest: color('teal', 'lightest') !default
37
- $teal-dark: color('teal', 'dark') !default
38
- $teal-darker: color('teal', 'darker') !default
39
- $teal-darkest: color('teal', 'darkest') !default
34
+ $teal-light: color('teal-light') !default
35
+ $teal-lighter: color('teal-lighter') !default
36
+ $teal-lightest: color('teal-lightest') !default
37
+ $teal-dark: color('teal-dark') !default
38
+ $teal-darker: color('teal-darker') !default
39
+ $teal-darkest: color('teal-darkest') !default
40
40
 
41
41
  // Red
42
42
  $red: color('red') !default
43
- $red-light: color('red', 'light') !default
44
- $red-lighter: color('red', 'lighter') !default
45
- $red-lightest: color('red', 'lightest') !default
46
- $red-dark: color('red', 'dark') !default
47
- $red-darker: color('red', 'darker') !default
48
- $red-darkest: color('red', 'darkest') !default
43
+ $red-light: color('red-light') !default
44
+ $red-lighter: color('red-lighter') !default
45
+ $red-lightest: color('red-lightest') !default
46
+ $red-dark: color('red-dark') !default
47
+ $red-darker: color('red-darker') !default
48
+ $red-darkest: color('red-darkest') !default
49
49
 
50
50
  // Yellow
51
51
  $yellow: color('yellow') !default
52
- $yellow-light: color('yellow', 'light') !default
53
- $yellow-lighter: color('yellow', 'lighter') !default
54
- $yellow-lightest: color('yellow', 'lightest') !default
55
- $yellow-dark: color('yellow', 'dark') !default
56
- $yellow-darker: color('yellow', 'darker') !default
57
- $yellow-darkest: color('yellow', 'darkest') !default
52
+ $yellow-light: color('yellow-light') !default
53
+ $yellow-lighter: color('yellow-lighter') !default
54
+ $yellow-lightest: color('yellow-lightest') !default
55
+ $yellow-dark: color('yellow-dark') !default
56
+ $yellow-darker: color('yellow-darker') !default
57
+ $yellow-darkest: color('yellow-darkest') !default
58
58
 
59
59
  // Orange
60
60
  $orange: color('orange') !default
61
- $orange-light: color('orange', 'light') !default
62
- $orange-lighter: color('orange', 'lighter') !default
63
- $orange-lightest: color('orange', 'lightest') !default
64
- $orange-dark: color('orange', 'dark') !default
65
- $orange-darker: color('orange', 'darker') !default
66
- $orange-darkest: color('orange', 'darkest') !default
61
+ $orange-light: color('orange-light') !default
62
+ $orange-lighter: color('orange-lighter') !default
63
+ $orange-lightest: color('orange-lightest') !default
64
+ $orange-dark: color('orange-dark') !default
65
+ $orange-darker: color('orange-darker') !default
66
+ $orange-darkest: color('orange-darkest') !default
67
67
 
68
68
  // Coral
69
69
  $coral: color('coral') !default
70
- $coral-light: color('coral', 'light') !default
71
- $coral-lighter: color('coral', 'lighter') !default
72
- $coral-lightest: color('coral', 'lightest') !default
73
- $coral-dark: color('coral', 'dark') !default
74
- $coral-darker: color('coral', 'darker') !default
75
- $coral-darkest: color('coral', 'darkest') !default
70
+ $coral-light: color('coral-light') !default
71
+ $coral-lighter: color('coral-lighter') !default
72
+ $coral-lightest: color('coral-lightest') !default
73
+ $coral-dark: color('coral-dark') !default
74
+ $coral-darker: color('coral-darker') !default
75
+ $coral-darkest: color('coral-darkest') !default
76
76
 
77
77
  // Purple
78
78
  $purple: color('purple') !default
79
- $purple-light: color('purple', 'light') !default
80
- $purple-lighter: color('purple', 'lighter') !default
81
- $purple-lightest: color('purple', 'lightest') !default
82
- $purple-dark: color('purple', 'dark') !default
83
- $purple-darker: color('purple', 'darker') !default
84
- $purple-darkest: color('purple', 'darkest') !default
79
+ $purple-light: color('purple-light') !default
80
+ $purple-lighter: color('purple-lighter') !default
81
+ $purple-lightest: color('purple-lightest') !default
82
+ $purple-dark: color('purple-dark') !default
83
+ $purple-darker: color('purple-darker') !default
84
+ $purple-darkest: color('purple-darkest') !default
@@ -1,89 +1,102 @@
1
- $colors: (
2
- "black": (
3
- base: #000
4
- ),
5
- "white": (
6
- base: #fff
7
- ),
8
- "gray": (
9
- base: #788594,
10
- light: #bac5d2,
11
- lighter: #dfe6eb,
12
- lightest: #f2f5f7,
13
- dark: darken(#788594, 18%),
14
- darker: #313a44,
15
- darkest: #1e252c
16
- ),
17
- "green": (
18
- base: darken(#3acc7c, 3%),
19
- light: lighten(#3acc7c, 22%),
20
- lighter: lighten(#3acc7c, 34%),
21
- lightest: lighten(#3acc7c, 41%),
22
- dark: darken(#3acc7c, 18%),
23
- darker: darken(#3acc7c, 26%),
24
- darkest: darken(#3acc7c, 32%)
25
- ),
26
- "blue": (
27
- base: #1ca1e3,
28
- light: lighten(#5eb9e6, 15%),
29
- lighter: lighten(#9ed8f5, 9%),
30
- lightest: lighten(#9ed8f5, 15%),
31
- dark: #0075b0,
32
- darker: darken(#0075b0, 7%),
33
- darkest: darken(#004d73, 5%)
34
- ),
35
- "teal": (
36
- base: #20a5a8,
37
- light: #6ab7b9,
38
- lighter: #b2dbdc,
39
- lightest: lighten(#b2dbdc, 13%),
40
- dark: darken(#20a5a8, 8%),
41
- darker: darken(#20a5a8, 16%),
42
- darkest: darken(#20a5a8, 24%)
43
- ),
44
- "red": (
45
- base: #e06158,
46
- light: lighten(#e06158, 8%),
47
- lighter: lighten(#e06158, 16%),
48
- lightest: lighten(#e06158, 32%),
49
- dark: #b13b39,
50
- darker: #892120,
51
- darkest: desaturate(darken(#892120, 8%), 0%)
52
- ),
53
- "yellow": (
54
- base: #ffca49,
55
- light: lighten(#ffca49, 8%),
56
- lighter: #ffe7b1,
57
- lightest: lighten(#ffe7b1, 7%),
58
- dark: darken(#ffca49, 20%),
59
- darker: darken(#ffca49, 30%),
60
- darkest: darken(#ffca49, 47%)
61
- ),
62
- "orange": (
63
- base: #ff9f49,
64
- light: lighten(#ff9f49, 7%),
65
- lighter: lighten(#ff9f49, 14%),
66
- lightest: lighten(#ff9f49, 21%),
67
- dark: desaturate(darken(#ff9f49, 10%), 35%),
68
- darker: desaturate(darken(#ff9f49, 20%), 25%),
69
- darkest: desaturate(darken(#ff9f49, 30%), 15%)
70
- ),
71
- "purple": (
72
- base: #bf8df6,
73
- light: lighten(#bf8df6, 10%),
74
- lighter: lighten(#bf8df6, 15%),
75
- lightest: lighten(#bf8df6, 20%),
76
- dark: desaturate(darken(#bf8df6, 20%), 35%),
77
- darker: desaturate(darken(#bf8df6, 35%), 35%),
78
- darkest: desaturate(darken(#bf8df6, 50%), 35%)
79
- ),
80
- "coral": (
81
- base: #f9657a,
82
- light: lighten(#f9657a, 8%),
83
- lighter: lighten(#f9657a, 16%),
84
- lightest: lighten(#f9657a, 25%),
85
- dark: desaturate(darken(#f9657a, 20%), 35%),
86
- darker: desaturate(darken(#f9657a, 30%), 25%),
87
- darkest: desaturate(darken(#f9657a, 40%), 15%)
88
- )
1
+ $shipyard-colors: (
2
+ 'black': #000,
3
+
4
+ // Shipyard: White
5
+ 'white': #fff,
6
+ 'white-90': rgba(#fff, .9),
7
+ 'white-80': rgba(#fff, .8),
8
+ 'white-70': rgba(#fff, .7),
9
+ 'white-60': rgba(#fff, .6),
10
+ 'white-50': rgba(#fff, .5),
11
+ 'white-40': rgba(#fff, .4),
12
+
13
+ // Shipyard: Gray
14
+ 'gray': #788594,
15
+ 'gray-light': #bac5d2,
16
+ 'gray-lighter': #dfe6eb,
17
+ 'gray-lightest': #f2f5f7,
18
+ 'gray-dark': darken(#788594, 18%),
19
+ 'gray-darker': #313a44,
20
+ 'gray-darkest': #1e252c,
21
+
22
+ // Shipyard: Green
23
+ 'green': darken(#3acc7c, 3%),
24
+ 'green-light': lighten(#3acc7c, 22%),
25
+ 'green-lighter': lighten(#3acc7c, 34%),
26
+ 'green-lightest': lighten(#3acc7c, 41%),
27
+ 'green-dark': darken(#3acc7c, 18%),
28
+ 'green-darker': darken(#3acc7c, 26%),
29
+ 'green-darkest': darken(#3acc7c, 32%),
30
+
31
+ // Shipyard: Blue
32
+ 'blue': #1ca1e3,
33
+ 'blue-light': lighten(#5eb9e6, 15%),
34
+ 'blue-lighter': lighten(#9ed8f5, 9%),
35
+ 'blue-lightest': lighten(#9ed8f5, 15%),
36
+ 'blue-dark': #0075b0,
37
+ 'blue-darker': darken(#0075b0, 7%),
38
+ 'blue-darkest': darken(#004d73, 5%),
39
+
40
+ // Shipyard: Teal
41
+ 'teal': #20a5a8,
42
+ 'teal-light': #6ab7b9,
43
+ 'teal-lighter': #b2dbdc,
44
+ 'teal-lightest': lighten(#b2dbdc, 13%),
45
+ 'teal-dark': darken(#20a5a8, 8%),
46
+ 'teal-darker': darken(#20a5a8, 16%),
47
+ 'teal-darkest': darken(#20a5a8, 24%),
48
+
49
+ // Shipyard: Red
50
+ 'red': #e06158,
51
+ 'red-light': lighten(#e06158, 8%),
52
+ 'red-lighter': lighten(#e06158, 16%),
53
+ 'red-lightest': lighten(#e06158, 32%),
54
+ 'red-dark': #b13b39,
55
+ 'red-darker': #892120,
56
+ 'red-darkest': desaturate(darken(#892120, 8%), 0%),
57
+
58
+ // Shipyard: Yellow
59
+ 'yellow': #ffca49,
60
+ 'yellow-light': lighten(#ffca49, 8%),
61
+ 'yellow-lighter': #ffe7b1,
62
+ 'yellow-lightest': lighten(#ffe7b1, 7%),
63
+ 'yellow-dark': darken(#ffca49, 20%),
64
+ 'yellow-darker': darken(#ffca49, 30%),
65
+ 'yellow-darkest': darken(#ffca49, 47%),
66
+
67
+ // Shipyard: Orange
68
+ 'orange': #ff9f49,
69
+ 'orange-light': lighten(#ff9f49, 7%),
70
+ 'orange-lighter': lighten(#ff9f49, 14%),
71
+ 'orange-lightest': lighten(#ff9f49, 21%),
72
+ 'orange-dark': desaturate(darken(#ff9f49, 10%), 35%),
73
+ 'orange-darker': desaturate(darken(#ff9f49, 20%), 25%),
74
+ 'orange-darkest': desaturate(darken(#ff9f49, 30%), 15%),
75
+
76
+ // Shipyard: Purple
77
+ 'purple': #bf8df6,
78
+ 'purple-light': lighten(#bf8df6, 10%),
79
+ 'purple-lighter': lighten(#bf8df6, 15%),
80
+ 'purple-lightest': lighten(#bf8df6, 20%),
81
+ 'purple-dark': desaturate(darken(#bf8df6, 20%), 35%),
82
+ 'purple-darker': desaturate(darken(#bf8df6, 35%), 35%),
83
+ 'purple-darkest': desaturate(darken(#bf8df6, 50%), 35%),
84
+
85
+ // Shipyard: Coral
86
+ 'coral': #f9657a,
87
+ 'coral-light': lighten(#f9657a, 8%),
88
+ 'coral-lighter': lighten(#f9657a, 16%),
89
+ 'coral-lightest': lighten(#f9657a, 25%),
90
+ 'coral-dark': desaturate(darken(#f9657a, 20%), 35%),
91
+ 'coral-darker': desaturate(darken(#f9657a, 30%), 25%),
92
+ 'coral-darkest': desaturate(darken(#f9657a, 40%), 15%),
93
+
94
+ // Shipyard: Text Colors
95
+ 'text-darkest': #162b44,
96
+ 'text-darker': rgba(#162b44, .9),
97
+ 'text-dark': rgba(#162b44, .8),
98
+ 'text-normal': rgba(#162b44, .7),
99
+ 'text-light': rgba(#162b44, .6),
100
+ 'text-lighter': rgba(#162b44, .5),
101
+ 'text-lightest': rgba(#162b44, .4)
89
102
  ) !default;
@@ -1,6 +1,5 @@
1
1
  $component-defaults: (
2
2
  header: (
3
- z-index: 100,
4
3
  background: #fff,
5
4
  color: $text-color-light,
6
5
  box-shadow: $box-shadow,
@@ -0,0 +1,322 @@
1
+ $shipyard-defaults: (
2
+
3
+ // Shipyard: Color Utilities
4
+ color: (
5
+ prefix: null,
6
+ responsive: false,
7
+ values: $shipyard-colors
8
+ ),
9
+
10
+ // Shipyard: Color Utilities
11
+ background-color: (
12
+ prefix: 'bg',
13
+ responsive: false,
14
+ values: $shipyard-colors
15
+ ),
16
+
17
+ // Shipyard: Box-Shadow Utility
18
+ box-shadow: (
19
+ prefix: 'box-shadow',
20
+ responsive: false,
21
+ values: (
22
+ '': 0 1px 2px rgba($gray-darkest, .08),
23
+ hover: 0 0 4px 1px rgba($blue, .5),
24
+ active: 0 0 4px 1px rgba($green, .75)
25
+ )
26
+ ),
27
+
28
+ // Shipyard: Breakpoints
29
+ breakpoints: (
30
+ sm: 576px,
31
+ md: 768px,
32
+ lg: 992px,
33
+ xl: 1200px
34
+ ),
35
+
36
+ // Shipyard: Margins (TODO: Deprecate this map)
37
+ margins: (
38
+ all: 10px,
39
+ sm: 20px,
40
+ md: 30px,
41
+ lg: 30px,
42
+ xl: 40px
43
+ ),
44
+
45
+ // Shipyard: Grid Component
46
+ grid: (
47
+ prefix: 'col',
48
+ responsive: true,
49
+ values: (0, 5, 10, 15, 20, 25, 30, 33, 35, 40, 45, 50, 55, 60, 65, 66, 70, 75, 80, 85, 90, 95, 100)
50
+ ),
51
+
52
+ // Shipyard: Height Component
53
+ height: (
54
+ prefix: 'h',
55
+ responsive: true,
56
+ values: (
57
+ '50': 50px,
58
+ '60': 60px,
59
+ '70': 70px,
60
+ '80': 80px,
61
+ '90': 90px,
62
+ '100': 100px
63
+ )
64
+ ),
65
+
66
+ // Shipyard: Cursor Utility
67
+ cursor: (
68
+ prefix: 'cursor',
69
+ responsive: false,
70
+ values: (auto, pointer, default)
71
+ ),
72
+
73
+ // Shipyard: Center
74
+ center: (
75
+ prefix: 'center',
76
+ responsive: true,
77
+ values: ()
78
+ ),
79
+
80
+ // Shipyard: Margin Utilities
81
+ margin: (
82
+ prefix: 'm',
83
+ responsive: true,
84
+ variants: (t: top, b: bottom, l: left, r: right),
85
+ values: (
86
+ 0: 0,
87
+ 5: 5px,
88
+ 10: 10px,
89
+ 15: 15px,
90
+ 20: 20px,
91
+ 30: 30px,
92
+ 40: 40px,
93
+ auto: auto
94
+ )
95
+ ),
96
+
97
+ // Shipyard: Padding Utilities
98
+ padding: (
99
+ prefix: 'p',
100
+ responsive: true,
101
+ variants: (t: top, b: bottom, l: left, r: right),
102
+ values: (
103
+ 0: 0,
104
+ 5: 5px,
105
+ 10: 10px,
106
+ 15: 15px,
107
+ 20: 20px,
108
+ 30: 30px,
109
+ 40: 40px
110
+ )
111
+ ),
112
+
113
+ // Shipyard: Display Utilities
114
+ display: (
115
+ prefix: null,
116
+ responsive: true,
117
+ values: (
118
+ 'flex': flex,
119
+ 'block': block,
120
+ 'table': table,
121
+ 'inline': inline,
122
+ 'inline-block': inline-block,
123
+ 'hidden': none
124
+ )
125
+ ),
126
+
127
+ // Shipyard: Font-Family Utility
128
+ font-family: (
129
+ prefix: null,
130
+ responsive: false,
131
+ values: (
132
+ 'sans-serif': $font-family,
133
+ 'monospace': $font-monospace
134
+ )
135
+ ),
136
+
137
+ // Shipyard: Font-Size Utility
138
+ font-size: (
139
+ prefix: 'text',
140
+ responsive: true,
141
+ values: $font-sizes
142
+ ),
143
+
144
+ // Shipyard: Font-Style Utility
145
+ font-style: (
146
+ prefix: null,
147
+ responsive: false,
148
+ values: (italic)
149
+ ),
150
+
151
+ // Shipyard: Font-Weight Utility
152
+ font-weight: (
153
+ prefix: null,
154
+ responsive: true,
155
+ values: (
156
+ normal: normal,
157
+ bold: bold
158
+ )
159
+ ),
160
+
161
+ // Shipyard: White-Space Utilities
162
+ white-space: (
163
+ prefix: 'white-space',
164
+ responsive: true,
165
+ values: (normal, pre, nowrap)
166
+ ),
167
+
168
+ // Shipyard: Text-Align Utilities
169
+ text-align: (
170
+ prefix: 'align',
171
+ responsive: true,
172
+ values: (center, left, right)
173
+ ),
174
+
175
+ // Shipyard: Text-Direction Utilities
176
+ text-decoration: (
177
+ prefix: null,
178
+ responsive: false,
179
+ values: (
180
+ 'line-through': line-through,
181
+ 'underline': underline,
182
+ 'no-underline': none
183
+ )
184
+ ),
185
+
186
+ // Shipyard: Text-Align Utilities
187
+ text-shadow: (
188
+ prefix: 'text-shadow',
189
+ responsive: false,
190
+ values: (
191
+ xs: 0 1px 0 rgba(#000,.1),
192
+ sm: 0 1px 1px rgba(#000, .1)
193
+ )
194
+ ),
195
+
196
+ // Shipyard: Text-Transform Utility
197
+ text-transform: (
198
+ prefix: null,
199
+ responsive: false,
200
+ values: (uppercase, lowercase, capitalize)
201
+ ),
202
+
203
+ // Shipyard: Float Utilities
204
+ float: (
205
+ prefix: 'float',
206
+ responsive: true,
207
+ values: (none, left, right)
208
+ ),
209
+
210
+ // Shipyard: Overflow Utility
211
+ overflow: (
212
+ prefix: 'overflow',
213
+ responsive: true,
214
+ values: (auto, hidden, visible)
215
+ ),
216
+
217
+ overflow-x: (
218
+ prefix: 'overflow-x',
219
+ responsive: true,
220
+ values: (scroll: auto)
221
+ ),
222
+
223
+ overflow-y: (
224
+ prefix: 'overflow-y',
225
+ responsive: true,
226
+ values: (scroll: auto)
227
+ ),
228
+
229
+ // Shipyard: Flex Direction Utility
230
+ flex-direction: (
231
+ prefix: 'flex',
232
+ responsive: true,
233
+ values: (
234
+ 'row': row,
235
+ 'row-reverse': row-reverse,
236
+ 'col': column,
237
+ 'col-reverse': column-reverse
238
+ )
239
+ ),
240
+
241
+ // Shipyard: Border-Radius Utility
242
+ border-radius: (
243
+ prefix: 'rounded',
244
+ responsive: true,
245
+ values: (
246
+ '': 5px,
247
+ '0': 0,
248
+ 'xs': 2px,
249
+ 'sm': 3px,
250
+ 'md': 5px,
251
+ 'pill': 999px
252
+ )
253
+ ),
254
+
255
+ // Shipyard: Opacity Utility
256
+ opacity: (
257
+ prefix: 'o',
258
+ responsive: false,
259
+ values: (
260
+ '90': .9,
261
+ '80': .8,
262
+ '70': .7,
263
+ '60': .6,
264
+ '50': .5,
265
+ '40': .4,
266
+ '30': .3,
267
+ '20': .2,
268
+ '10': .1,
269
+ '0': 0
270
+ )
271
+ ),
272
+
273
+ // Shipyard: Position Utility
274
+ position: (
275
+ prefix: null,
276
+ responsive: true,
277
+ values: (static, relative, absolute, fixed)
278
+ ),
279
+
280
+ // Shipyard: Text-Overflow Utility
281
+ text-overflow: (
282
+ prefix: null,
283
+ responsive: true,
284
+ values: (ellipsis, clip)
285
+ ),
286
+
287
+ // Shipyard: Transition Utility Speeds
288
+ transition: (
289
+ prefix: 'ease',
290
+ responsive: false,
291
+ values: (
292
+ '150ms': all 150ms ease,
293
+ '300ms': all 300ms ease,
294
+ '600ms': all 600ms ease
295
+ )
296
+ ),
297
+
298
+ // Shipyard: Transform Utility
299
+ transform: (
300
+ prefix: null,
301
+ responsive: false,
302
+ values: (
303
+ rotate-45: rotate(45deg),
304
+ rotate-90: rotate(90deg)
305
+ )
306
+ ),
307
+
308
+ // Shipyard: Z-Index Utility
309
+ z-index: (
310
+ prefix: 'z',
311
+ responsive: false,
312
+ values: (0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 200, auto)
313
+ )
314
+ );
315
+
316
+ // Merge the default options and the custom options together.
317
+ $shipyard-options: () !default;
318
+ $shipyard-options: map-merge-options($shipyard-defaults, $shipyard-options);
319
+
320
+ // TODO: Remove these variables someday in favor of the maps.
321
+ $margins: map-get($shipyard-options, margins);
322
+ $breakpoints: map-get($shipyard-options, breakpoints);