Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
extrabright committed Oct 9, 2023
1 parent c2800ab commit a7b801d
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 19 deletions.
2 changes: 1 addition & 1 deletion dist/main.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/main.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/utility.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/utility.css.map

Large diffs are not rendered by default.

11 changes: 8 additions & 3 deletions scss/extras/_article.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
> p {
margin-top: 1.25rem;
margin-bottom: 1.25rem;
}
}

> h2 {
@include font-size(1.5em);
Expand All @@ -24,6 +24,7 @@
margin-bottom: 1em;
line-height: 1.3333333;
letter-spacing: -.025em;
white-space: pre-wrap;

&:first-child {
margin-top: 1em;
Expand All @@ -35,6 +36,7 @@
font-weight: $font-weight-bold;
margin-top: 1.6em;
margin-bottom: .6em;
white-space: pre-wrap;
}

> h4 {
Expand Down Expand Up @@ -63,7 +65,10 @@
overflow-x: auto;
background-color: $dark;
color: color-contrast($dark);
max-width: 100%;
white-space: pre-wrap;
@include border-radius(var(--#{$prefix}article-pre-border-radius));

}

& > :first-child {
Expand Down Expand Up @@ -91,7 +96,7 @@
}

> blockquote {
font-weight: 500;
font-weight: 500;
@include font-size($font-size-lg);
color: $headings-color;
letter-spacing: -.012em;
Expand All @@ -104,6 +109,6 @@
> p {
margin-top: 1.5rem;
margin-bottom: 1.5rem;
}
}
}
}
35 changes: 24 additions & 11 deletions scss/utilities/_utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,17 +91,15 @@ $utilities: map-merge($utilities, (
responsive: true
),
),
"border-opacity": map-merge(
map-get($utilities, "border-opacity"),
"border-color": map-merge(
map-get($utilities, "border-color"),
(
state: hover,
values: (
0: 0,
10: .10,
25: .25,
50: .5,
75: .75,
100: 1,
responsive: true,
values: map-merge(
map-get(map-get($utilities, "border-color"), "values"),
(
$all-colors
)
)
),
),
Expand All @@ -114,10 +112,25 @@ $utilities: map-merge($utilities, (
)
),
"border-style": (
property: border-style,
css-var: true,
css-variable-name: border-style,
class: border,
values: solid dashed dotted none
),
"border-opacity": map-merge(
map-get($utilities, "border-opacity"),
(
state: hover,
values: (
0: 0,
10: .10,
25: .25,
50: .5,
75: .75,
100: 1,
)
),
),
"cursor": (
property: cursor,
class: cursor,
Expand Down
2 changes: 1 addition & 1 deletion scss/variables/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ $enable-rfs: true !default;
$enable-validation-icons: true !default;
$enable-negative-margins: true !default;
$enable-deprecation-messages: true !default;
$enable-important-utilities: true !default;
$enable-important-utilities: false !default;

// Prefix for :root CSS variables
$prefix: x- !default;
Expand Down

0 comments on commit a7b801d

Please sign in to comment.