Add multiple Sass tests

This commit is contained in:
Jeremy Thomas
2020-03-16 13:29:44 +11:00
parent 4b2bc0018a
commit f75ae3db01
17 changed files with 18757 additions and 71 deletions

6964
test/css/bulma.css vendored Normal file

File diff suppressed because it is too large Load Diff

6959
test/css/css-variable.css Normal file

File diff suppressed because it is too large Load Diff

3811
test/css/customize.css Normal file

File diff suppressed because it is too large Load Diff

898
test/css/only-base.css Normal file
View File

@@ -0,0 +1,898 @@
@keyframes spinAround {
from {
transform: rotate(0deg); }
to {
transform: rotate(359deg); } }
.is-unselectable {
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }
.is-overlay {
bottom: 0;
left: 0;
position: absolute;
right: 0;
top: 0; }
/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */
html,
body,
p,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
legend,
textarea,
pre,
iframe,
hr,
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0;
padding: 0; }
h1,
h2,
h3,
h4,
h5,
h6 {
font-size: 100%;
font-weight: normal; }
ul {
list-style: none; }
button,
input,
select,
textarea {
margin: 0; }
html {
box-sizing: border-box; }
*, *::before, *::after {
box-sizing: inherit; }
img,
video {
height: auto;
max-width: 100%; }
iframe {
border: 0; }
table {
border-collapse: collapse;
border-spacing: 0; }
td,
th {
padding: 0; }
td:not([align]),
th:not([align]) {
text-align: left; }
html {
background-color: white;
font-size: 16px;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
min-width: 300px;
overflow-x: hidden;
overflow-y: scroll;
text-rendering: optimizeLegibility;
text-size-adjust: 100%; }
article,
aside,
figure,
footer,
header,
hgroup,
section {
display: block; }
body,
button,
input,
select,
textarea {
font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif; }
code,
pre {
-moz-osx-font-smoothing: auto;
-webkit-font-smoothing: auto;
font-family: monospace; }
body {
color: #4a4a4a;
font-size: 1em;
font-weight: 400;
line-height: 1.5; }
a {
color: #3273dc;
cursor: pointer;
text-decoration: none; }
a strong {
color: currentColor; }
a:hover {
color: #363636; }
code {
background-color: whitesmoke;
color: #f14668;
font-size: 0.875em;
font-weight: normal;
padding: 0.25em 0.5em 0.25em; }
hr {
background-color: whitesmoke;
border: none;
display: block;
height: 2px;
margin: 1.5rem 0; }
img {
height: auto;
max-width: 100%; }
input[type="checkbox"],
input[type="radio"] {
vertical-align: baseline; }
small {
font-size: 0.875em; }
span {
font-style: inherit;
font-weight: inherit; }
strong {
color: #363636;
font-weight: 700; }
fieldset {
border: none; }
pre {
-webkit-overflow-scrolling: touch;
background-color: whitesmoke;
color: #4a4a4a;
font-size: 0.875em;
overflow-x: auto;
padding: 1.25rem 1.5rem;
white-space: pre;
word-wrap: normal; }
pre code {
background-color: transparent;
color: currentColor;
font-size: 1em;
padding: 0; }
table td,
table th {
vertical-align: top; }
table td:not([align]),
table th:not([align]) {
text-align: left; }
table th {
color: #363636; }
.is-clearfix::after {
clear: both;
content: " ";
display: table; }
.is-pulled-left {
float: left !important; }
.is-pulled-right {
float: right !important; }
.is-clipped {
overflow: hidden !important; }
.is-size-1 {
font-size: 3rem !important; }
.is-size-2 {
font-size: 2.5rem !important; }
.is-size-3 {
font-size: 2rem !important; }
.is-size-4 {
font-size: 1.5rem !important; }
.is-size-5 {
font-size: 1.25rem !important; }
.is-size-6 {
font-size: 1rem !important; }
.is-size-7 {
font-size: 0.75rem !important; }
@media screen and (max-width: 768px) {
.is-size-1-mobile {
font-size: 3rem !important; }
.is-size-2-mobile {
font-size: 2.5rem !important; }
.is-size-3-mobile {
font-size: 2rem !important; }
.is-size-4-mobile {
font-size: 1.5rem !important; }
.is-size-5-mobile {
font-size: 1.25rem !important; }
.is-size-6-mobile {
font-size: 1rem !important; }
.is-size-7-mobile {
font-size: 0.75rem !important; } }
@media screen and (min-width: 769px), print {
.is-size-1-tablet {
font-size: 3rem !important; }
.is-size-2-tablet {
font-size: 2.5rem !important; }
.is-size-3-tablet {
font-size: 2rem !important; }
.is-size-4-tablet {
font-size: 1.5rem !important; }
.is-size-5-tablet {
font-size: 1.25rem !important; }
.is-size-6-tablet {
font-size: 1rem !important; }
.is-size-7-tablet {
font-size: 0.75rem !important; } }
@media screen and (max-width: 1023px) {
.is-size-1-touch {
font-size: 3rem !important; }
.is-size-2-touch {
font-size: 2.5rem !important; }
.is-size-3-touch {
font-size: 2rem !important; }
.is-size-4-touch {
font-size: 1.5rem !important; }
.is-size-5-touch {
font-size: 1.25rem !important; }
.is-size-6-touch {
font-size: 1rem !important; }
.is-size-7-touch {
font-size: 0.75rem !important; } }
@media screen and (min-width: 1024px) {
.is-size-1-desktop {
font-size: 3rem !important; }
.is-size-2-desktop {
font-size: 2.5rem !important; }
.is-size-3-desktop {
font-size: 2rem !important; }
.is-size-4-desktop {
font-size: 1.5rem !important; }
.is-size-5-desktop {
font-size: 1.25rem !important; }
.is-size-6-desktop {
font-size: 1rem !important; }
.is-size-7-desktop {
font-size: 0.75rem !important; } }
@media screen and (min-width: 1216px) {
.is-size-1-widescreen {
font-size: 3rem !important; }
.is-size-2-widescreen {
font-size: 2.5rem !important; }
.is-size-3-widescreen {
font-size: 2rem !important; }
.is-size-4-widescreen {
font-size: 1.5rem !important; }
.is-size-5-widescreen {
font-size: 1.25rem !important; }
.is-size-6-widescreen {
font-size: 1rem !important; }
.is-size-7-widescreen {
font-size: 0.75rem !important; } }
@media screen and (min-width: 1408px) {
.is-size-1-fullhd {
font-size: 3rem !important; }
.is-size-2-fullhd {
font-size: 2.5rem !important; }
.is-size-3-fullhd {
font-size: 2rem !important; }
.is-size-4-fullhd {
font-size: 1.5rem !important; }
.is-size-5-fullhd {
font-size: 1.25rem !important; }
.is-size-6-fullhd {
font-size: 1rem !important; }
.is-size-7-fullhd {
font-size: 0.75rem !important; } }
.has-text-centered {
text-align: center !important; }
.has-text-justified {
text-align: justify !important; }
.has-text-left {
text-align: left !important; }
.has-text-right {
text-align: right !important; }
@media screen and (max-width: 768px) {
.has-text-centered-mobile {
text-align: center !important; } }
@media screen and (min-width: 769px), print {
.has-text-centered-tablet {
text-align: center !important; } }
@media screen and (min-width: 769px) and (max-width: 1023px) {
.has-text-centered-tablet-only {
text-align: center !important; } }
@media screen and (max-width: 1023px) {
.has-text-centered-touch {
text-align: center !important; } }
@media screen and (min-width: 1024px) {
.has-text-centered-desktop {
text-align: center !important; } }
@media screen and (min-width: 1024px) and (max-width: 1215px) {
.has-text-centered-desktop-only {
text-align: center !important; } }
@media screen and (min-width: 1216px) {
.has-text-centered-widescreen {
text-align: center !important; } }
@media screen and (min-width: 1216px) and (max-width: 1407px) {
.has-text-centered-widescreen-only {
text-align: center !important; } }
@media screen and (min-width: 1408px) {
.has-text-centered-fullhd {
text-align: center !important; } }
@media screen and (max-width: 768px) {
.has-text-justified-mobile {
text-align: justify !important; } }
@media screen and (min-width: 769px), print {
.has-text-justified-tablet {
text-align: justify !important; } }
@media screen and (min-width: 769px) and (max-width: 1023px) {
.has-text-justified-tablet-only {
text-align: justify !important; } }
@media screen and (max-width: 1023px) {
.has-text-justified-touch {
text-align: justify !important; } }
@media screen and (min-width: 1024px) {
.has-text-justified-desktop {
text-align: justify !important; } }
@media screen and (min-width: 1024px) and (max-width: 1215px) {
.has-text-justified-desktop-only {
text-align: justify !important; } }
@media screen and (min-width: 1216px) {
.has-text-justified-widescreen {
text-align: justify !important; } }
@media screen and (min-width: 1216px) and (max-width: 1407px) {
.has-text-justified-widescreen-only {
text-align: justify !important; } }
@media screen and (min-width: 1408px) {
.has-text-justified-fullhd {
text-align: justify !important; } }
@media screen and (max-width: 768px) {
.has-text-left-mobile {
text-align: left !important; } }
@media screen and (min-width: 769px), print {
.has-text-left-tablet {
text-align: left !important; } }
@media screen and (min-width: 769px) and (max-width: 1023px) {
.has-text-left-tablet-only {
text-align: left !important; } }
@media screen and (max-width: 1023px) {
.has-text-left-touch {
text-align: left !important; } }
@media screen and (min-width: 1024px) {
.has-text-left-desktop {
text-align: left !important; } }
@media screen and (min-width: 1024px) and (max-width: 1215px) {
.has-text-left-desktop-only {
text-align: left !important; } }
@media screen and (min-width: 1216px) {
.has-text-left-widescreen {
text-align: left !important; } }
@media screen and (min-width: 1216px) and (max-width: 1407px) {
.has-text-left-widescreen-only {
text-align: left !important; } }
@media screen and (min-width: 1408px) {
.has-text-left-fullhd {
text-align: left !important; } }
@media screen and (max-width: 768px) {
.has-text-right-mobile {
text-align: right !important; } }
@media screen and (min-width: 769px), print {
.has-text-right-tablet {
text-align: right !important; } }
@media screen and (min-width: 769px) and (max-width: 1023px) {
.has-text-right-tablet-only {
text-align: right !important; } }
@media screen and (max-width: 1023px) {
.has-text-right-touch {
text-align: right !important; } }
@media screen and (min-width: 1024px) {
.has-text-right-desktop {
text-align: right !important; } }
@media screen and (min-width: 1024px) and (max-width: 1215px) {
.has-text-right-desktop-only {
text-align: right !important; } }
@media screen and (min-width: 1216px) {
.has-text-right-widescreen {
text-align: right !important; } }
@media screen and (min-width: 1216px) and (max-width: 1407px) {
.has-text-right-widescreen-only {
text-align: right !important; } }
@media screen and (min-width: 1408px) {
.has-text-right-fullhd {
text-align: right !important; } }
.is-capitalized {
text-transform: capitalize !important; }
.is-lowercase {
text-transform: lowercase !important; }
.is-uppercase {
text-transform: uppercase !important; }
.is-italic {
font-style: italic !important; }
.has-text-white {
color: white !important; }
a.has-text-white:hover, a.has-text-white:focus {
color: #e6e6e6 !important; }
.has-background-white {
background-color: white !important; }
.has-text-black {
color: #0a0a0a !important; }
a.has-text-black:hover, a.has-text-black:focus {
color: black !important; }
.has-background-black {
background-color: #0a0a0a !important; }
.has-text-light {
color: whitesmoke !important; }
a.has-text-light:hover, a.has-text-light:focus {
color: #dbdbdb !important; }
.has-background-light {
background-color: whitesmoke !important; }
.has-text-dark {
color: #363636 !important; }
a.has-text-dark:hover, a.has-text-dark:focus {
color: #1c1c1c !important; }
.has-background-dark {
background-color: #363636 !important; }
.has-text-primary {
color: #00d1b2 !important; }
a.has-text-primary:hover, a.has-text-primary:focus {
color: #009e86 !important; }
.has-background-primary {
background-color: #00d1b2 !important; }
.has-text-link {
color: #3273dc !important; }
a.has-text-link:hover, a.has-text-link:focus {
color: #205bbc !important; }
.has-background-link {
background-color: #3273dc !important; }
.has-text-info {
color: #3298dc !important; }
a.has-text-info:hover, a.has-text-info:focus {
color: #207dbc !important; }
.has-background-info {
background-color: #3298dc !important; }
.has-text-success {
color: #48c774 !important; }
a.has-text-success:hover, a.has-text-success:focus {
color: #34a85c !important; }
.has-background-success {
background-color: #48c774 !important; }
.has-text-warning {
color: #ffdd57 !important; }
a.has-text-warning:hover, a.has-text-warning:focus {
color: #ffd324 !important; }
.has-background-warning {
background-color: #ffdd57 !important; }
.has-text-danger {
color: #f14668 !important; }
a.has-text-danger:hover, a.has-text-danger:focus {
color: #ee1742 !important; }
.has-background-danger {
background-color: #f14668 !important; }
.has-text-black-bis {
color: #121212 !important; }
.has-background-black-bis {
background-color: #121212 !important; }
.has-text-black-ter {
color: #242424 !important; }
.has-background-black-ter {
background-color: #242424 !important; }
.has-text-grey-darker {
color: #363636 !important; }
.has-background-grey-darker {
background-color: #363636 !important; }
.has-text-grey-dark {
color: #4a4a4a !important; }
.has-background-grey-dark {
background-color: #4a4a4a !important; }
.has-text-grey {
color: #7a7a7a !important; }
.has-background-grey {
background-color: #7a7a7a !important; }
.has-text-grey-light {
color: #b5b5b5 !important; }
.has-background-grey-light {
background-color: #b5b5b5 !important; }
.has-text-grey-lighter {
color: #dbdbdb !important; }
.has-background-grey-lighter {
background-color: #dbdbdb !important; }
.has-text-white-ter {
color: whitesmoke !important; }
.has-background-white-ter {
background-color: whitesmoke !important; }
.has-text-white-bis {
color: #fafafa !important; }
.has-background-white-bis {
background-color: #fafafa !important; }
.has-text-weight-light {
font-weight: 300 !important; }
.has-text-weight-normal {
font-weight: 400 !important; }
.has-text-weight-medium {
font-weight: 500 !important; }
.has-text-weight-semibold {
font-weight: 600 !important; }
.has-text-weight-bold {
font-weight: 700 !important; }
.is-family-primary {
font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif !important; }
.is-family-secondary {
font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif !important; }
.is-family-sans-serif {
font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif !important; }
.is-family-monospace {
font-family: monospace !important; }
.is-family-code {
font-family: monospace !important; }
.is-block {
display: block !important; }
@media screen and (max-width: 768px) {
.is-block-mobile {
display: block !important; } }
@media screen and (min-width: 769px), print {
.is-block-tablet {
display: block !important; } }
@media screen and (min-width: 769px) and (max-width: 1023px) {
.is-block-tablet-only {
display: block !important; } }
@media screen and (max-width: 1023px) {
.is-block-touch {
display: block !important; } }
@media screen and (min-width: 1024px) {
.is-block-desktop {
display: block !important; } }
@media screen and (min-width: 1024px) and (max-width: 1215px) {
.is-block-desktop-only {
display: block !important; } }
@media screen and (min-width: 1216px) {
.is-block-widescreen {
display: block !important; } }
@media screen and (min-width: 1216px) and (max-width: 1407px) {
.is-block-widescreen-only {
display: block !important; } }
@media screen and (min-width: 1408px) {
.is-block-fullhd {
display: block !important; } }
.is-flex {
display: flex !important; }
@media screen and (max-width: 768px) {
.is-flex-mobile {
display: flex !important; } }
@media screen and (min-width: 769px), print {
.is-flex-tablet {
display: flex !important; } }
@media screen and (min-width: 769px) and (max-width: 1023px) {
.is-flex-tablet-only {
display: flex !important; } }
@media screen and (max-width: 1023px) {
.is-flex-touch {
display: flex !important; } }
@media screen and (min-width: 1024px) {
.is-flex-desktop {
display: flex !important; } }
@media screen and (min-width: 1024px) and (max-width: 1215px) {
.is-flex-desktop-only {
display: flex !important; } }
@media screen and (min-width: 1216px) {
.is-flex-widescreen {
display: flex !important; } }
@media screen and (min-width: 1216px) and (max-width: 1407px) {
.is-flex-widescreen-only {
display: flex !important; } }
@media screen and (min-width: 1408px) {
.is-flex-fullhd {
display: flex !important; } }
.is-inline {
display: inline !important; }
@media screen and (max-width: 768px) {
.is-inline-mobile {
display: inline !important; } }
@media screen and (min-width: 769px), print {
.is-inline-tablet {
display: inline !important; } }
@media screen and (min-width: 769px) and (max-width: 1023px) {
.is-inline-tablet-only {
display: inline !important; } }
@media screen and (max-width: 1023px) {
.is-inline-touch {
display: inline !important; } }
@media screen and (min-width: 1024px) {
.is-inline-desktop {
display: inline !important; } }
@media screen and (min-width: 1024px) and (max-width: 1215px) {
.is-inline-desktop-only {
display: inline !important; } }
@media screen and (min-width: 1216px) {
.is-inline-widescreen {
display: inline !important; } }
@media screen and (min-width: 1216px) and (max-width: 1407px) {
.is-inline-widescreen-only {
display: inline !important; } }
@media screen and (min-width: 1408px) {
.is-inline-fullhd {
display: inline !important; } }
.is-inline-block {
display: inline-block !important; }
@media screen and (max-width: 768px) {
.is-inline-block-mobile {
display: inline-block !important; } }
@media screen and (min-width: 769px), print {
.is-inline-block-tablet {
display: inline-block !important; } }
@media screen and (min-width: 769px) and (max-width: 1023px) {
.is-inline-block-tablet-only {
display: inline-block !important; } }
@media screen and (max-width: 1023px) {
.is-inline-block-touch {
display: inline-block !important; } }
@media screen and (min-width: 1024px) {
.is-inline-block-desktop {
display: inline-block !important; } }
@media screen and (min-width: 1024px) and (max-width: 1215px) {
.is-inline-block-desktop-only {
display: inline-block !important; } }
@media screen and (min-width: 1216px) {
.is-inline-block-widescreen {
display: inline-block !important; } }
@media screen and (min-width: 1216px) and (max-width: 1407px) {
.is-inline-block-widescreen-only {
display: inline-block !important; } }
@media screen and (min-width: 1408px) {
.is-inline-block-fullhd {
display: inline-block !important; } }
.is-inline-flex {
display: inline-flex !important; }
@media screen and (max-width: 768px) {
.is-inline-flex-mobile {
display: inline-flex !important; } }
@media screen and (min-width: 769px), print {
.is-inline-flex-tablet {
display: inline-flex !important; } }
@media screen and (min-width: 769px) and (max-width: 1023px) {
.is-inline-flex-tablet-only {
display: inline-flex !important; } }
@media screen and (max-width: 1023px) {
.is-inline-flex-touch {
display: inline-flex !important; } }
@media screen and (min-width: 1024px) {
.is-inline-flex-desktop {
display: inline-flex !important; } }
@media screen and (min-width: 1024px) and (max-width: 1215px) {
.is-inline-flex-desktop-only {
display: inline-flex !important; } }
@media screen and (min-width: 1216px) {
.is-inline-flex-widescreen {
display: inline-flex !important; } }
@media screen and (min-width: 1216px) and (max-width: 1407px) {
.is-inline-flex-widescreen-only {
display: inline-flex !important; } }
@media screen and (min-width: 1408px) {
.is-inline-flex-fullhd {
display: inline-flex !important; } }
.is-hidden {
display: none !important; }
.is-sr-only {
border: none !important;
clip: rect(0, 0, 0, 0) !important;
height: 0.01em !important;
overflow: hidden !important;
padding: 0 !important;
position: absolute !important;
white-space: nowrap !important;
width: 0.01em !important; }
@media screen and (max-width: 768px) {
.is-hidden-mobile {
display: none !important; } }
@media screen and (min-width: 769px), print {
.is-hidden-tablet {
display: none !important; } }
@media screen and (min-width: 769px) and (max-width: 1023px) {
.is-hidden-tablet-only {
display: none !important; } }
@media screen and (max-width: 1023px) {
.is-hidden-touch {
display: none !important; } }
@media screen and (min-width: 1024px) {
.is-hidden-desktop {
display: none !important; } }
@media screen and (min-width: 1024px) and (max-width: 1215px) {
.is-hidden-desktop-only {
display: none !important; } }
@media screen and (min-width: 1216px) {
.is-hidden-widescreen {
display: none !important; } }
@media screen and (min-width: 1216px) and (max-width: 1407px) {
.is-hidden-widescreen-only {
display: none !important; } }
@media screen and (min-width: 1408px) {
.is-hidden-fullhd {
display: none !important; } }
.is-invisible {
visibility: hidden !important; }
@media screen and (max-width: 768px) {
.is-invisible-mobile {
visibility: hidden !important; } }
@media screen and (min-width: 769px), print {
.is-invisible-tablet {
visibility: hidden !important; } }
@media screen and (min-width: 769px) and (max-width: 1023px) {
.is-invisible-tablet-only {
visibility: hidden !important; } }
@media screen and (max-width: 1023px) {
.is-invisible-touch {
visibility: hidden !important; } }
@media screen and (min-width: 1024px) {
.is-invisible-desktop {
visibility: hidden !important; } }
@media screen and (min-width: 1024px) and (max-width: 1215px) {
.is-invisible-desktop-only {
visibility: hidden !important; } }
@media screen and (min-width: 1216px) {
.is-invisible-widescreen {
visibility: hidden !important; } }
@media screen and (min-width: 1216px) and (max-width: 1407px) {
.is-invisible-widescreen-only {
visibility: hidden !important; } }
@media screen and (min-width: 1408px) {
.is-invisible-fullhd {
visibility: hidden !important; } }
.is-marginless {
margin: 0 !important; }
.is-paddingless {
padding: 0 !important; }
.is-radiusless {
border-radius: 0 !important; }
.is-shadowless {
box-shadow: none !important; }
.is-relative {
position: relative !important; }

View File

@@ -1,47 +1,45 @@
#!/bin/bash
# CONSTANTS
TEST_DIR=$(dirname $BASH_SOURCE)
FILES=$TEST_DIR/sass/*
CSS_DIR=$TEST_DIR/css
SASS_OPTIONS=--sourcemap=none
# ==============================================================================
# FUNCTIONS - START
# ==============================================================================
# FUNCTIONS
build_sass()
{
echo "Processing $1 file…"
local fileName=$(basename -- "$1")
local name="${fileName%.*}"
local destFile="$CSS_DIR/$name.css"
sass "$1" "${destFile}" ${SASS_OPTIONS}
}
run_it()
{
local _src="${1-bulma.sass}"
local _dest="${2-$(dirname "${BASH_SOURCE[0]}")/output/$(basename ${_src}).css}"
local _options="${3---sourcemap=none}"
rm -r $CSS_DIR
# ----------------------------------------------------------------------------
local _dest_dir="$(dirname "${_dest}")"
if [ ! -d "${_dest_dir}" ]; then
mkdir -p "${_dest_dir}"
if [ ! -d "${CSS_DIR}" ]; then
echo "Creating $CSS_DIR directory…"
mkdir -p "${CSS_DIR}"
fi
# ----------------------------------------------------------------------------
sass "${_src}" "${_dest}" ${_options}
if [ $1 ]
then
build_sass $1
else
for f in $FILES
do
build_sass $f
done
fi
}
# run_it()
# ==============================================================================
# FUNCTIONS - END
# ==============================================================================
# ==============================================================================
# EXECUTION - START
# ==============================================================================
# EXECUTION
run_it $@
# ==============================================================================
# EXECUTION - END
# ==============================================================================

2
test/sass/bulma.sass vendored Normal file
View File

@@ -0,0 +1,2 @@
@charset "utf-8"
@import "../../bulma"

View File

@@ -0,0 +1,4 @@
@charset "utf-8"
$red: #f60
$blue: var(--blue)
@import "../../bulma"

37
test/sass/customize.scss Normal file
View File

@@ -0,0 +1,37 @@
@charset "utf-8";
// Import a Google Font
@import url('https://fonts.googleapis.com/css?family=Nunito:400,700');
// Set your brand colors
$purple: #8A4D76;
$pink: #FA7C91;
$brown: #757763;
$beige-light: #D0D1CD;
$beige-lighter: #EFF0EB;
// Update Bulma's global variables
$family-sans-serif: "Nunito", sans-serif;
$grey-dark: $brown;
$grey-light: $beige-light;
$primary: $purple;
$link: $pink;
$widescreen-enabled: false;
$fullhd-enabled: false;
// Update some of Bulma's component variables
$body-background-color: $beige-lighter;
$control-border-width: 2px;
$input-border-color: transparent;
$input-shadow: none;
// Import only what you need from Bulma
@import "../../sass/utilities/_all.sass";
@import "../../sass/base/_all.sass";
@import "../../sass/elements/button.sass";
@import "../../sass/elements/container.sass";
@import "../../sass/elements/title.sass";
@import "../../sass/form/_all.sass";
@import "../../sass/components/navbar.sass";
@import "../../sass/layout/hero.sass";
@import "../../sass/layout/section.sass";

5
test/sass/only-base.sass Normal file
View File

@@ -0,0 +1,5 @@
@charset "utf-8"
@import "../../sass/utilities/_all"
@import "../../sass/base/_all"