@davidsouther/jiffies 1.0.0-beta.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/build/components/button_bar.js +24 -13
  2. package/build/components/select.d.ts +1 -4
  3. package/build/display.js +9 -1
  4. package/build/dom/dom.js +1 -0
  5. package/build/dom/form/form.d.ts +9 -8
  6. package/build/dom/form/form.js +14 -5
  7. package/build/dom/provide.d.ts +3 -0
  8. package/build/dom/provide.js +7 -0
  9. package/build/equal.d.ts +5 -4
  10. package/build/equal.js +19 -4
  11. package/build/fs.d.ts +48 -0
  12. package/build/fs.js +144 -0
  13. package/build/{components/index.d.ts → fs.test.d.ts} +0 -0
  14. package/build/fs.test.js +43 -0
  15. package/build/log.js +16 -4
  16. package/build/result.d.ts +11 -11
  17. package/build/result.js +2 -2
  18. package/build/scope/execute.js +1 -1
  19. package/build/scope/expect.d.ts +1 -1
  20. package/build/scope/expect.js +4 -3
  21. package/build/server/http/css.d.ts +5 -0
  22. package/build/server/http/css.js +47 -0
  23. package/build/server/http/index.js +4 -2
  24. package/build/server/http/response.js +6 -3
  25. package/build/test_all.d.ts +7 -1
  26. package/build/test_all.js +7 -8
  27. package/package.json +5 -2
  28. package/src/components/button_bar.ts +32 -26
  29. package/src/display.ts +8 -2
  30. package/src/dom/dom.ts +1 -0
  31. package/src/dom/form/form.ts +30 -7
  32. package/src/dom/provide.ts +11 -0
  33. package/src/equal.ts +22 -11
  34. package/src/fs.test.ts +53 -0
  35. package/src/fs.ts +180 -0
  36. package/src/index.html +4 -4
  37. package/src/log.ts +8 -4
  38. package/src/pico/_variables.scss +66 -0
  39. package/src/pico/components/_accordion.scss +112 -0
  40. package/src/pico/components/_button-group.scss +51 -0
  41. package/src/pico/components/_card.scss +47 -0
  42. package/src/pico/components/_dropdown.scss +203 -0
  43. package/src/pico/components/_modal.scss +181 -0
  44. package/src/pico/components/_nav.scss +79 -0
  45. package/src/pico/components/_progress.scss +70 -0
  46. package/src/pico/components/_property.scss +34 -0
  47. package/src/pico/content/_button.scss +152 -0
  48. package/src/pico/content/_code.scss +63 -0
  49. package/src/pico/content/_embedded.scss +0 -0
  50. package/src/pico/content/_form-alt.scss +276 -0
  51. package/src/pico/content/_form.scss +259 -0
  52. package/src/pico/content/_misc.scss +0 -0
  53. package/src/pico/content/_table.scss +28 -0
  54. package/src/pico/content/_toggle.scss +132 -0
  55. package/src/pico/content/_typography.scss +232 -0
  56. package/src/pico/layout/_container.scss +40 -0
  57. package/src/pico/layout/_document.scss +0 -0
  58. package/src/pico/layout/_flex.scss +46 -0
  59. package/src/pico/layout/_grid.scss +24 -0
  60. package/src/pico/layout/_scroller.scss +16 -0
  61. package/src/pico/layout/_section.scss +8 -0
  62. package/src/pico/layout/_sectioning.scss +53 -0
  63. package/src/pico/pico.scss +60 -0
  64. package/src/pico/reset/_accessibility.scss +34 -0
  65. package/src/pico/reset/_button.scss +17 -0
  66. package/src/pico/reset/_code.scss +15 -0
  67. package/src/pico/reset/_document.scss +48 -0
  68. package/src/pico/reset/_embedded.scss +39 -0
  69. package/src/pico/reset/_form.scss +97 -0
  70. package/src/pico/reset/_misc.scss +23 -0
  71. package/src/pico/reset/_nav.scss +5 -0
  72. package/src/pico/reset/_progress.scss +4 -0
  73. package/src/pico/reset/_table.scss +8 -0
  74. package/src/pico/reset/_typography.scss +25 -0
  75. package/src/pico/themes/default/_colors.scss +65 -0
  76. package/src/pico/themes/default/_dark.scss +148 -0
  77. package/src/pico/themes/default/_light.scss +149 -0
  78. package/src/pico/themes/default/_styles.scss +272 -0
  79. package/src/pico/themes/default.scss +34 -0
  80. package/src/pico/utilities/_accessibility.scss +3 -0
  81. package/src/pico/utilities/_loading.scss +52 -0
  82. package/src/pico/utilities/_reduce-motion.scss +27 -0
  83. package/src/pico/utilities/_tooltip.scss +101 -0
  84. package/src/result.ts +16 -20
  85. package/src/scope/execute.ts +1 -1
  86. package/src/scope/expect.ts +10 -9
  87. package/src/server/http/css.ts +63 -0
  88. package/src/server/http/index.ts +4 -2
  89. package/src/server/http/response.ts +7 -4
  90. package/src/test_all.ts +7 -8
  91. package/src/zip/spec.txt +3260 -0
  92. package/build/components/index.js +0 -1
  93. package/build/index.d.ts +0 -13
  94. package/build/index.js +0 -13
  95. package/build/parcel_resolver.d.ts +0 -3
  96. package/build/parcel_resolver.js +0 -19
@@ -0,0 +1,46 @@
1
+ .flex {
2
+ display: flex;
3
+ flex-direction: column;
4
+
5
+ &.row {
6
+ flex-direction: row;
7
+
8
+ &.inline > * {
9
+ display: inline-block;
10
+ }
11
+ }
12
+
13
+ &.justify-around {
14
+ justify-content: space-around;
15
+ }
16
+
17
+ &.justify-between {
18
+ justify-content: space-between;
19
+ }
20
+
21
+ &.justify-center {
22
+ justify-content: center;
23
+ }
24
+
25
+ &.align-baseline {
26
+ align-items: baseline;
27
+ }
28
+
29
+ &.align-center {
30
+ align-items: center;
31
+ }
32
+
33
+ &.align-stretch {
34
+ align-items: stretch;
35
+ }
36
+
37
+ &.align-end {
38
+ align-items: end;
39
+ }
40
+
41
+ @for $i from 1 through 4 {
42
+ & > .flex-#{$i} {
43
+ flex: $i;
44
+ }
45
+ }
46
+ }
@@ -0,0 +1,24 @@
1
+ @if ($enable-classes and $enable-grid) {
2
+ /**
3
+ * Grid
4
+ * Minimal grid system with auto-layout columns
5
+ */
6
+
7
+ .grid {
8
+ grid-column-gap: var(--grid-spacing-horizontal);
9
+ grid-row-gap: var(--grid-spacing-vertical);
10
+ display: grid;
11
+ grid-template-columns: 1fr;
12
+ margin: 0;
13
+
14
+ @if map-get($breakpoints, "lg") {
15
+ @media (min-width: map-get($breakpoints, "lg")) {
16
+ grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
17
+ }
18
+ }
19
+
20
+ & > * {
21
+ min-width: 0; // HACK for childs in overflow
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Horizontal scroller (<figure>)
3
+ */
4
+
5
+ // Wrapper to make any content responsive across all viewports
6
+ figure {
7
+ display: block;
8
+ margin: 0;
9
+ padding: 0;
10
+ overflow-x: auto;
11
+
12
+ figcaption {
13
+ padding: calc(var(--spacing) * 0.5) 0;
14
+ color: var(--muted-color);
15
+ }
16
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Section
3
+ * Responsive spacings for section
4
+ */
5
+
6
+ section {
7
+ margin-bottom: var(--block-spacing-vertical);
8
+ }
@@ -0,0 +1,53 @@
1
+ /**
2
+ * Sectioning
3
+ * Container and responsive spacings for header, main, footer
4
+ */
5
+
6
+ // Reboot based on :
7
+ // - normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css
8
+ // - sanitize.css v13.0.0 | CC0 1.0 Universal | github.com/csstools/sanitize.css
9
+ // ––––––––––––––––––––
10
+
11
+ // Render the `main` element consistently in IE
12
+ main {
13
+ display: block;
14
+ }
15
+
16
+ // Pico
17
+ // ––––––––––––––––––––
18
+
19
+ // 1. Remove the margin in all browsers (opinionated)
20
+ // 2. Body should be at least the height of the viewport (opinionated)
21
+ body {
22
+ width: 100%;
23
+ min-height: 100vh; // 2
24
+ margin: 0; // 1
25
+
26
+ @if $enable-viewport == all {
27
+ > header,
28
+ > main,
29
+ > footer {
30
+ @include centered-viewport();
31
+ }
32
+ } @else if $enable-viewport == main {
33
+ > header,
34
+ > footer {
35
+ width: 100%;
36
+ margin: 0 auto;
37
+ padding: 0 var(--spacing);
38
+ }
39
+ > main {
40
+ // Semantic container
41
+ padding: var(--block-spacing-vertical) var(--block-spacing-horizontal);
42
+ @include centered-viewport();
43
+ }
44
+ } @else {
45
+ > header,
46
+ > main,
47
+ > footer {
48
+ width: 100%;
49
+ margin: 0 auto;
50
+ padding: 0 var(--spacing);
51
+ }
52
+ }
53
+ }
@@ -0,0 +1,60 @@
1
+ // Config
2
+ @import "variables";
3
+
4
+ @layer reset, theme, layout, content, component, utility, user;
5
+
6
+ @layer reset {
7
+ @import "reset/document";
8
+ @import "reset/typography";
9
+ @import "reset/embedded";
10
+ @import "reset/button";
11
+ @import "reset/form";
12
+ @import "reset/table";
13
+ @import "reset/misc";
14
+ @import "reset/nav";
15
+ @import "reset/progress";
16
+ }
17
+
18
+ @layer theme {
19
+ @import "themes/default";
20
+ }
21
+
22
+ @layer layout {
23
+ @import "layout/document"; // html
24
+ @import "layout/sectioning"; // body, header, main, footer
25
+ @import "layout/container"; // .container, .container-fluid
26
+ @import "layout/section"; // section
27
+ @import "layout/flex"; // .flex-*
28
+ @import "layout/grid"; // .grid
29
+ @import "layout/scroller"; // figure
30
+ }
31
+
32
+ @layer content {
33
+ @import "content/typography"; // a, headings, p, ul, blockquote, ...
34
+ @import "content/embedded"; // audio, canvas, iframe, img, svg, video
35
+ @import "content/button"; // button, a[role=button], type=button, type=submit ...
36
+ @import "content/form"; // input, select, textarea, label, fieldset, legend
37
+ @import "content/toggle"; // type=checkbox, type=radio, role=switch
38
+ @import "content/form-alt"; // type=color, type=date, type=file, type=search, ...
39
+ @import "content/table"; // table, tr, td, ...
40
+ @import "content/code"; // pre, code, ...
41
+ }
42
+
43
+ @layer component {
44
+ @import "components/accordion"; // details, summary
45
+ @import "components/card"; // article
46
+ @import "components/modal"; // dialog
47
+ @import "components/nav"; // nav
48
+ @import "components/progress"; // progress
49
+ @import "components/dropdown"; // details[role="list"], li[role="list"]
50
+ @import "components/property"; // dl, dt, dd
51
+ @import "components/button-group"; // .input-group, .button-group, fieldset
52
+ }
53
+
54
+ // Utilities
55
+ @layer utility {
56
+ @import "utilities/loading"; // aria-busy=true
57
+ @import "utilities/tooltip"; // data-tooltip
58
+ @import "utilities/accessibility"; // -ms-touch-action, aria-*
59
+ @import "utilities/reduce-motion"; // prefers-reduced-motion
60
+ }
@@ -0,0 +1,34 @@
1
+ // Change the cursor on control elements in all browsers (opinionated)
2
+ [aria-controls] {
3
+ cursor: pointer;
4
+ }
5
+
6
+ // Change the cursor on disabled, not-editable, or otherwise inoperable elements in all browsers (opinionated)
7
+ [aria-disabled="true"],
8
+ [disabled] {
9
+ cursor: not-allowed;
10
+ }
11
+
12
+ // Change the display on visually hidden accessible elements in all browsers (opinionated)
13
+ [aria-hidden="false"][hidden] {
14
+ display: initial;
15
+ }
16
+
17
+ [aria-hidden="false"][hidden]:not(:focus) {
18
+ clip: rect(0, 0, 0, 0);
19
+ position: absolute;
20
+ }
21
+
22
+ // User interaction
23
+ // Remove the tapping delay in IE 10
24
+ a,
25
+ area,
26
+ button,
27
+ input,
28
+ label,
29
+ select,
30
+ summary,
31
+ textarea,
32
+ [tabindex] {
33
+ -ms-touch-action: manipulation;
34
+ }
@@ -0,0 +1,17 @@
1
+ // 1. Change the font styles in all browsers
2
+ // 2. Remove the margin on controls in Safari
3
+ // 3. Show the overflow in Edge
4
+ button {
5
+ margin: 0; // 2
6
+ overflow: visible; // 3
7
+ font-family: inherit; // 1
8
+ text-transform: none; // 1
9
+ }
10
+
11
+ // Correct the inability to style buttons in iOS and Safari
12
+ button,
13
+ [type="button"],
14
+ [type="reset"],
15
+ [type="submit"] {
16
+ -webkit-appearance: button;
17
+ }
@@ -0,0 +1,15 @@
1
+ // 1. Correct the inheritance and scaling of font size in all browsers
2
+ // 2. Correct the odd `em` font sizing in all browsers
3
+ pre,
4
+ code,
5
+ kbd,
6
+ samp {
7
+ font-size: 0.875em; // 2
8
+ font-family: var(--font-family); // 1
9
+ }
10
+
11
+ // Prevent overflow of the container in all browsers (opinionated)
12
+ pre {
13
+ -ms-overflow-style: scrollbar;
14
+ overflow: auto;
15
+ }
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Document
3
+ * Content-box & Responsive typography
4
+ */
5
+
6
+ // Reboot based on :
7
+ // - normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css
8
+ // - sanitize.css v13.0.0 | CC0 1.0 Universal | github.com/csstools/sanitize.css
9
+ // ––––––––––––––––––––
10
+
11
+ // 1. Add border box sizing in all browsers (opinionated)
12
+ // 2. Backgrounds do not repeat by default (opinionated)
13
+ *,
14
+ *::before,
15
+ *::after {
16
+ box-sizing: border-box; // 1
17
+ background-repeat: no-repeat; // 2
18
+ }
19
+
20
+ // 1. Add text decoration inheritance in all browsers (opinionated)
21
+ // 2. Add vertical alignment inheritance in all browsers (opinionated)
22
+ ::before,
23
+ ::after {
24
+ text-decoration: inherit; // 1
25
+ vertical-align: inherit; // 2
26
+ }
27
+
28
+ // 1. Use the default cursor in all browsers (opinionated)
29
+ // 2. Change the line height in all browsers (opinionated)
30
+ // 3. Breaks words to prevent overflow in all browsers (opinionated)
31
+ // 4. Use a 4-space tab width in all browsers (opinionated)
32
+ // 5. Remove the grey highlight on links in iOS (opinionated)
33
+ // 6. Prevent adjustments of font size after orientation changes in iOS
34
+ :where(:root) {
35
+ // -webkit-tap-highlight-color: transparent; // 5
36
+ -webkit-text-size-adjust: 100%; // 6
37
+ text-size-adjust: 100%; // 6
38
+ text-rendering: optimizeLegibility;
39
+ background-color: var(--background-color);
40
+ color: var(--color);
41
+ font-weight: var(--font-weight);
42
+ font-size: var(--font-size);
43
+ line-height: var(--line-height); // 2
44
+ font-family: var(--font-family);
45
+ overflow-wrap: break-word; // 3
46
+ cursor: default; // 1
47
+ tab-size: 4; // 4
48
+ }
@@ -0,0 +1,39 @@
1
+ // Change the alignment on media elements in all browsers (opinionated)
2
+ :where(audio, canvas, iframe, img, svg, video) {
3
+ vertical-align: middle;
4
+ }
5
+
6
+ // Add the correct display in IE 9-
7
+ audio,
8
+ video {
9
+ display: inline-block;
10
+ }
11
+
12
+ // Add the correct display in iOS 4-7
13
+ audio:not([controls]) {
14
+ display: none;
15
+ height: 0;
16
+ }
17
+
18
+ // Remove the border on iframes in all browsers (opinionated)
19
+ :where(iframe) {
20
+ border-style: none;
21
+ }
22
+
23
+ // 1. Remove the border on images inside links in IE 10.
24
+ // 2. Responsive by default
25
+ img {
26
+ max-width: 100%; // 2
27
+ height: auto; // 2
28
+ border-style: none; // 1
29
+ }
30
+
31
+ // Change the fill color to match the text color in all browsers (opinionated)
32
+ :where(svg:not([fill])) {
33
+ fill: currentColor;
34
+ }
35
+
36
+ // Hide the overflow in IE
37
+ svg:not(:root) {
38
+ overflow: hidden;
39
+ }
@@ -0,0 +1,97 @@
1
+ // 1. Change the font styles in all browsers
2
+ // 2. Remove the margin in Firefox and Safari
3
+ input,
4
+ optgroup,
5
+ select,
6
+ textarea {
7
+ margin: 0; // 2
8
+ font-size: 1rem; // 1
9
+ line-height: var(--line-height); // 1
10
+ font-family: inherit; // 1
11
+ letter-spacing: inherit; // 2
12
+ }
13
+
14
+ // Show the overflow in IE.
15
+ input {
16
+ overflow: visible;
17
+ }
18
+
19
+ // Remove the inheritance of text transform in Edge, Firefox, and IE
20
+ select {
21
+ text-transform: none;
22
+ }
23
+
24
+ // 1. Correct the text wrapping in Edge and IE
25
+ // 2. Correct the color inheritance from `fieldset` elements in IE
26
+ // 3. Remove the padding so developers are not caught out when they zero out
27
+ // `fieldset` elements in all browsers
28
+ legend {
29
+ max-width: 100%; // 1
30
+ padding: 0; // 3
31
+ color: inherit; // 2
32
+ white-space: normal; // 1
33
+ }
34
+
35
+ // 1. Remove the default vertical scrollbar in IE
36
+ textarea {
37
+ overflow: auto; // 1
38
+ }
39
+
40
+ // Remove the padding in IE 10
41
+ [type="checkbox"],
42
+ [type="radio"] {
43
+ padding: 0;
44
+ }
45
+
46
+ // Correct the cursor style of increment and decrement buttons in Safari
47
+ ::-webkit-inner-spin-button,
48
+ ::-webkit-outer-spin-button {
49
+ height: auto;
50
+ }
51
+
52
+ // 1. Correct the odd appearance in Chrome and Safari
53
+ // 2. Correct the outline style in Safari
54
+ [type="search"] {
55
+ -webkit-appearance: textfield; // 1
56
+ outline-offset: -2px; // 2
57
+ }
58
+
59
+ // Remove the inner padding in Chrome and Safari on macOS
60
+ [type="search"]::-webkit-search-decoration {
61
+ -webkit-appearance: none;
62
+ }
63
+
64
+ // 1. Correct the inability to style clickable types in iOS and Safari
65
+ // 2. Change font properties to `inherit` in Safari
66
+ ::-webkit-file-upload-button {
67
+ -webkit-appearance: button; // 1
68
+ font: inherit; // 2
69
+ }
70
+
71
+ // Remove the inner border and padding of focus outlines in Firefox
72
+ ::-moz-focus-inner {
73
+ padding: 0;
74
+ border-style: none;
75
+ }
76
+
77
+ // Remove the focus outline in Firefox
78
+ :-moz-focusring {
79
+ outline: none;
80
+ }
81
+
82
+ // Remove the additional :invalid styles in Firefox
83
+ :-moz-ui-invalid {
84
+ box-shadow: none;
85
+ }
86
+
87
+ // Change the inconsistent appearance in IE (opinionated)
88
+ ::-ms-expand {
89
+ display: none;
90
+ }
91
+
92
+ // Remove the border and padding in all browsers (opinionated)
93
+ [type="file"],
94
+ [type="range"] {
95
+ padding: 0;
96
+ border-width: 0;
97
+ }
@@ -0,0 +1,23 @@
1
+ // 1. Correct the inheritance of border color in Firefox
2
+ // 2. Add the correct box sizing in Firefox
3
+ hr {
4
+ height: 0; // 2
5
+ border: 0;
6
+ border-top: 1px solid var(--muted-border-color);
7
+ color: inherit; // 1
8
+ }
9
+
10
+ // Add the correct display in IE 10+
11
+ [hidden],
12
+ template {
13
+ @if $enable-important {
14
+ display: none !important;
15
+ } @else {
16
+ display: none;
17
+ }
18
+ }
19
+
20
+ // Add the correct display in IE 9-
21
+ canvas {
22
+ display: inline-block;
23
+ }
@@ -0,0 +1,5 @@
1
+ // Prevent VoiceOver from ignoring list semantics in Safari (opinionated)
2
+ :where(nav li)::before {
3
+ float: left;
4
+ content: "\200B";
5
+ }
@@ -0,0 +1,4 @@
1
+ progress {
2
+ display: inline-block; // 1
3
+ vertical-align: baseline; // 2
4
+ }
@@ -0,0 +1,8 @@
1
+ // 1. Collapse border spacing in all browsers (opinionated)
2
+ // 2. Remove text indentation from table contents in Chrome, Edge, and Safari
3
+ :where(table) {
4
+ width: 100%;
5
+ border-collapse: collapse; // 1
6
+ border-spacing: 0;
7
+ text-indent: 0; // 2
8
+ }
@@ -0,0 +1,25 @@
1
+ // reboot based on :
2
+ // - normalize.css v8.0.1 | mit license | github.com/necolas/normalize.css
3
+ // - sanitize.css v13.0.0 | cc0 1.0 universal | github.com/csstools/sanitize.css
4
+ // ––––––––––––––––––––
5
+
6
+ // add the correct font weight in chrome, edge, and safari
7
+ b,
8
+ strong {
9
+ font-weight: bolder;
10
+ }
11
+
12
+ // prevent `sub` and `sup` elements from affecting the line height in all browsers
13
+ sub,
14
+ sup {
15
+ position: relative;
16
+ font-size: 0.75em;
17
+ line-height: 0;
18
+ vertical-align: baseline;
19
+ }
20
+ sub {
21
+ bottom: -0.25em;
22
+ }
23
+ sup {
24
+ top: -0.5em;
25
+ }
@@ -0,0 +1,65 @@
1
+ // Black & White
2
+ $black: #000 !default;
3
+ $white: #fff !default;
4
+
5
+ // Navy-Grey
6
+ $grey-hue: 205 !default;
7
+ $grey-50: hsl($grey-hue, 20%, 94%) !default;
8
+ $grey-100: hsl($grey-hue, 18%, 86%) !default;
9
+ $grey-200: hsl($grey-hue, 16%, 77%) !default;
10
+ $grey-300: hsl($grey-hue, 14%, 68%) !default;
11
+ $grey-400: hsl($grey-hue, 12%, 59%) !default;
12
+ $grey-500: hsl($grey-hue, 10%, 50%) !default;
13
+ $grey-600: hsl($grey-hue, 15%, 41%) !default;
14
+ $grey-700: hsl($grey-hue, 20%, 32%) !default;
15
+ $grey-800: hsl($grey-hue, 25%, 23%) !default;
16
+ $grey-900: hsl($grey-hue, 30%, 15%) !default;
17
+
18
+ // Light Blue
19
+ $primary-hue: 195 !default;
20
+ $primary-50: hsl($primary-hue, 90%, 94%) !default;
21
+ $primary-100: hsl($primary-hue, 88%, 86%) !default;
22
+ $primary-200: hsl($primary-hue, 86%, 77%) !default;
23
+ $primary-300: hsl($primary-hue, 84%, 68%) !default;
24
+ $primary-400: hsl($primary-hue, 82%, 59%) !default;
25
+ $primary-500: hsl($primary-hue, 80%, 50%) !default;
26
+ $primary-600: hsl($primary-hue, 85%, 41%) !default;
27
+ $primary-700: hsl($primary-hue, 90%, 32%) !default;
28
+ $primary-800: hsl($primary-hue, 95%, 23%) !default;
29
+ $primary-900: hsl($primary-hue, 100%, 15%) !default;
30
+
31
+ // Amber
32
+ $amber-50: #fff8e1 !default;
33
+ $amber-100: #ffecb3 !default;
34
+ $amber-200: #ffe082 !default;
35
+ $amber-300: #ffd54f !default;
36
+ $amber-400: #ffca28 !default;
37
+ $amber-500: #ffc107 !default;
38
+ $amber-600: #ffb300 !default;
39
+ $amber-700: #ffa000 !default;
40
+ $amber-800: #ff8f00 !default;
41
+ $amber-900: #ff6f00 !default;
42
+
43
+ // Green
44
+ $green-50: #e8f5e9 !default;
45
+ $green-100: #c8e6c9 !default;
46
+ $green-200: #a5d6a7 !default;
47
+ $green-300: #81c784 !default;
48
+ $green-400: #66bb6a !default;
49
+ $green-500: #4caf50 !default;
50
+ $green-600: #43a047 !default;
51
+ $green-700: #388e3c !default;
52
+ $green-800: #2e7d32 !default;
53
+ $green-900: #1b5e20 !default;
54
+
55
+ // Red
56
+ $red-50: #ffebee !default;
57
+ $red-100: #ffcdd2 !default;
58
+ $red-200: #ef9a9a !default;
59
+ $red-300: #e57373 !default;
60
+ $red-400: #ef5350 !default;
61
+ $red-500: #f44336 !default;
62
+ $red-600: #e53935 !default;
63
+ $red-700: #d32f2f !default;
64
+ $red-800: #c62828 !default;
65
+ $red-900: #b71c1c !default;