Skip to content

Commit a7b801d

Browse files
committed
minor changes
1 parent c2800ab commit a7b801d

File tree

7 files changed

+37
-19
lines changed

7 files changed

+37
-19
lines changed

dist/main.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/utility.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/utility.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scss/extras/_article.scss

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
> p {
1616
margin-top: 1.25rem;
1717
margin-bottom: 1.25rem;
18-
}
18+
}
1919

2020
> h2 {
2121
@include font-size(1.5em);
@@ -24,6 +24,7 @@
2424
margin-bottom: 1em;
2525
line-height: 1.3333333;
2626
letter-spacing: -.025em;
27+
white-space: pre-wrap;
2728

2829
&:first-child {
2930
margin-top: 1em;
@@ -35,6 +36,7 @@
3536
font-weight: $font-weight-bold;
3637
margin-top: 1.6em;
3738
margin-bottom: .6em;
39+
white-space: pre-wrap;
3840
}
3941

4042
> h4 {
@@ -63,7 +65,10 @@
6365
overflow-x: auto;
6466
background-color: $dark;
6567
color: color-contrast($dark);
68+
max-width: 100%;
69+
white-space: pre-wrap;
6670
@include border-radius(var(--#{$prefix}article-pre-border-radius));
71+
6772
}
6873

6974
& > :first-child {
@@ -91,7 +96,7 @@
9196
}
9297

9398
> blockquote {
94-
font-weight: 500;
99+
font-weight: 500;
95100
@include font-size($font-size-lg);
96101
color: $headings-color;
97102
letter-spacing: -.012em;
@@ -104,6 +109,6 @@
104109
> p {
105110
margin-top: 1.5rem;
106111
margin-bottom: 1.5rem;
107-
}
112+
}
108113
}
109114
}

scss/utilities/_utilities.scss

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -91,17 +91,15 @@ $utilities: map-merge($utilities, (
9191
responsive: true
9292
),
9393
),
94-
"border-opacity": map-merge(
95-
map-get($utilities, "border-opacity"),
94+
"border-color": map-merge(
95+
map-get($utilities, "border-color"),
9696
(
97-
state: hover,
98-
values: (
99-
0: 0,
100-
10: .10,
101-
25: .25,
102-
50: .5,
103-
75: .75,
104-
100: 1,
97+
responsive: true,
98+
values: map-merge(
99+
map-get(map-get($utilities, "border-color"), "values"),
100+
(
101+
$all-colors
102+
)
105103
)
106104
),
107105
),
@@ -114,10 +112,25 @@ $utilities: map-merge($utilities, (
114112
)
115113
),
116114
"border-style": (
117-
property: border-style,
115+
css-var: true,
116+
css-variable-name: border-style,
118117
class: border,
119118
values: solid dashed dotted none
120119
),
120+
"border-opacity": map-merge(
121+
map-get($utilities, "border-opacity"),
122+
(
123+
state: hover,
124+
values: (
125+
0: 0,
126+
10: .10,
127+
25: .25,
128+
50: .5,
129+
75: .75,
130+
100: 1,
131+
)
132+
),
133+
),
121134
"cursor": (
122135
property: cursor,
123136
class: cursor,

scss/variables/_variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ $enable-rfs: true !default;
2727
$enable-validation-icons: true !default;
2828
$enable-negative-margins: true !default;
2929
$enable-deprecation-messages: true !default;
30-
$enable-important-utilities: true !default;
30+
$enable-important-utilities: false !default;
3131

3232
// Prefix for :root CSS variables
3333
$prefix: x- !default;

0 commit comments

Comments
 (0)