-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/v5.0.0' into main
# Conflicts: # README.md # package.json
- Loading branch information
Showing
99 changed files
with
10,837 additions
and
4,137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
node_modules | ||
npm-debug.log | ||
yarn.lock | ||
test/css/* | ||
_test/css/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
{ | ||
"extends": "stylelint-config-supple", | ||
"extends": "@supple-kit/stylelint-config-supple", | ||
"ignoreFiles": [ | ||
"test/css/*" | ||
], | ||
"rules": { | ||
"scss/at-function-pattern": "supple-.+", | ||
"scss/at-mixin-pattern": "supple-.+" | ||
} | ||
"_test/css/*", | ||
"vendor/**/*" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"[scss]": { | ||
"editor.formatOnSave": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* ========================================================================= | ||
components.css-lock | ||
Test for creating fluid typography with CSS-lock mixin. | ||
========================================================================= */ | ||
|
||
/* Use rules | ||
`@use` everything you need here from other files. Variables, mixins & | ||
other includes. | ||
========================================================================= */ | ||
|
||
@use '../../../tools/responsive'; | ||
|
||
|
||
|
||
/* Variables | ||
========================================================================= */ | ||
|
||
|
||
|
||
/* Functions/Mixins | ||
========================================================================= */ | ||
|
||
|
||
|
||
/* Module | ||
========================================================================= */ | ||
|
||
.c-css-lock { | ||
font-size: responsive.lock(20px, 30px, desk, wall); | ||
} | ||
|
||
.selector { | ||
font-size: responsive.lock(18px, 24px); | ||
} | ||
// You can also redefine the min- and max breakpoints like this | ||
.selector-defined-breakpoints { | ||
font-size: responsive.lock(20px, 30px, desk, wall); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/* ========================================================================= | ||
components.fixture-box | ||
========================================================================= */ | ||
|
||
/* Use/Forward rules | ||
`@use` or `@forward` everything you need here from other files. | ||
These can include variables, mixins & other includes. | ||
========================================================================= */ | ||
|
||
@use '../../../tools/space'; | ||
@use '../../../settings/defaults'; | ||
|
||
|
||
|
||
/* Variables | ||
========================================================================= */ | ||
|
||
|
||
|
||
/* Functions/Mixins | ||
========================================================================= */ | ||
|
||
|
||
|
||
/* Module | ||
========================================================================= */ | ||
|
||
.c-fixture-box { | ||
padding-inline-start: space.get('small'); | ||
padding-inline-end: space.get('small'); | ||
border: 1px solid #000000; | ||
background: #ee4266; | ||
line-height: 3rem; | ||
text-indent: 0; | ||
color: #ffffff; | ||
} | ||
|
||
.c-fixture-box--double-height { | ||
line-height: space.get('huge'); | ||
} | ||
|
||
.c-fixture-box--wrap { | ||
border: 1px solid #000000; | ||
background: rgba(238, 66, 102, 0.3); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
/* ========================================================================= | ||
components.test | ||
========================================================================= */ | ||
|
||
/* Use/Forward rules | ||
`@use` or `@forward` everything you need here from other files. | ||
Variables, mixins & other includes. | ||
========================================================================= */ | ||
|
||
@use '../../../tools/space'; | ||
@use '../../../tools/typography'; | ||
@use '../../../settings/defaults'; | ||
|
||
|
||
|
||
/* Variables | ||
========================================================================= */ | ||
|
||
|
||
|
||
/* Functions/Mixins | ||
========================================================================= */ | ||
|
||
|
||
|
||
/* Module | ||
========================================================================= */ | ||
|
||
.c-test { | ||
counter-reset: test__describe; | ||
} | ||
|
||
.c-test__title { | ||
@include typography.font-size(40px); | ||
margin-block-start: space.get('base'); | ||
margin-block-end: space.get('base'); | ||
padding: space.get('base'); | ||
color: #999999; | ||
background: #eeeeee; | ||
} | ||
|
||
.c-test__describe, | ||
.c-test__it { | ||
padding-block-start: space.get('small'); | ||
padding-block-end: space.get('small'); | ||
padding-inline-start: space.get('base'); | ||
padding-inline-end: space.get('base'); | ||
border-left: 5px solid #666666; | ||
font-weight: bold; | ||
color: #666666; | ||
background: #eeeeee; | ||
} | ||
|
||
.c-test__describe { | ||
@include typography.font-size(32px); | ||
margin-block-start: space.get('large'); | ||
margin-block-end: space.get('base'); | ||
counter-reset: test__it; | ||
|
||
&::before { | ||
content: counter(test__describe); | ||
counter-increment: test__describe; | ||
} | ||
} | ||
|
||
.c-test__it { | ||
@include typography.font-size(24px); | ||
margin-block-start: space.get('base'); | ||
margin-block-end: space.get('base'); | ||
|
||
&::before { | ||
content: counter(test__describe) '.' counter(test__it); | ||
counter-increment: test__it; | ||
} | ||
} | ||
|
||
|
||
.c-test__describe::before, | ||
.c-test__it::before { | ||
display: inline-block; | ||
margin-inline-end: space.get('base'); | ||
min-inline-size: space.get('large'); | ||
text-transform: uppercase; | ||
color: #999999; | ||
} | ||
|
||
|
||
.c-test__run { | ||
// empty for reference | ||
} | ||
|
||
.c-test__run--retained { | ||
max-inline-size: space.get('base') * 21; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* ========================================================================= | ||
elements.toplevel | ||
========================================================================= */ | ||
|
||
/* Use/Forward rules | ||
`@use` or `@forward` everything you need here from other files. | ||
These can include variables, mixins & other includes. | ||
========================================================================= */ | ||
|
||
@use '../../../tools/space'; | ||
@use '../../../settings/defaults'; | ||
|
||
|
||
|
||
/* Variables | ||
========================================================================= */ | ||
|
||
|
||
|
||
/* Functions/Mixins | ||
========================================================================= */ | ||
|
||
|
||
|
||
/* Module | ||
========================================================================= */ | ||
|
||
html { | ||
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif; | ||
} | ||
|
||
body { | ||
padding-inline-start: space.get('base'); | ||
padding-inline-end: space.get('base'); | ||
} |
Oops, something went wrong.