Automated flavor builds

Use npm build-flavors.
This commit is contained in:
Angelos Chalaris 2018-10-27 10:09:24 +03:00
parent 5d8930461f
commit 605b61908c
10 changed files with 57 additions and 50 deletions

35
dist/mini-dark.css vendored
View file

@ -1,9 +1,9 @@
@charset "UTF-8"; @charset "UTF-8";
/* /*
Flavor name: Dark (mini-dark) Flavor name: Dark (mini-dark)
Author: Angelos Chalaris (chalarangelo@gmail.com) Author: Angelos Chalaris (chalarangelo@gmail.com)
Maintainers: Angelos Chalaris Maintainers: Angelos Chalaris
mini.css version: v3.0.0 mini.css version: v3.0.0
*/ */
/* /*
Browsers resets and base typography. Browsers resets and base typography.
@ -689,8 +689,8 @@ a:hover, a:focus {
border-bottom: 0; border-bottom: 0;
} }
/* /*
Custom elements for card elements. Custom elements for card elements.
*/ */
@media screen and (min-width: 240px) { @media screen and (min-width: 240px) {
.card.small { .card.small {
@ -986,8 +986,8 @@ input:disabled, input[disabled], textarea:disabled, textarea[disabled], select:d
} }
} }
/* /*
Custom elements for forms and input elements. Custom elements for forms and input elements.
*/ */
button.primary, [type="button"].primary, [type="submit"].primary, [type="reset"].primary, .button.primary, [role="button"].primary { button.primary, [type="button"].primary, [type="submit"].primary, [type="reset"].primary, .button.primary, [role="button"].primary {
--button-back-color: #1976d2; --button-back-color: #1976d2;
@ -1380,14 +1380,15 @@ table.horizontal {
table.horizontal thead, table.horizontal tbody { table.horizontal thead, table.horizontal tbody {
border: 0; border: 0;
flex: .2 0 0;
flex-flow: row nowrap; flex-flow: row nowrap;
} }
table.horizontal tbody { table.horizontal tbody {
overflow: auto; overflow: auto;
justify-content: space-between; justify-content: space-between;
flex: 1 0 0; flex: .8 0 0;
margin-left: calc( 4 * var(--universal-margin)); margin-left: 0;
padding-bottom: calc(var(--universal-padding) / 4); padding-bottom: calc(var(--universal-padding) / 4);
} }
@ -1397,7 +1398,7 @@ table.horizontal tr {
} }
table.horizontal th, table.horizontal td { table.horizontal th, table.horizontal td {
width: 100%; width: auto;
border: 0; border: 0;
border-bottom: 0.0625rem solid var(--table-border-color); border-bottom: 0.0625rem solid var(--table-border-color);
} }
@ -1809,8 +1810,8 @@ mark.inline-block {
border-radius: 0 0 var(--universal-border-radius) var(--universal-border-radius); border-radius: 0 0 var(--universal-border-radius) var(--universal-border-radius);
} }
/* /*
Custom elements for contextual background elements, toasts and tooltips. Custom elements for contextual background elements, toasts and tooltips.
*/ */
mark.secondary { mark.secondary {
--mark-back-color: #d32f2f; --mark-back-color: #d32f2f;
@ -1856,7 +1857,7 @@ progress::-webkit-progress-value {
} }
progress::-webkit-progress-bar { progress::-webkit-progress-bar {
background: var(#aaa); background: var(--progress-back-color);
} }
progress::-moz-progress-bar { progress::-moz-progress-bar {
@ -1904,8 +1905,8 @@ progress.inline {
animation: spinner-donut-anim 1.2s linear infinite; animation: spinner-donut-anim 1.2s linear infinite;
} }
/* /*
Custom elements for progress bars and spinners. Custom elements for progress bars and spinners.
*/ */
progress.primary { progress.primary {
--progress-fore-color: #1976d2; --progress-fore-color: #1976d2;

File diff suppressed because one or more lines are too long

11
dist/mini-default.css vendored
View file

@ -3,7 +3,7 @@
Flavor name: Default (mini-default) Flavor name: Default (mini-default)
Author: Angelos Chalaris (chalarangelo@gmail.com) Author: Angelos Chalaris (chalarangelo@gmail.com)
Maintainers: Angelos Chalaris Maintainers: Angelos Chalaris
mini.css version: v3.0.0 mini.css version: v3.0.0-alpha.3
*/ */
/* /*
Browsers resets and base typography. Browsers resets and base typography.
@ -1378,14 +1378,15 @@ table.horizontal {
table.horizontal thead, table.horizontal tbody { table.horizontal thead, table.horizontal tbody {
border: 0; border: 0;
flex: .2 0 0;
flex-flow: row nowrap; flex-flow: row nowrap;
} }
table.horizontal tbody { table.horizontal tbody {
overflow: auto; overflow: auto;
justify-content: space-between; justify-content: space-between;
flex: 1 0 0; flex: .8 0 0;
margin-left: calc( 4 * var(--universal-margin)); margin-left: 0;
padding-bottom: calc(var(--universal-padding) / 4); padding-bottom: calc(var(--universal-padding) / 4);
} }
@ -1395,7 +1396,7 @@ table.horizontal tr {
} }
table.horizontal th, table.horizontal td { table.horizontal th, table.horizontal td {
width: 100%; width: auto;
border: 0; border: 0;
border-bottom: 0.0625rem solid var(--table-border-color); border-bottom: 0.0625rem solid var(--table-border-color);
} }
@ -1854,7 +1855,7 @@ progress::-webkit-progress-value {
} }
progress::-webkit-progress-bar { progress::-webkit-progress-bar {
background: var(#ddd); background: var(--progress-back-color);
} }
progress::-moz-progress-bar { progress::-moz-progress-bar {

File diff suppressed because one or more lines are too long

35
dist/mini-nord.css vendored
View file

@ -1,9 +1,9 @@
@charset "UTF-8"; @charset "UTF-8";
/* /*
Flavor name: Nord (mini-nord) Flavor name: Nord (mini-nord)
Author: tphecca (https://github.com/tphecca) Author: tphecca (https://github.com/tphecca)
Maintainers: tphecca Maintainers: tphecca
mini.css version: v3.0.0 mini.css version: v3.0.0
*/ */
/* /*
Browsers resets and base typography. Browsers resets and base typography.
@ -689,8 +689,8 @@ a:hover, a:focus {
border-bottom: 0; border-bottom: 0;
} }
/* /*
Custom elements for card elements. Custom elements for card elements.
*/ */
@media screen and (min-width: 240px) { @media screen and (min-width: 240px) {
.card.small { .card.small {
@ -983,8 +983,8 @@ input:disabled, input[disabled], textarea:disabled, textarea[disabled], select:d
} }
} }
/* /*
Custom elements for forms and input elements. Custom elements for forms and input elements.
*/ */
button.primary, [type="button"].primary, [type="submit"].primary, [type="reset"].primary, .button.primary, [role="button"].primary { button.primary, [type="button"].primary, [type="submit"].primary, [type="reset"].primary, .button.primary, [role="button"].primary {
--button-back-color: #5e81ac; --button-back-color: #5e81ac;
@ -1377,14 +1377,15 @@ table.horizontal {
table.horizontal thead, table.horizontal tbody { table.horizontal thead, table.horizontal tbody {
border: 0; border: 0;
flex: .2 0 0;
flex-flow: row nowrap; flex-flow: row nowrap;
} }
table.horizontal tbody { table.horizontal tbody {
overflow: auto; overflow: auto;
justify-content: space-between; justify-content: space-between;
flex: 1 0 0; flex: .8 0 0;
margin-left: calc( 4 * var(--universal-margin)); margin-left: 0;
padding-bottom: calc(var(--universal-padding) / 4); padding-bottom: calc(var(--universal-padding) / 4);
} }
@ -1394,7 +1395,7 @@ table.horizontal tr {
} }
table.horizontal th, table.horizontal td { table.horizontal th, table.horizontal td {
width: 100%; width: auto;
border: 0; border: 0;
border-bottom: 0.0625rem solid var(--table-border-color); border-bottom: 0.0625rem solid var(--table-border-color);
} }
@ -1806,8 +1807,8 @@ mark.inline-block {
border-radius: 0 0 var(--universal-border-radius) var(--universal-border-radius); border-radius: 0 0 var(--universal-border-radius) var(--universal-border-radius);
} }
/* /*
Custom elements for contextual background elements, toasts and tooltips. Custom elements for contextual background elements, toasts and tooltips.
*/ */
mark.secondary { mark.secondary {
--mark-back-color: #bf616a; --mark-back-color: #bf616a;
@ -1853,7 +1854,7 @@ progress::-webkit-progress-value {
} }
progress::-webkit-progress-bar { progress::-webkit-progress-bar {
background: var(#e5e9f0); background: var(--progress-back-color);
} }
progress::-moz-progress-bar { progress::-moz-progress-bar {
@ -1901,8 +1902,8 @@ progress.inline {
animation: spinner-donut-anim 1.2s linear infinite; animation: spinner-donut-anim 1.2s linear infinite;
} }
/* /*
Custom elements for progress bars and spinners. Custom elements for progress bars and spinners.
*/ */
progress.primary { progress.primary {
--progress-fore-color: #5e81ac; --progress-fore-color: #5e81ac;

File diff suppressed because one or more lines are too long

View file

@ -3,7 +3,7 @@
Flavor name: Default (mini-default) Flavor name: Default (mini-default)
Author: Angelos Chalaris (chalarangelo@gmail.com) Author: Angelos Chalaris (chalarangelo@gmail.com)
Maintainers: Angelos Chalaris Maintainers: Angelos Chalaris
mini.css version: v3.0.0 mini.css version: v3.0.0-alpha.3
*/ */
/* /*
Browsers resets and base typography. Browsers resets and base typography.
@ -1854,7 +1854,7 @@ progress::-webkit-progress-value {
} }
progress::-webkit-progress-bar { progress::-webkit-progress-bar {
background: var(#ddd); background: var(--progress-back-color);
} }
progress::-moz-progress-bar { progress::-moz-progress-bar {

View file

@ -165,13 +165,14 @@ table {
border: 0; border: 0;
thead, tbody { thead, tbody {
border: 0; border: 0;
flex: .2 0 0;
flex-flow: row nowrap; flex-flow: row nowrap;
} }
tbody { tbody {
overflow: auto; overflow: auto;
justify-content: space-between; justify-content: space-between;
flex: 1 0 0; flex: .8 0 0;
margin-left: calc( 4 * var(#{$universal-margin-var})); margin-left: 0;
padding-bottom: calc(var(#{$universal-padding-var}) / 4); padding-bottom: calc(var(#{$universal-padding-var}) / 4);
} }
tr { tr {
@ -179,7 +180,7 @@ table {
flex: 1 0 auto; flex: 1 0 auto;
} }
th, td { th, td {
width: 100%; width: auto;
border: 0; border: 0;
border-bottom: $__1px solid var(#{$table-border-color-var}); border-bottom: $__1px solid var(#{$table-border-color-var});
&:not(:first-child){ &:not(:first-child){

2
docs/style.min.css vendored

File diff suppressed because one or more lines are too long

View file

@ -7,8 +7,11 @@
"lib": "src/mini" "lib": "src/mini"
}, },
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "build-docs": "node ./docs/build-docs.js && node-sass src/flavors/mini-doc.scss docs/style.min.css --output-style compressed",
"build-docs": "node ./docs/build-docs.js" "build-mini-default": "node-sass src/flavors/mini-default.scss dist/mini-default.css --output-style expanded && node-sass src/flavors/mini-default.scss dist/mini-default.min.css --output-style compressed",
"build-mini-dark": "node-sass src/flavors/mini-dark.scss dist/mini-dark.css --output-style expanded && node-sass src/flavors/mini-dark.scss dist/mini-dark.min.css --output-style compressed",
"build-mini-nord": "node-sass src/flavors/mini-nord.scss dist/mini-nord.css --output-style expanded && node-sass src/flavors/mini-nord.scss dist/mini-nord.min.css --output-style compressed",
"build-flavors": "npm run build-mini-default && npm run build-mini-dark && npm run build-mini-nord"
}, },
"repository": { "repository": {
"type": "git", "type": "git",