@spark-hire/bootstrap-themes 1.1.2 → 1.1.3-reference-checks-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spark-hire/bootstrap-themes",
3
- "version": "1.1.2",
3
+ "version": "1.1.3-reference-checks-2",
4
4
  "description": "Custom Bootstrap 4 Themes",
5
5
  "repository": {
6
6
  "type": "git",
@@ -0,0 +1,3 @@
1
+ @function pxToRem($px) {
2
+ @return ($px / 16) + rem;
3
+ }
package/scss/buttons.scss CHANGED
@@ -22,6 +22,7 @@
22
22
  @mixin button-svg($color) {
23
23
  svg {
24
24
  fill: color-yiq($color);
25
+ transition: fill 0.175s ease-in-out;
25
26
  }
26
27
 
27
28
  &:focus,
@@ -51,6 +52,7 @@
51
52
  @mixin button-outline-svg($color) {
52
53
  svg {
53
54
  fill: $color;
55
+ transition: fill 0.175s ease-in-out;
54
56
  }
55
57
 
56
58
  &:focus,
package/scss/fonts.scss CHANGED
@@ -1,5 +1,6 @@
1
1
  @import url('https://assets.sparkhire.com/app-fonts/css/source-sans-pro.css');
2
2
  @import url('https://assets.sparkhire.com/app-fonts/css/roboto.css');
3
+ @import './functions';
3
4
 
4
5
  html, body {
5
6
  font-family: 'Source Sans Pro', sans-serif;
@@ -38,3 +39,85 @@ small {
38
39
  .font-weight-semi-bold {
39
40
  font-weight: 600 !important;
40
41
  }
42
+
43
+ @mixin font-size-xxl {
44
+ font-size: pxToRem(28)!important;
45
+ }
46
+
47
+ @mixin font-size-xl {
48
+ font-size: pxToRem(22)!important;
49
+ }
50
+
51
+ @mixin font-size-lg {
52
+ font-size: pxToRem(18)!important;
53
+ }
54
+
55
+ @mixin font-size-md {
56
+ font-size: pxToRem(16)!important;
57
+ }
58
+
59
+ @mixin font-size-sm {
60
+ font-size: pxToRem(14)!important;
61
+ }
62
+
63
+ @mixin font-size-xs {
64
+ font-size: pxToRem(12)!important;
65
+ }
66
+
67
+ // Beta rollout
68
+ .typography-beta-rollout {
69
+ font-family: 'Roboto', sans-serif!important;
70
+
71
+ h1, h2, h3, h4, h5, h6 {
72
+ font-family: 'Roboto', sans-serif;
73
+ font-weight: 600;
74
+ }
75
+
76
+ h1 {
77
+ @include font-size-xxl;
78
+ }
79
+
80
+ h2 {
81
+ @include font-size-xl;
82
+ }
83
+
84
+ h3 {
85
+ @include font-size-lg;
86
+ }
87
+
88
+ h4 {
89
+ @include font-size-md;
90
+ }
91
+
92
+ h5 {
93
+ @include font-size-sm;
94
+ }
95
+
96
+ h6 {
97
+ @include font-size-xs;
98
+ }
99
+ }
100
+
101
+ .font-size-xxl {
102
+ @include font-size-xxl;
103
+ }
104
+
105
+ .font-size-xl {
106
+ @include font-size-xl;
107
+ }
108
+
109
+ .font-size-lg {
110
+ @include font-size-lg;
111
+ }
112
+
113
+ .font-size-md {
114
+ @include font-size-md;
115
+ }
116
+
117
+ .font-size-sm {
118
+ @include font-size-sm;
119
+ }
120
+
121
+ .font-size-xs {
122
+ @include font-size-xs;
123
+ }
@@ -0,0 +1,20 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 27.8.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="uuid-e3db87af-0972-4656-8ce2-e706823223f2"
4
+ xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 64 64"
5
+ style="enable-background:new 0 0 64 64;" xml:space="preserve">
6
+ <style type="text/css">
7
+ .st0{fill:#1A1A1A;}
8
+ </style>
9
+ <path class="st0" d="M49.9,16.4v-1.8c0-0.7-0.5-1.2-1.2-1.2H22.5L18,8.9c-0.2-0.2-0.5-0.4-0.9-0.4H5.1C4.4,8.5,3.9,9,3.9,9.7L4,44.1
10
+ c0,0.7,0.5,1.2,1.2,1.2H7L6.9,20c0-2,1.6-3.6,3.6-3.6C10.6,16.4,49.9,16.4,49.9,16.4z"/>
11
+ <path class="st0" d="M55.9,22.7v-2.2c0-0.7-0.5-1.2-1.2-1.2l-43,0c-0.7,0-1.2,0.5-1.2,1.2l0,29.5c0,0.7,0.5,1.2,1.2,1.2l1.6,0
12
+ l0-24.9c0-2,1.6-3.6,3.6-3.6L55.9,22.7L55.9,22.7z"/>
13
+ <g>
14
+ <path class="st0" d="M43.5,35.8c-0.2-0.1-0.5-0.1-0.7,0l-5.7,5.4l-3.2-1.5c-0.2-0.1-0.5,0-0.7,0.2l-0.8,1c-0.1,0.2-0.1,0.5,0,0.7
15
+ l4,4c0.6,0.6,1.5,0.6,2.1,0.1c0.1-0.1,0.2-0.2,0.2-0.3l5.6-8.3c0.1-0.2,0.1-0.5-0.1-0.6L43.5,35.8z"/>
16
+ <path class="st0" d="M59,25.5H17.9c-0.6,0-1.1,0.5-1.1,1.2v27.7c0,0.6,0.5,1.1,1.1,1.1H59c0.6,0,1.1-0.5,1.1-1.1V26.6
17
+ C60.1,26,59.6,25.5,59,25.5z M38.7,51.3c-6,0-10.8-4.9-10.8-10.8c0-6,4.9-10.8,10.8-10.8c6,0,10.8,4.9,10.8,10.8
18
+ C49.6,46.5,44.7,51.3,38.7,51.3z"/>
19
+ </g>
20
+ </svg>