diff options
author | Matthew Lemon <y@yulqen.org> | 2024-10-15 21:01:31 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-10-15 21:01:31 +0100 |
commit | eeaddb27560d723ca7d61359744ceb2709fccd2d (patch) | |
tree | 04ddbc49ae7b73d5f5a9e1716d7227aecd3b9f85 /pyblackbird_cc/static/scss/tests/utilities/_api.test.scss | |
parent | 7a3044c859043837e6c7c95bb4894d04e9b2cbc2 (diff) |
Renamed from pyblackbird_cc to alphabetlearning - everywhere
Diffstat (limited to 'pyblackbird_cc/static/scss/tests/utilities/_api.test.scss')
-rw-r--r-- | pyblackbird_cc/static/scss/tests/utilities/_api.test.scss | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/pyblackbird_cc/static/scss/tests/utilities/_api.test.scss b/pyblackbird_cc/static/scss/tests/utilities/_api.test.scss deleted file mode 100644 index 304d8d1..0000000 --- a/pyblackbird_cc/static/scss/tests/utilities/_api.test.scss +++ /dev/null @@ -1,75 +0,0 @@ -@import "../../functions"; -@import "../../variables"; -@import "../../variables-dark"; -@import "../../maps"; -@import "../../mixins"; - -$utilities: (); - -@include describe("utilities/api") { - @include it("generates utilities for each breakpoints") { - $utilities: ( - margin: ( - property: margin, - values: auto - ), - padding: ( - property: padding, - responsive: true, - values: 1rem - ), - font-size: ( - property: font-size, - values: (large: 1.25rem), - print: true - ) - ) !global; - - $grid-breakpoints: ( - xs: 0, - sm: 333px, - md: 666px - ) !global; - - @include assert() { - @include output() { - @import "../../utilities/api"; - } - - @include expect() { - // margin is not set to responsive - .margin-auto { - margin: auto !important; - } - - // padding is, though - .padding-1rem { - padding: 1rem !important; - } - - .font-size-large { - font-size: 1.25rem !important; - } - - @media (min-width: 333px) { - .padding-sm-1rem { - padding: 1rem !important; - } - } - - @media (min-width: 666px) { - .padding-md-1rem { - padding: 1rem !important; - } - } - - @media print { - .font-size-print-large { - font-size: 1.25rem !important; - } - } - } - - } - } -} |