Skip to content

Commit 591bae8

Browse files
committed
Update to bslib 0.5.1
1 parent 04fb5e4 commit 591bae8

2 files changed

Lines changed: 104 additions & 106 deletions

File tree

‎configuration‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export TYPST=0.8.0
1717

1818
# Bootstrap dependencies from bslib
1919
# (use commit hash from bslib repo)
20-
export BOOTSTRAP=ff3e498179a066043ceb8f2cb3188f10d0d6ebc4
20+
export BOOTSTRAP=dba137ff7fa0b4ee9dfcd77d8982ce5dd7e7214d # 0.5.1
2121
export BOOTSTRAP_FONT=1.11.1
2222
export BOOTSWATCH=5.3.1
2323

‎src/resources/formats/html/bootstrap/themes/sketchy.scss‎

Lines changed: 103 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ $theme: "sketchy" !default;
66
// Color system
77
//
88

9-
$white: #fff !default;
9+
$white: #fff !default;
1010
$gray-100: #f8f9fa !default;
1111
$gray-200: #f7f7f9 !default;
1212
$gray-300: #dee2e6 !default;
@@ -16,151 +16,153 @@ $gray-600: #868e96 !default;
1616
$gray-700: #555 !default;
1717
$gray-800: #333 !default;
1818
$gray-900: #212529 !default;
19-
$black: #000 !default;
20-
21-
$blue: #007bff !default;
22-
$indigo: #6610f2 !default;
23-
$purple: #6f42c1 !default;
24-
$pink: #e83e8c !default;
25-
$red: #dc3545 !default;
26-
$orange: #fd7e14 !default;
27-
$yellow: #ffc107 !default;
28-
$green: #28a745 !default;
29-
$teal: #20c997 !default;
30-
$cyan: #17a2b8 !default;
31-
32-
$primary: $gray-800 !default;
33-
$secondary: $gray-700 !default;
34-
$success: $green !default;
35-
$info: $cyan !default;
36-
$warning: $yellow !default;
37-
$danger: $red !default;
38-
$light: $white !default;
39-
$dark: $gray-700 !default;
40-
41-
$min-contrast-ratio: 1.6 !default;
19+
$black: #000 !default;
20+
21+
$blue: #007bff !default;
22+
$indigo: #6610f2 !default;
23+
$purple: #6f42c1 !default;
24+
$pink: #e83e8c !default;
25+
$red: #dc3545 !default;
26+
$orange: #fd7e14 !default;
27+
$yellow: #ffc107 !default;
28+
$green: #28a745 !default;
29+
$teal: #20c997 !default;
30+
$cyan: #17a2b8 !default;
31+
32+
$primary: $gray-800 !default;
33+
$secondary: $gray-700 !default;
34+
$success: $green !default;
35+
$info: $cyan !default;
36+
$warning: $yellow !default;
37+
$danger: $red !default;
38+
$light: $white !default;
39+
$dark: $gray-700 !default;
40+
41+
$min-contrast-ratio: 1.6 !default;
4242

4343
// Links
4444

45-
$link-decoration: underline !default;
45+
$link-decoration: underline !default;
4646

4747
// Components
4848

49-
$border-width: 2px !default;
50-
$border-radius: 25px !default;
51-
$border-radius-lg: 35px !default;
52-
$border-radius-sm: 15px !default;
49+
$border-width: 2px !default;
50+
$border-radius: 25px !default;
51+
$border-radius-lg: 35px !default;
52+
$border-radius-sm: 15px !default;
5353

5454
// Fonts
5555

5656
// stylelint-disable-next-line value-keyword-case
57-
$font-family-sans-serif: Neucha, -apple-system, system-ui, BlinkMacSystemFont,
58-
"Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !default;
59-
$font-weight-base: 700 !default;
60-
$headings-font-family: "Cabin Sketch", cursive !default;
57+
$font-family-sans-serif: Neucha, -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !default;
58+
$font-weight-base: 700 !default;
59+
$headings-font-family: "Cabin Sketch", cursive !default;
6160

62-
$blockquote-small-color: $gray-800 !default;
61+
$blockquote-small-color: $gray-800 !default;
6362

6463
// Tables
6564

66-
$table-hover-bg: $white !default;
67-
$table-border-width: 2px !default;
68-
$table-border-color: $gray-800 !default;
65+
$table-hover-bg: $white !default;
66+
$table-border-width: 2px !default;
67+
$table-border-color: $gray-800 !default;
6968

7069
// Forms
7170

72-
$input-border-color: $gray-800 !default;
73-
$input-focus-border-color: $input-border-color !default;
71+
$input-border-color: $gray-800 !default;
72+
$input-focus-border-color: $input-border-color !default;
7473

7574
// Dropdowns
7675

77-
$dropdown-border-color: $gray-800 !default;
78-
$dropdown-divider-bg: $gray-800 !default;
79-
$dropdown-link-hover-color: $white !default;
80-
$dropdown-link-hover-bg: $gray-800 !default;
76+
$dropdown-border-color: $gray-800 !default;
77+
$dropdown-divider-bg: $gray-800 !default;
78+
$dropdown-link-hover-color: $white !default;
79+
$dropdown-link-hover-bg: $gray-800 !default;
8180

8281
// Navs
8382

84-
$nav-tabs-border-color: $gray-800 !default;
85-
$nav-tabs-link-hover-border-color: $gray-800 !default;
86-
$nav-tabs-link-active-color: $gray-800 !default;
83+
$nav-tabs-border-color: $gray-800 !default;
84+
$nav-tabs-link-hover-border-color: $gray-800 !default;
85+
$nav-tabs-link-active-color: $gray-800 !default;
8786
$nav-tabs-link-active-border-color: $gray-800 !default;
8887

8988
// Navbar
9089

91-
$navbar-dark-color: $white !default;
92-
$navbar-dark-hover-color: $white !default;
93-
$navbar-dark-toggler-border-color: $white !default;
94-
$navbar-light-color: $gray-800 !default;
95-
$navbar-light-hover-color: $gray-800 !default;
96-
$navbar-light-active-color: $gray-800 !default;
90+
$navbar-dark-color: $white !default;
91+
$navbar-dark-hover-color: $white !default;
92+
$navbar-dark-toggler-border-color: $white !default;
93+
$navbar-light-color: $gray-800 !default;
94+
$navbar-light-hover-color: $gray-800 !default;
95+
$navbar-light-active-color: $gray-800 !default;
9796
$navbar-light-toggler-border-color: $gray-800 !default;
9897

9998
// Pagination
10099

101-
$pagination-border-color: $gray-800 !default;
102-
$pagination-hover-color: $white !default;
103-
$pagination-hover-bg: $gray-800 !default;
104-
$pagination-hover-border-color: $gray-800 !default;
105-
$pagination-disabled-color: $gray-400 !default;
106-
$pagination-disabled-border-color: $gray-800 !default;
100+
$pagination-border-color: $gray-800 !default;
101+
$pagination-hover-color: $white !default;
102+
$pagination-hover-bg: $gray-800 !default;
103+
$pagination-hover-border-color: $gray-800 !default;
104+
$pagination-disabled-color: $gray-400 !default;
105+
$pagination-disabled-border-color: $gray-800 !default;
107106

108107
// Cards
109108

110-
$card-border-width: 2px !default;
111-
$card-border-color: $gray-800 !default;
109+
$card-border-width: 2px !default;
110+
$card-border-color: $gray-800 !default;
112111

113112
// Popovers
114113

115-
$popover-border-color: $gray-800 !default;
114+
$popover-border-color: $gray-800 !default;
116115

117116
// Badges
118117

119-
$badge-padding-y: 0.5em !default;
120-
$badge-padding-x: 1.2em !default;
118+
$badge-padding-y: .5em !default;
119+
$badge-padding-x: 1.2em !default;
121120

122121
// Toasts
123122

124-
$toast-border-width: 2px !default;
125-
$toast-border-color: $gray-800 !default;
126-
$toast-header-color: $gray-800 !default;
127-
$toast-header-border-color: $toast-border-color !default;
123+
$toast-border-width: 2px !default;
124+
$toast-border-color: $gray-800 !default;
125+
$toast-header-color: $gray-800 !default;
126+
$toast-header-border-color: $toast-border-color !default;
128127

129128
// Modals
130129

131-
$modal-content-border-color: $gray-800 !default;
132-
$modal-header-border-color: $gray-800 !default;
130+
$modal-content-border-color: $gray-800 !default;
131+
$modal-header-border-color: $gray-800 !default;
133132

134133
// Progress bars
135134

136-
$progress-bg: $white !default;
137-
$progress-bar-bg: $gray-400 !default;
135+
$progress-bg: $white !default;
136+
$progress-bar-bg: $gray-400 !default;
138137

139138
// List group
140139

141-
$list-group-border-color: $gray-800 !default;
142-
$list-group-hover-bg: $gray-300 !default;
143-
$list-group-active-color: $white !default;
144-
$list-group-active-bg: $gray-800 !default;
145-
$list-group-action-color: $gray-800 !default;
140+
$list-group-border-color: $gray-800 !default;
141+
$list-group-hover-bg: $gray-300 !default;
142+
$list-group-active-color: $white !default;
143+
$list-group-active-bg: $gray-800 !default;
144+
$list-group-action-color: $gray-800 !default;
146145

147146
// Breadcrumbs
148147

149-
$breadcrumb-padding-y: 0.375rem !default;
150-
$breadcrumb-padding-x: 0.75rem !default;
151-
$breadcrumb-divider-color: $gray-800 !default;
152-
$breadcrumb-active-color: $gray-800 !default;
153-
$breadcrumb-border-radius: 0.25rem !default;
148+
$breadcrumb-padding-y: .375rem !default;
149+
$breadcrumb-padding-x: .75rem !default;
150+
$breadcrumb-divider-color: $gray-800 !default;
151+
$breadcrumb-active-color: $gray-800 !default;
152+
$breadcrumb-border-radius: .25rem !default;
154153

155154
// Close
156155

157-
$btn-close-color: inherit !default;
158-
$btn-close-opacity: 1 !default;
159-
$btn-close-hover-opacity: 1 !default;
160-
$btn-close-focus-shadow: none !default;
156+
$btn-close-color: inherit !default;
157+
$btn-close-opacity: 1 !default;
158+
$btn-close-hover-opacity: 1 !default;
159+
$btn-close-focus-shadow: none !default;
160+
161+
161162

162163
/*-- scss:rules --*/
163164

165+
164166
// Variables
165167

166168
$web-font-path: "https://fonts.googleapis.com/css?family=Neucha|Cabin+Sketch&display=swap" !default;
@@ -169,7 +171,7 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Neucha|Cabin+Sketch&dis
169171
}
170172

171173
// stylelint-disable scss/dollar-variable-default
172-
$border-radius-sketchy: 255px 25px 225px 25px / 25px 225px 25px 255px;
174+
$border-radius-sketchy: 255px 25px 225px 25px / 25px 225px 25px 255px;
173175
$border-radius-lg-sketchy: 55px 225px 15px 25px / 25px 25px 35px 355px;
174176
$border-radius-sm-sketchy: 255px 25px 225px 25px / 25px 225px 25px 255px;
175177
// style-enable scss/dollar-variable-default
@@ -312,6 +314,7 @@ table {
312314
}
313315
}
314316

317+
315318
// Forms
316319

317320
input,
@@ -327,9 +330,7 @@ select.form-control {
327330
border-radius: $border-radius-lg-sketchy !important;
328331
}
329332

330-
[type="checkbox"],
331-
#{$shiny-check} input,
332-
#{$shiny-check-inline} input {
333+
[type="checkbox"], #{$shiny-check} input, #{$shiny-check-inline} input {
333334
position: relative;
334335
width: 0;
335336
height: 0;
@@ -343,7 +344,7 @@ select.form-control {
343344

344345
&::before {
345346
position: absolute;
346-
top: -0.1em;
347+
top: -.1em;
347348
left: 0;
348349
display: inline-block;
349350
width: 15px;
@@ -354,15 +355,15 @@ select.form-control {
354355
}
355356

356357
&:focus::before {
357-
box-shadow: 0 0 0 0.25rem rgb(51, 51, 51, 0.25);
358+
box-shadow: 0 0 0 .25rem rgb(51, 51, 51 / 25%);
358359
}
359360

360361
&:checked::after {
361362
position: absolute;
362363
top: 0;
363-
left: 0.1em;
364+
left: .1em;
364365
font-size: 1.5rem;
365-
line-height: 0.5;
366+
line-height: .5;
366367
color: $gray-800;
367368
content: "x";
368369
}
@@ -374,9 +375,7 @@ select.form-control {
374375
}
375376
}
376377

377-
[type="radio"],
378-
#{$shiny-radio} input,
379-
#{$shiny-radio-inline} input {
378+
[type="radio"], #{$shiny-radio} input, #{$shiny-radio-inline} input {
380379
position: relative;
381380
width: 0;
382381
height: 0;
@@ -390,7 +389,7 @@ select.form-control {
390389

391390
&::before {
392391
position: absolute;
393-
top: -0.1em;
392+
top: -.1em;
394393
left: 0;
395394
display: inline-block;
396395
width: 16px;
@@ -401,7 +400,7 @@ select.form-control {
401400
}
402401

403402
&:focus::before {
404-
box-shadow: 0 0 0 0.25rem rgb(51, 51, 51, 0.25);
403+
box-shadow: 0 0 0 .25rem rgb(51, 51, 51 / 25%);
405404
}
406405

407406
&:checked::before {
@@ -415,10 +414,7 @@ select.form-control {
415414
}
416415
}
417416

418-
#{$shiny-check},
419-
#{$shiny-check-inline},
420-
#{$shiny-radio},
421-
#{$shiny-radio-inline} {
417+
#{$shiny-check}, #{$shiny-check-inline}, #{$shiny-radio}, #{$shiny-radio-inline} {
422418
span {
423419
padding-left: 1rem;
424420
}
@@ -453,7 +449,7 @@ select.form-control {
453449
background-color: $white;
454450
border: 2px solid #333;
455451
border-radius: 50% 45% 40% 50% / 40% 50% 50% 45%;
456-
transition: left 0.15s ease-in-out;
452+
transition: left .15s ease-in-out;
457453
}
458454

459455
&:checked::after {
@@ -464,7 +460,7 @@ select.form-control {
464460
}
465461

466462
.form-check-label {
467-
margin-left: 0.5em;
463+
margin-left: .5em;
468464
}
469465
}
470466

@@ -648,7 +644,7 @@ pre {
648644

649645
&::before {
650646
position: absolute;
651-
top: 0.8rem;
647+
top: .8rem;
652648
right: 1rem;
653649
content: "X";
654650
}
@@ -659,3 +655,5 @@ pre {
659655
border-radius: $border-radius-sketchy;
660656
}
661657
}
658+
659+

0 commit comments

Comments
 (0)