xa-bootswatch 5.3.30 → 5.3.31

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/README.md CHANGED
@@ -40,6 +40,9 @@ use `npm publish`
40
40
  ## Change log
41
41
 
42
42
  26'
43
+ ### 5.3.31-release
44
+ - added `xa-zephyr-orange` theme
45
+
43
46
  ### 5.3.30-release
44
47
  ### 5.3.29-release
45
48
  ### 5.3.28-release
@@ -0,0 +1,221 @@
1
+ // XA Zephyr Orange
2
+ // Bootswatch
3
+
4
+
5
+ // Variables
6
+
7
+ $web-font-path: "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap" !default;
8
+ @if $web-font-path {
9
+ @import url("#{$web-font-path}");
10
+ }
11
+
12
+ // Navbar
13
+
14
+ .navbar {
15
+ font-size: $font-size-sm;
16
+ font-weight: 500;
17
+
18
+ .nav-item {
19
+ margin-right: .5rem;
20
+ margin-left: .5rem;
21
+ }
22
+
23
+ .navbar-nav {
24
+ .nav-link {
25
+ border-radius: $border-radius;
26
+ }
27
+ }
28
+ }
29
+
30
+ .navbar-dark {
31
+ .navbar-nav {
32
+ .nav-link {
33
+ &:hover {
34
+ background-color: rgba(255, 255, 255, .1);
35
+ }
36
+
37
+ &.active {
38
+ background-color: rgba(0, 0, 0, .5);
39
+ }
40
+ }
41
+ }
42
+ }
43
+
44
+ .navbar-light {
45
+ .navbar-nav {
46
+ .nav-link {
47
+ &:hover {
48
+ background-color: rgba(0, 0, 0, .03);
49
+ }
50
+
51
+ &.active {
52
+ background-color: rgba(0, 0, 0, .05);
53
+ }
54
+ }
55
+ }
56
+ }
57
+
58
+ .navbar-nav {
59
+ --bs-nav-link-padding-x: .5rem;
60
+ }
61
+
62
+ // Buttons
63
+
64
+ .btn-secondary,
65
+ .btn-light,
66
+ .btn-outline-secondary,
67
+ .btn-outline-light {
68
+ color: $gray-900;
69
+
70
+ &:disabled,
71
+ &.disabled {
72
+ border: 1px solid shade-color($secondary, 10%);
73
+ }
74
+ }
75
+
76
+ .btn-secondary,
77
+ .btn-outline-secondary {
78
+ border-color: shade-color($secondary, 10%);
79
+
80
+ &:hover,
81
+ &:active {
82
+ background-color: shade-color($secondary, 10%);
83
+ border-color: shade-color($secondary, 10%);
84
+ }
85
+ }
86
+
87
+ .btn-light,
88
+ .btn-outline-light {
89
+ border-color: shade-color($light, 10%);
90
+
91
+ &:hover,
92
+ &:active {
93
+ background-color: shade-color($light, 10%);
94
+ border-color: shade-color($light, 10%);
95
+ }
96
+ }
97
+
98
+ // Tables
99
+
100
+ .table {
101
+ font-size: $font-size-sm;
102
+ box-shadow: $box-shadow-lg;
103
+ }
104
+
105
+ thead th {
106
+ font-size: $font-size-sm;
107
+ text-transform: uppercase;
108
+ }
109
+
110
+ .table-primary,
111
+ .table-secondary,
112
+ .table-success,
113
+ .table-warning,
114
+ .table-danger,
115
+ .table-info,
116
+ .table-light {
117
+ --#{$prefix}table-color: #{$body-color};
118
+ }
119
+
120
+ // Forms
121
+
122
+ .input-group-text {
123
+ box-shadow: $box-shadow;
124
+ }
125
+
126
+ // Navs
127
+
128
+ .nav-tabs {
129
+ font-weight: 500;
130
+
131
+ .nav-link {
132
+ padding-top: 1rem;
133
+ padding-bottom: 1rem;
134
+ border-width: 0 0 1px;
135
+ }
136
+
137
+ .nav-link.active,
138
+ .nav-item.show .nav-link {
139
+ box-shadow: inset 0 -2px 0 $primary;
140
+ }
141
+ }
142
+
143
+ .nav-pills {
144
+ font-weight: 500;
145
+ }
146
+
147
+ .pagination {
148
+ font-size: $font-size-sm;
149
+ font-weight: 500;
150
+
151
+ .page-link {
152
+ box-shadow: $box-shadow;
153
+ }
154
+ }
155
+
156
+ .breadcrumb {
157
+ font-size: $font-size-sm;
158
+ font-weight: 500;
159
+ border: 1px solid var(--bs-secondary-bg);
160
+ border-radius: $border-radius;
161
+ box-shadow: $box-shadow;
162
+
163
+ &-item {
164
+ padding: 1rem .5rem 1rem 0;
165
+ }
166
+ }
167
+
168
+ .breadcrumb-item + .breadcrumb-item::before {
169
+ padding-right: 1rem;
170
+ }
171
+
172
+ // Indicators
173
+
174
+ .alert {
175
+ .btn-close {
176
+ color: inherit;
177
+ }
178
+ }
179
+
180
+ .badge {
181
+ &.bg-secondary,
182
+ &.bg-light {
183
+ color: $gray-900;
184
+ }
185
+ }
186
+
187
+ // Containers
188
+
189
+ .list-group-item,
190
+ .card {
191
+ h1,
192
+ h2,
193
+ h3,
194
+ h4,
195
+ h5,
196
+ h6,
197
+ .h1,
198
+ .h2,
199
+ .h3,
200
+ .h4,
201
+ .h5,
202
+ .h6 {
203
+ color: inherit;
204
+ }
205
+ }
206
+
207
+ .list-group {
208
+ box-shadow: $box-shadow-lg;
209
+ }
210
+
211
+ .card {
212
+ box-shadow: $box-shadow-lg;
213
+ }
214
+
215
+ .modal-footer {
216
+ background-color: var(--bs-tertiary-bg);
217
+ }
218
+
219
+ .modal-content {
220
+ box-shadow: $box-shadow-lg;
221
+ }
@@ -0,0 +1,157 @@
1
+ // XA Zephyr Orange
2
+ // Bootswatch
3
+
4
+ $theme: "xa-zephyr-orange" !default;
5
+
6
+ //
7
+ // Color system
8
+ //
9
+
10
+ $white: #fff !default;
11
+ $gray-100: #f8f9fa !default;
12
+ $gray-200: #e9ecef !default;
13
+ $gray-300: #dee2e6 !default;
14
+ $gray-400: #ced4da !default;
15
+ $gray-500: #adb5bd !default;
16
+ $gray-600: #6c757d !default;
17
+ $gray-700: #495057 !default;
18
+ $gray-800: #343a40 !default;
19
+ $gray-900: #212529 !default;
20
+ $black: #000 !default;
21
+
22
+ $blue: #3459e6 !default;
23
+ $indigo: #6610f2 !default;
24
+ $purple: #6f42c1 !default;
25
+ $pink: #d63384 !default;
26
+ $red: #da292e !default;
27
+ $orange: #f8765f !default;
28
+ $yellow: #f4bd61 !default;
29
+ $green: #2fb380 !default;
30
+ $teal: #20c997 !default;
31
+ $cyan: #287bb5 !default;
32
+
33
+ $primary: #f96302 !default;
34
+ $secondary: $white !default;
35
+ $success: $green !default;
36
+ $info: $cyan !default;
37
+ $warning: $yellow !default;
38
+ $danger: $red !default;
39
+ $light: $gray-100 !default;
40
+ $dark: $gray-800 !default;
41
+
42
+ $min-contrast-ratio: 1.65 !default;
43
+
44
+ $enable-shadows: true !default;
45
+
46
+ // Body
47
+
48
+ $body-color: $gray-700 !default;
49
+
50
+ $headings-color: var(--bs-primary-color) !default;
51
+
52
+ // Fonts
53
+
54
+ // stylelint-disable-next-line value-keyword-case
55
+ $font-family-sans-serif: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
56
+ $font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
57
+ $font-size-sm: $font-size-base * .875 !default;
58
+
59
+ // Components
60
+
61
+ $box-shadow: 0 1px 2px rgba($black, .05) !default;
62
+ $box-shadow-lg: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06) !default;
63
+
64
+ // Tables
65
+
66
+ $table-color: initial !default;
67
+
68
+ $table-cell-padding-y: 1rem !default;
69
+ $table-cell-padding-x: 1rem !default;
70
+ $table-cell-padding-y-sm: .5rem !default;
71
+ $table-cell-padding-x-sm: .5rem !default;
72
+
73
+ $table-th-font-weight: 500 !default;
74
+
75
+ // Buttons + Forms
76
+
77
+ $input-btn-padding-y: .5rem !default;
78
+ $input-btn-padding-x: 1rem !default;
79
+ $input-btn-font-size: $font-size-sm !default;
80
+
81
+ // Buttons
82
+
83
+ $btn-font-weight: 500 !default;
84
+ $btn-box-shadow: $box-shadow !default;
85
+ $btn-focus-box-shadow: $box-shadow !default;
86
+ $btn-active-box-shadow: $box-shadow !default;
87
+
88
+ // Forms
89
+
90
+ $form-label-font-weight: 500 !default;
91
+
92
+ $input-box-shadow: $box-shadow !default;
93
+
94
+ // Navs
95
+
96
+ $nav-link-color: $body-color !default;
97
+ $nav-link-hover-color: $body-color !default;
98
+
99
+ $nav-tabs-border-radius: 0 !default;
100
+ $nav-tabs-link-active-color: $primary !default;
101
+
102
+ // Navbar
103
+
104
+ $navbar-padding-y: .85rem !default;
105
+
106
+ $navbar-nav-link-padding-x: .75rem !default;
107
+
108
+ // Dropdowns
109
+
110
+ $dropdown-font-size: $font-size-sm !default;
111
+ $dropdown-border-color: $gray-300 !default;
112
+ $dropdown-divider-bg: $gray-200 !default;
113
+
114
+ $dropdown-link-hover-color: $white !default;
115
+ $dropdown-link-hover-bg: $primary !default;
116
+
117
+ $dropdown-item-padding-y: .5rem !default;
118
+ $dropdown-item-padding-x: 1rem !default;
119
+
120
+ // Pagination
121
+
122
+ $pagination-padding-y: .5rem !default;
123
+ $pagination-padding-x: 1rem !default;
124
+
125
+ $pagination-color: var(--bs-primary-bg) !default;
126
+
127
+ $pagination-focus-color: $pagination-color !default;
128
+
129
+ $pagination-hover-color: $pagination-color !default;
130
+ $pagination-hover-bg: var(--bs-secondary-bg) !default;
131
+
132
+ $pagination-disabled-color: var(--bs-tertiary-color) !default;
133
+ $pagination-disabled-bg: var(--bs-tertiary-bg) !default;
134
+
135
+ // Cards
136
+ $card-spacer-x: 1.5rem !default;
137
+ $card-cap-padding-y: 1rem !default;
138
+ $card-cap-padding-x: 1.5rem !default;
139
+
140
+ // Toasts
141
+
142
+ $toast-header-color: $headings-color !default;
143
+
144
+ // Modals
145
+
146
+ $modal-header-border-width: 0 !default;
147
+
148
+ // List group
149
+
150
+ $list-group-item-padding-y: 1rem !default;
151
+ $list-group-item-padding-x: 1.5rem !default;
152
+
153
+ // Breadcrumbs
154
+
155
+ $breadcrumb-padding-x: 1rem !default;
156
+
157
+ $breadcrumb-divider: quote(">") !default;