Skip to content

Commit 94c4df0

Browse files
b243
1 parent 23175eb commit 94c4df0

File tree

5 files changed

+17
-22
lines changed

5 files changed

+17
-22
lines changed

dist/punica.min.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.

src/Modules/Components/Card/Card.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@
7676
} @else if theme('type') == 'dark' {
7777
color: lighten(color.$grey, 20%);
7878
}
79-
flex: 1 1 auto;
8079
}
8180
}
8281
>.#{class('card', 'title')},

src/Modules/Elements/Base/Base.scss

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ a {
7272
}
7373
}
7474
/// Headers
75-
@each $header, $font-size, $responsive-size in elements('typography', 'headers') {
75+
@each $header, $font-size in elements('typography', 'headers') {
7676
#{$header} {
7777
margin-top : elements('typography', 'header', 'margin-top');
7878
color : elements('typography', 'header', 'color');
@@ -83,7 +83,7 @@ a {
8383
}
8484
#{$header},
8585
.#{$header} {
86-
font-size : $font-size;
86+
font-size : #{$font-size};
8787
font-weight: bold;
8888
}
8989
#{$header}.divided,
@@ -92,12 +92,6 @@ a {
9292
padding-bottom: elements('typography', 'divided-header', 'padding-bottom');
9393
margin-bottom : elements('typography', 'divided-header', 'margin-bottom');
9494
}
95-
@include breakpoints(elements('grid', 'breakpoints', 'medium'), 'max-width') {
96-
#{$header},
97-
.#{$header} {
98-
font-size: $responsive-size;
99-
}
100-
}
10195
}
10296
p {
10397
margin : elements('typography', 'paragraph', 'margin');

src/options.scss

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1361,33 +1361,27 @@ $options: (
13611361
'headers': (
13621362
(
13631363
"h1", // class name
1364-
2em, // font-size
1365-
1.7em // responsive font-size
1364+
clamp(1.6rem, 2.34vw + .75rem, 2.05rem) // font-size
13661365
),
13671366
(
13681367
"h2", // class name
1369-
1.8em, // font-size
1370-
1.5em // responsive font-size
1368+
clamp(1.47rem, 2.34vw + .7rem, 1.85rem) // font-size
13711369
),
13721370
(
13731371
"h3", // class name
1374-
1.6em, // font-size
1375-
1.3em // responsive font-size
1372+
clamp(1.33rem, 2.34vw + .65rem, 1.65rem) // font-size
13761373
),
13771374
(
13781375
"h4", // class name
1379-
1.4em, // font-size
1380-
1.1em // responsive font-size
1376+
clamp(1.2rem, 2.34vw + .6rem, 1.45rem) // font-size
13811377
),
13821378
(
13831379
"h5", // class name
1384-
1.2em, // font-size
1385-
.9em // responsive font-size
1380+
clamp(1rem, 2.34vw + .55rem, 1.3rem), // font-size
13861381
),
13871382
(
13881383
"h6", // class name
1389-
1em, // font-size
1390-
inherit // responsive font-size
1384+
clamp(.95rem, 2.34vw + .5rem, 1.15rem) // font-size
13911385
)
13921386
)
13931387
)

src/utilities.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -720,6 +720,7 @@ $helpers: (
720720
(160, 10rem), // 160px
721721
(200, 12.5rem), // 200px
722722
(240, 15rem), // 240px
723+
(280, 17.5rem), // 280px
723724
(320, 20rem), // 320px
724725
(400, 25rem), // 400px
725726
(480, 30rem), // 480px
@@ -917,6 +918,9 @@ $helpers: (
917918
(150, 9.375rem), // 150px
918919
(175, 10.938rem), // 175px
919920
(200, 12.5rem), // 200px
921+
(240, 15rem), // 240px
922+
(280, 17.5rem), // 280px
923+
(320, 20rem) // 320px
920924
),
921925
'variables': (
922926
// infix, property
@@ -1149,6 +1153,9 @@ $helpers: (
11491153
(150, 9.375rem), // 150px
11501154
(175, 10.938rem), // 175px
11511155
(200, 12.5rem), // 200px
1156+
(240, 15rem), // 240px
1157+
(280, 17.5rem), // 280px
1158+
(320, 20rem) // 320px
11521159
),
11531160
'variables': (
11541161
// infix, property
@@ -1399,6 +1406,7 @@ $helpers: (
13991406
(160, 10rem), // 160px
14001407
(200, 12.5rem), // 200px
14011408
(240, 15rem), // 240px
1409+
(280, 17.5rem), // 280px
14021410
(320, 20rem), // 320px
14031411
(400, 25rem), // 400px
14041412
(480, 30rem), // 480px

0 commit comments

Comments
 (0)