xa-bootswatch 5.3.22 → 5.3.23

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
@@ -34,6 +34,10 @@ Compile specify theme using command `grunt swatch:xa-minty --force`
34
34
 
35
35
  ## Change log
36
36
 
37
+ 26'
38
+ ### 5.3.23-release
39
+ - added `xa-lux` theme
40
+
37
41
  25'
38
42
  ### 5.3.22-release
39
43
  - `xa-minty`: improvements for table styles
@@ -0,0 +1,247 @@
1
+ // Lux 5.3.5
2
+ // Bootswatch
3
+
4
+
5
+ // Variables
6
+
7
+ $web-font-path: "https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@200;300;400;500;600;700&display=swap" !default;
8
+ @if $web-font-path {
9
+ @import url("#{$web-font-path}");
10
+ }
11
+
12
+ :root {
13
+ --bs-border-width: 0;
14
+ }
15
+
16
+ // Navbar
17
+
18
+ .navbar {
19
+ font-size: $font-size-sm;
20
+ font-weight: 600;
21
+ text-transform: uppercase;
22
+
23
+ &-nav {
24
+ .nav-link {
25
+ padding-top: .715rem;
26
+ padding-bottom: .715rem;
27
+ }
28
+ }
29
+
30
+ &-brand {
31
+ margin-right: 2rem;
32
+ }
33
+ }
34
+
35
+ .bg-light {
36
+ border: 1px solid rgba(0, 0, 0, .1);
37
+
38
+ &.navbar-fixed-top {
39
+ border-width: 0 0 1px;
40
+ }
41
+
42
+ &.navbar-bottom-top {
43
+ border-width: 1px 0 0;
44
+ }
45
+ }
46
+
47
+ .nav-item {
48
+ margin-right: 2rem;
49
+ }
50
+
51
+ // Buttons
52
+
53
+ .btn {
54
+ font-size: $font-size-sm;
55
+ text-transform: uppercase;
56
+
57
+ &-sm {
58
+ font-size: 10px;
59
+ }
60
+
61
+ &-warning {
62
+ &,
63
+ &:hover,
64
+ &:not([disabled]):not(.disabled):active,
65
+ &:focus {
66
+ color: $white;
67
+ }
68
+ }
69
+ }
70
+
71
+ .btn-outline-secondary {
72
+ color: $gray-600;
73
+ border-color: $gray-600;
74
+
75
+ &.disabled,
76
+ &:disabled,
77
+ fieldset:disabled & {
78
+ color: $gray-600;
79
+ border-color: $gray-600;
80
+ }
81
+
82
+ &:not([disabled]):not(.disabled):hover,
83
+ &:not([disabled]):not(.disabled):focus,
84
+ &:not([disabled]):not(.disabled):active {
85
+ color: $white;
86
+ background-color: $gray-400;
87
+ border-color: $gray-400;
88
+ }
89
+
90
+ &:not([disabled]):not(.disabled):focus {
91
+ box-shadow: 0 0 0 .2rem rgba($gray-400, .5);
92
+ }
93
+ }
94
+
95
+ [class*="btn-outline-"] {
96
+ border-width: 2px;
97
+ }
98
+
99
+ .border-secondary {
100
+ border: 1px solid $gray-400 !important;
101
+ }
102
+
103
+ @include color-mode(dark) {
104
+ .btn-primary {
105
+ background-color: #080808;
106
+ }
107
+ }
108
+
109
+ // Typography
110
+
111
+ body {
112
+ letter-spacing: 1px;
113
+ }
114
+
115
+ h1,
116
+ h2,
117
+ h3,
118
+ h4,
119
+ h5,
120
+ h6 {
121
+ text-transform: uppercase;
122
+ letter-spacing: 3px;
123
+ }
124
+
125
+ .text-secondary {
126
+ color: $body-color !important;
127
+ }
128
+
129
+ // Tables
130
+
131
+ th {
132
+ font-size: $font-size-sm;
133
+ text-transform: uppercase;
134
+ }
135
+
136
+ .table {
137
+ th,
138
+ td {
139
+ padding: 1.5rem;
140
+ }
141
+
142
+ &-sm {
143
+ th,
144
+ td {
145
+ padding: .75rem;
146
+ }
147
+ }
148
+ }
149
+
150
+ .table-primary,
151
+ .table-secondary,
152
+ .table-success,
153
+ .table-warning,
154
+ .table-danger,
155
+ .table-info,
156
+ .table-light {
157
+ --#{$prefix}table-color: #{$body-color};
158
+ }
159
+
160
+ // Forms
161
+
162
+ @include color-mode(dark) {
163
+ .form-control {
164
+ color: $body-color;
165
+
166
+ &::placeholder {
167
+ color: $body-secondary-color;
168
+ }
169
+ }
170
+
171
+ .form-floating {
172
+ > label,
173
+ > .form-control:focus ~ label,
174
+ > .form-control:not(:placeholder-shown) ~ label,
175
+ > .form-control-plaintext ~ label,
176
+ > .form-select ~ label {
177
+ color: $body-secondary-color;
178
+ }
179
+
180
+ > .form-control::placeholder,
181
+ > .form-control-plaintext::placeholder {
182
+ color: transparent;
183
+ }
184
+ }
185
+
186
+ .form-check-input:checked {
187
+ background-color: $body-secondary-color;
188
+ }
189
+
190
+ .form-switch .form-check-input {
191
+ background-image: $form-switch-bg-image;
192
+ }
193
+
194
+ .form-range::-webkit-slider-thumb {
195
+ background-color: $gray-600;
196
+ }
197
+
198
+ .form-range:disabled::-webkit-slider-thumb {
199
+ background-color: $gray-800;
200
+ }
201
+
202
+ .input-group-text {
203
+ color: $body-secondary-color;
204
+ }
205
+ }
206
+
207
+ // Navs
208
+
209
+ .dropdown-menu {
210
+ font-size: $font-size-sm;
211
+ text-transform: none;
212
+ }
213
+
214
+ // Indicators
215
+
216
+ .badge {
217
+ padding-top: .28rem;
218
+
219
+ &-pill {
220
+ border-radius: 10rem;
221
+ }
222
+
223
+ &.bg-secondary,
224
+ &.bg-light {
225
+ color: $dark;
226
+ }
227
+ }
228
+
229
+ // Containers
230
+
231
+ .list-group-item,
232
+ .card {
233
+ h1,
234
+ h2,
235
+ h3,
236
+ h4,
237
+ h5,
238
+ h6,
239
+ .h1,
240
+ .h2,
241
+ .h3,
242
+ .h4,
243
+ .h5,
244
+ .h6 {
245
+ color: inherit;
246
+ }
247
+ }
@@ -0,0 +1,115 @@
1
+ // Lux 5.3.5
2
+ // Bootswatch
3
+
4
+ $theme: "lux" !default;
5
+
6
+ //
7
+ // Color system
8
+ //
9
+
10
+ $white: #fff !default;
11
+ $gray-100: #f8f9fa !default;
12
+ $gray-200: #f7f7f9 !default;
13
+ $gray-300: #eceeef !default;
14
+ $gray-400: #ced4da !default;
15
+ $gray-500: #adb5bd !default;
16
+ $gray-600: #919aa1 !default;
17
+ $gray-700: #55595c !default;
18
+ $gray-800: #343a40 !default;
19
+ $gray-900: #1a1a1a !default;
20
+ $black: #000 !default;
21
+
22
+ $blue: #007bff !default;
23
+ $indigo: #6610f2 !default;
24
+ $purple: #6f42c1 !default;
25
+ $pink: #e83e8c !default;
26
+ $red: #d9534f !default;
27
+ $orange: #fd7e14 !default;
28
+ $yellow: #f0ad4e !default;
29
+ $green: #4bbf73 !default;
30
+ $teal: #20c997 !default;
31
+ $cyan: #1f9bcf !default;
32
+
33
+ $primary: $gray-900 !default;
34
+ $secondary: $white !default;
35
+ $success: $green !default;
36
+ $info: $cyan !default;
37
+ $warning: $yellow !default;
38
+ $danger: $red !default;
39
+ $light: $white !default;
40
+ $dark: $gray-800 !default;
41
+
42
+ $min-contrast-ratio: 1.9 !default;
43
+
44
+ // Options
45
+
46
+ $enable-rounded: false !default;
47
+
48
+ // Body
49
+
50
+ $body-color: $gray-700 !default;
51
+
52
+ // Fonts
53
+
54
+ // stylelint-disable-next-line value-keyword-case
55
+ $font-family-sans-serif: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
56
+
57
+ $font-weight-lighter: lighter !default;
58
+ $font-weight-light: 200 !default;
59
+ $font-weight-normal: 300 !default;
60
+ $font-weight-medium: 400 !default;
61
+ $font-weight-semibold: 500 !default;
62
+ $font-weight-bold: 600 !default;
63
+ $font-weight-bolder: bolder !default;
64
+
65
+ $h1-font-size: 2rem !default;
66
+ $h2-font-size: 1.75rem !default;
67
+ $h3-font-size: 1.5rem !default;
68
+ $h4-font-size: 1.25rem !default;
69
+ $h5-font-size: 1rem !default;
70
+ $h6-font-size: .75rem !default;
71
+ $headings-font-weight: 600 !default;
72
+ $headings-color: $gray-900 !default;
73
+
74
+ // Tables
75
+
76
+ $table-color: initial !default;
77
+
78
+ $table-border-color: rgba(0, 0, 0, .05) !default;
79
+
80
+ // Buttons + Forms
81
+
82
+ // Buttons
83
+
84
+ $btn-line-height: 1.5rem !default;
85
+ $input-btn-padding-y: .75rem !default;
86
+ $input-btn-padding-x: 1.5rem !default;
87
+ $input-btn-padding-y-sm: .5rem !default;
88
+ $input-btn-padding-x-sm: 1rem !default;
89
+ $input-btn-padding-y-lg: 2rem !default;
90
+ $input-btn-padding-x-lg: 2rem !default;
91
+ $btn-font-weight: 600 !default;
92
+
93
+ // Forms
94
+
95
+ $input-line-height: 1.5 !default;
96
+ $input-bg: $gray-200 !default;
97
+ $input-disabled-bg: $gray-300 !default;
98
+ $input-group-addon-bg: $gray-300 !default;
99
+
100
+ $form-select-disabled-color: $gray-600 !default;
101
+ $form-select-disabled-bg: $input-disabled-bg !default;
102
+
103
+ // Navbar
104
+
105
+ $navbar-padding-y: 1.5rem !default;
106
+ $navbar-dark-hover-color: $white !default;
107
+ $navbar-light-color: rgba($black, .3) !default;
108
+ $navbar-light-hover-color: $gray-900 !default;
109
+ $navbar-light-active-color: $gray-900 !default;
110
+
111
+ // Pagination
112
+
113
+ $pagination-border-color: transparent !default;
114
+ $pagination-hover-border-color: $pagination-border-color !default;
115
+ $pagination-disabled-border-color: $pagination-border-color !default;