@eeacms/volto-eea-design-system 0.3.1 → 0.4.2

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 (50) hide show
  1. package/CHANGELOG.md +129 -0
  2. package/package.json +3 -2
  3. package/src/semantic.less +21 -1
  4. package/src/ui/Card/Card.stories.jsx +185 -5
  5. package/src/ui/DownloadLabeledIcon/DownloadLabeledIcon.jsx +54 -0
  6. package/src/ui/DownloadLabeledIcon/DownloadLabeledIcon.stories.jsx +68 -0
  7. package/src/ui/LabeledIconGroup/LabeledIconGroup.jsx +67 -0
  8. package/src/ui/LabeledIconGroup/LabeledIconGroup.stories.jsx +74 -0
  9. package/src/ui/LanguageLabeledIcon/LanguageLabeledIcon.jsx +92 -0
  10. package/src/ui/LanguageLabeledIcon/LanguageLabeledIcon.stories.jsx +63 -0
  11. package/src/ui/NewTabLabeledIcon/NewTabLabeledIcon.jsx +26 -0
  12. package/src/ui/NewTabLabeledIcon/NewTabLabeledIcon.stories.jsx +49 -0
  13. package/src/ui/Quote/Quote.jsx +1 -1
  14. package/src/ui/Quote/Quote.stories.jsx +21 -29
  15. package/src/ui/index.js +8 -0
  16. package/theme/theme.config +4 -0
  17. package/theme/themes/eea/assets/images/Svg/data-analytics.svg +14 -0
  18. package/theme/themes/eea/assets/images/Svg/globe-eco.svg +3 -0
  19. package/theme/themes/eea/assets/images/Svg/knowledge.svg +3 -0
  20. package/theme/themes/eea/assets/images/Svg/network.svg +3 -0
  21. package/theme/themes/eea/assets/images/Svg/sustainable.svg +38 -0
  22. package/theme/themes/eea/collections/table.overrides +1 -1
  23. package/theme/themes/eea/definitions/views/item.less +475 -0
  24. package/theme/themes/eea/elements/label.overrides +111 -3
  25. package/theme/themes/eea/elements/label.variables +17 -3
  26. package/theme/themes/eea/extras/downloadLabeledIcon.less +87 -0
  27. package/theme/themes/eea/extras/downloadLabeledIcon.variables +45 -0
  28. package/theme/themes/eea/extras/labeledIconGroup.less +20 -0
  29. package/theme/themes/eea/extras/labeledIconGroup.variables +10 -0
  30. package/theme/themes/eea/extras/languageLabeledIcon.less +81 -0
  31. package/theme/themes/eea/extras/languageLabeledIcon.variables +41 -0
  32. package/theme/themes/eea/extras/newTabLabeledIcon.less +41 -0
  33. package/theme/themes/eea/extras/newTabLabeledIcon.variables +23 -0
  34. package/theme/themes/eea/extras/quote.less +3 -3
  35. package/theme/themes/eea/extras/quote.variables +4 -4
  36. package/theme/themes/eea/globals/site.overrides +2 -0
  37. package/theme/themes/eea/globals/site.variables +25 -6
  38. package/theme/themes/eea/globals/utilities.less +31 -0
  39. package/theme/themes/eea/tokens/borders.less +14 -0
  40. package/theme/themes/eea/tokens/colors.less +63 -0
  41. package/theme/themes/eea/tokens/fonts.less +2 -2
  42. package/theme/themes/eea/tokens/shadows.less +41 -0
  43. package/theme/themes/eea/tokens/shapes.less +6 -0
  44. package/theme/themes/eea/tokens/sizes.less +106 -17
  45. package/theme/themes/eea/tokens/tokens.less +5 -0
  46. package/theme/themes/eea/tokens/z-index.less +12 -0
  47. package/theme/themes/eea/views/card.overrides +108 -0
  48. package/theme/themes/eea/views/card.variables +29 -1
  49. package/theme/themes/eea/views/item.overrides +37 -0
  50. package/theme/themes/eea/views/item.variables +12 -3
@@ -0,0 +1,87 @@
1
+ @type: 'extra';
2
+ @element: 'downloadLabeledIcon';
3
+
4
+ @import (multiple) '../../theme.config';
5
+
6
+ /*******************************
7
+ Download Labeled Icon
8
+ *******************************/
9
+ .eea.download.labeled.icon {
10
+ display: flex;
11
+ justify-content: center;
12
+ flex-wrap: wrap;
13
+ width: @downloadLabeledIconWidth;
14
+ min-width: @downloadLabeledIconMinWidth;
15
+ text-align: @downloadLabeledIconTextAlign;
16
+
17
+ .label {
18
+ width: @downloadLabeledIconLabelWidth;
19
+ font-size: @downloadLabeledIconLabelFontSize;
20
+ color: @downloadLabeledIconLabelColor;
21
+ cursor: pointer;
22
+ }
23
+ .icon.wrapper {
24
+ text-align: center;
25
+ display: flex;
26
+ justify-content: center;
27
+ width: @downloadLabeledIconWrapperWidth;
28
+ padding: @downloadLabeledIconWrapperPadding;
29
+
30
+ .icon {
31
+ cursor: pointer;
32
+ display: flex;
33
+ align-items: center;
34
+ font-size: @downloadLabeledIconIconFontSize;
35
+ color: @downloadLabeledIconColor;
36
+ width: @downloadLabeledIconIconWidth;
37
+ height: @downloadLabeledIconWrapperIconHeight;
38
+ }
39
+ }
40
+ }
41
+
42
+ .ui.popup.download-popup {
43
+ margin: 0;
44
+ padding: 0;
45
+ border: none;
46
+
47
+ .dropdown {
48
+ position: relative;
49
+ width: @downloadLabeledIconDropdownWIdth;
50
+
51
+ .link.wrapper {
52
+ cursor: pointer;
53
+ background-color: @downloadLabeledIconLinkWrapperBackgroundColor;
54
+ z-index: @downloadLabeledIconLinkWrapperZIndex;
55
+ width: @downloadLabeledIconLinkWrapperWidth;
56
+
57
+ ul {
58
+ list-style-type: none;
59
+ margin: @downloadLabeledIconUlMargin;
60
+ padding: @downloadLabeledIconUlPaddingInlineStart;
61
+
62
+ a {
63
+ display: flex;
64
+ justify-content: center;
65
+ font-weight: @downloadLabeledIconALinkFontWeight;
66
+ font-size: @downloadLabeledIconLinkFontSize;
67
+ padding: @downloadLabeledIconLinkIconPadding;
68
+ color: @downloadLabeledIconALinkColor;
69
+
70
+ .icon {
71
+ font-size: @downloadLabeledIconLinkIconFontSize;
72
+ line-height: @downloadLabeledIconLinkIconLineHeight;
73
+ }
74
+ }
75
+ a:hover {
76
+ color: @downloadLabeledIconALinkColorHover;
77
+ }
78
+ li:hover {
79
+ background-color: @downloadLabeledIconLiHover;
80
+ }
81
+ }
82
+ }
83
+ .link.wrapper.hidden {
84
+ display: none;
85
+ }
86
+ }
87
+ }
@@ -0,0 +1,45 @@
1
+ /*******************************
2
+ Download Labeled Icon
3
+ *******************************/
4
+
5
+ /* Body */
6
+ @downloadLabeledIconWidth: min-content;
7
+ @downloadLabeledIconMinWidth: 5rem;
8
+ @downloadLabeledIconTextAlign: center;
9
+
10
+ /* Label */
11
+ @downloadLabeledIconLabelWidth: 100%;
12
+ @downloadLabeledIconLabelFontSize: 0.875rem;
13
+ @downloadLabeledIconLabelColor: @deepBlue;
14
+
15
+ /* Wrapper */
16
+ @downloadLabeledIconWrapperWidth: 100%;
17
+ @downloadLabeledIconWrapperPadding: 0.5rem;
18
+
19
+ /* Icon */
20
+ @downloadLabeledIconIconFontSize: 1.563rem;
21
+ @downloadLabeledIconWrapperIconHeight: 1.25rem;
22
+ @downloadLabeledIconIconWidth: 1.25rem;
23
+ @downloadLabeledIconColor: @mediumPersianBlue;
24
+
25
+ /* Link Wrapper */
26
+ @downloadLabeledIconLinkWrapperBackgroundColor: #f9f9f9;
27
+ @downloadLabeledIconLinkWrapperZIndex: 1;
28
+ @downloadLabeledIconLinkWrapperWidth: 100%;
29
+
30
+ /* Dropdown */
31
+ @downloadLabeledIconDropdownWIdth: 100%;
32
+
33
+ /* List */
34
+ @downloadLabeledIconUlMargin: 0.25rem 0;
35
+ @downloadLabeledIconUlPaddingInlineStart: 0.25rem 0px;
36
+ @downloadLabeledIconLiHover: @japaneseIndigo;
37
+
38
+ /* Link */
39
+ @downloadLabeledIconALinkFontWeight: 700;
40
+ @downloadLabeledIconLinkFontSize: 0.875rem;
41
+ @downloadLabeledIconLinkIconFontSize: 1rem;
42
+ @downloadLabeledIconLinkIconPadding: 0.125rem 0.875rem;
43
+ @downloadLabeledIconLinkIconLineHeight: 1.25rem;
44
+ @downloadLabeledIconALinkColor: @japaneseIndigo;
45
+ @downloadLabeledIconALinkColorHover: @white;
@@ -0,0 +1,20 @@
1
+ @type: 'extra';
2
+ @element: 'labeledIconGroup';
3
+
4
+ @import (multiple) '../../theme.config';
5
+
6
+ /*******************************
7
+ Labeled Icon Group
8
+ *******************************/
9
+ .eea.labeled.icon.group {
10
+ display: flex;
11
+ justify-content: center;
12
+ flex-wrap: wrap;
13
+ width: @labeledIconGroupWidth;
14
+ padding: @labeledIconGroupPadding;
15
+
16
+ .group.wrapper {
17
+ margin-left: @labeledIconGroupWrapperMarginLeft;
18
+ margin-right: @labeledIconGroupWrapperMarginRight;
19
+ }
20
+ }
@@ -0,0 +1,10 @@
1
+
2
+ /*******************************
3
+ Labeled Icon Group
4
+ *******************************/
5
+
6
+ @labeledIconGroupWidth : 100%;
7
+ @labeledIconGroupPadding : 0 2rem;
8
+
9
+ @labeledIconGroupWrapperMarginLeft: 0.25rem;
10
+ @labeledIconGroupWrapperMarginRight: 0.25rem;
@@ -0,0 +1,81 @@
1
+ @type: 'extra';
2
+ @element: 'languageLabeledIcon';
3
+
4
+ @import (multiple) '../../theme.config';
5
+
6
+ /*******************************
7
+ Language Labeled Icon
8
+ *******************************/
9
+
10
+ .eea.language.labeled.icon {
11
+ display: inline-flex;
12
+ flex-direction: column;
13
+ align-items: center;
14
+ width: @languageLabeledIconWidth;
15
+ min-width: @languageLabeledIconMinWidth;
16
+ text-align: @languageLabeledIconTextAlign;
17
+
18
+ .icon.wrapper {
19
+ cursor: pointer;
20
+ display: flex;
21
+ justify-content: center;
22
+ align-items: center;
23
+ font-size: @languageLabeledIconIconWrapperFontSize;
24
+ font-weight: @languageLabeledIconIconWrapperFontWeight;
25
+ color: @languageLabeledIconIconWrapperColor;
26
+
27
+ i {
28
+ color: @languageLabeledIconIconWrapperIconColor;
29
+ margin-right: @languageLabeledIconIconWrapperIconMarginRight;
30
+ font-size: @languageLabeledIconIconWrapperIconFontSize;
31
+ }
32
+ }
33
+
34
+ .label {
35
+ color: @languageLabeledIconLabelColor;
36
+ font-size: @languageLabeledIconLabelFontSize;
37
+ font-weight: @languageLabeledIconLabelFontWeight;
38
+ cursor: pointer;
39
+ }
40
+ }
41
+
42
+ .ui.popup.language-popup {
43
+ margin: 0;
44
+ padding: 0;
45
+ border: none;
46
+
47
+ .dropdown {
48
+
49
+ .link.wrapper {
50
+ display: flex;
51
+ width: @languageLabeledIconDropdowLinkWrapperWidth;
52
+ background-color: @languageLabeledIconDropdownBackgroundColor;
53
+ z-index: 1;
54
+
55
+ &.hidden {
56
+ display: none;
57
+ }
58
+
59
+ ul {
60
+ list-style-type: none;
61
+ margin: 0;
62
+ color: @languageLabeledIconLabelUlColor;
63
+ padding: @languageLabeledIconLabelUlPadding;
64
+
65
+ li {
66
+ cursor: pointer;
67
+ padding: @languageLabeledIconLabelUlLiPadding;
68
+ }
69
+
70
+ li:hover {
71
+ color: @languageLabeledIconLabelUlLiColor;
72
+ background-color: @languageLabeledIconLabelUlLiBackgroundColor;
73
+ }
74
+
75
+ li span {
76
+ font-weight: @languageLabeledIconLabelUlLiSpanFontWeight;
77
+ }
78
+ }
79
+ }
80
+ }
81
+ }
@@ -0,0 +1,41 @@
1
+ /*******************************
2
+ Language Labeled Icon
3
+ *******************************/
4
+
5
+ /* Body */
6
+ @languageLabeledIconWidth : min-content;
7
+ @languageLabeledIconMinWidth: 7rem;
8
+ @languageLabeledIconTextAlign: center;
9
+
10
+ /* Icon Wrapper */
11
+ @languageLabeledIconIconWrapperFontSize : 0.875rem;
12
+ @languageLabeledIconIconWrapperFontWeight : 400;
13
+ @languageLabeledIconIconWrapperColor : @deepBlue;
14
+
15
+ /* Icon */
16
+ @languageLabeledIconIconWrapperIconColor: @mediumPersianBlue;
17
+ @languageLabeledIconIconWrapperIconMarginRight: 0.25rem;
18
+ @languageLabeledIconIconWrapperIconFontSize: 1.5rem;
19
+
20
+ /* Label */
21
+ @languageLabeledIconLabelColor: @deepBlue;
22
+ @languageLabeledIconLabelFontSize: 0.875rem;
23
+ @languageLabeledIconLabelFontWeight: 400;
24
+
25
+ /* Dropdown */
26
+ @languageLabeledIconDropdownBackgroundColor: #f9f9f9;
27
+
28
+ /* Link */
29
+ @languageLabeledIconDropdowLinkWrapperWidth: max-content;
30
+
31
+
32
+ /* List */
33
+ @languageLabeledIconLabelUlMargin:0;
34
+ @languageLabeledIconLabelUlColor: @japaneseIndigo;
35
+ @languageLabeledIconLabelUlPadding: 0.25rem;
36
+
37
+ /* List Item */
38
+ @languageLabeledIconLabelUlLiPadding: 0.125rem 0.313rem;
39
+ @languageLabeledIconLabelUlLiColor: @white;
40
+ @languageLabeledIconLabelUlLiBackgroundColor: @japaneseIndigo;
41
+ @languageLabeledIconLabelUlLiSpanFontWeight: 700;
@@ -0,0 +1,41 @@
1
+ @type: 'extra';
2
+ @element: 'newTabLabeledIcon';
3
+
4
+ @import (multiple) '../../theme.config';
5
+
6
+ /*******************************
7
+ New Tab Labeled Icon
8
+ *******************************/
9
+ .eea.new.tab.labeled.icon {
10
+ display: flex;
11
+ justify-content: center;
12
+ flex-wrap: wrap;
13
+ width: @newTabLabeledIconWidth;
14
+ min-width: @newTabLabeledIconMinWidth;
15
+ text-align: @newTabLabeledIconTextAlign;
16
+
17
+ .label {
18
+ width: @newTabLabeledIconLabelWidth;
19
+ font-size: @newTabLabeledIconLabelFontSize;
20
+ color: @newTabLabeledIconLabelColor;
21
+ cursor: pointer;
22
+ }
23
+
24
+ .icon.wrapper {
25
+ text-align: center;
26
+ display: flex;
27
+ justify-content: center;
28
+ width: @newTabLabeledIconIconWrapperWidth;
29
+ padding: @newTabLabeledIconWrapperPadding;
30
+
31
+ .icon {
32
+ cursor: pointer;
33
+ display: flex;
34
+ align-items: center;
35
+ font-size: @newTabLabeledIconIconFontSize;
36
+ color: @newTabLabeledIconColor;
37
+ width: @newTabLabeledIconIconWidth;
38
+ height: @newTabLabeledIconWrapperIconHeight;
39
+ }
40
+ }
41
+ }
@@ -0,0 +1,23 @@
1
+ /*******************************
2
+ New Tab Labeled Icon
3
+ *******************************/
4
+
5
+ /* Body */
6
+ @newTabLabeledIconWidth: min-content;
7
+ @newTabLabeledIconMinWidth: 7rem;
8
+ @newTabLabeledIconTextAlign: center;
9
+
10
+ /* Label */
11
+ @newTabLabeledIconLabelWidth: 100%;
12
+ @newTabLabeledIconLabelFontSize: 0.875rem;
13
+ @newTabLabeledIconLabelColor: @deepBlue;
14
+ @newTabLabeledIconColor: @mediumPersianBlue;
15
+
16
+ /* Icon Wrapper */
17
+ @newTabLabeledIconIconWrapperWidth: 100%;
18
+ @newTabLabeledIconWrapperPadding: 0.5rem;
19
+
20
+ /* Icon */
21
+ @newTabLabeledIconIconFontSize: 1.563rem;
22
+ @newTabLabeledIconWrapperIconHeight: 1.25rem;
23
+ @newTabLabeledIconIconWidth: 1.25rem;
@@ -45,9 +45,9 @@
45
45
  }
46
46
 
47
47
  .info {
48
- text-align: @sourceInfoTextAlign;
49
- font-weight: @sourceInfoFontWeight;
50
- font-size: @sourceInfoFontSize;
48
+ text-align: @extraTextAlign;
49
+ font-weight: @extraFontWeight;
50
+ font-size: @extraFontSize;
51
51
  }
52
52
  }
53
53
 
@@ -22,10 +22,10 @@
22
22
  @sourceFontSize : 1.25rem;
23
23
  @sourceMargin : 0;
24
24
 
25
- /* Source Info */
26
- @sourceInfoTextAlign : right;
27
- @sourceInfoFontWeight : @normal;
28
- @sourceInfoFontSize : 1rem;
25
+ /* Extra info */
26
+ @extraTextAlign : right;
27
+ @extraFontWeight : @normal;
28
+ @extraFontSize : 1rem;
29
29
 
30
30
  /* Icon */
31
31
  @mobileQuoteIconSize : 2rem;
@@ -2,6 +2,8 @@
2
2
  Global Overrides
3
3
  *******************************/
4
4
 
5
+ @import '@eeacms/volto-eea-design-system/../theme/themes/eea/globals/utilities';
6
+
5
7
  /* Heading size adjustment */
6
8
  @media only screen and (min-width: @tabletBreakpoint) {
7
9
  h1 {
@@ -57,6 +57,7 @@
57
57
 
58
58
  @primaryColor : @darkCerulean;
59
59
  @secondaryColor : @pineGreen;
60
+ @tertiaryColor : @deepBlue;
60
61
 
61
62
  @lightPrimaryColor : @mediumPersianBlue;
62
63
  @lightSecondaryColor : @darkCyan;
@@ -71,12 +72,12 @@
71
72
  @headerLineHeight : 1.25;
72
73
  @headerFontWeight : 700;
73
74
 
74
- @h1 : unit((48 / 16), rem);
75
- @h2 : unit((40 / 16), rem);
76
- @h3 : unit((36 / 16), rem);
77
- @h4 : unit((24 / 16), rem);
78
- @h5 : unit((20 / 16), rem);
79
- @h6 : unit((18 / 16), rem);
75
+ @h1 : unit((48 / @fontSize), rem);
76
+ @h2 : unit((40 / @fontSize), rem);
77
+ @h3 : unit((36 / @fontSize), rem);
78
+ @h4 : unit((24 / @fontSize), rem);
79
+ @h5 : unit((20 / @fontSize), rem);
80
+ @h6 : unit((18 / @fontSize), rem);
80
81
 
81
82
  /*--------------
82
83
  Form Input
@@ -750,6 +751,15 @@
750
751
  @62px : unit( (62 / @emSize), rem);
751
752
  @63px : unit( (63 / @emSize), rem);
752
753
  @64px : unit( (64 / @emSize), rem);
754
+ // extra sizes
755
+ @68px : unit( (68 / @emSize), em);
756
+ @72px : unit( (72 / @emSize), em);
757
+ @76px : unit( (76 / @emSize), em);
758
+ @80px : unit( (80 / @emSize), rem);
759
+ @96px : unit( (96 / @emSize), rem);
760
+ @112px : unit( (112 / @emSize), rem);
761
+ @128px : unit( (128 / @emSize), rem);
762
+ @140px : unit( (140 / @emSize), rem);
753
763
 
754
764
  @relative1px : unit( (1 / @emSize), em);
755
765
  @relative2px : unit( (2 / @emSize), em);
@@ -815,6 +825,15 @@
815
825
  @relative62px : unit( (62 / @emSize), em);
816
826
  @relative63px : unit( (63 / @emSize), em);
817
827
  @relative64px : unit( (64 / @emSize), em);
828
+ // extra sizes
829
+ @relative68px : unit( (68 / @emSize), em);
830
+ @relative72px : unit( (72 / @emSize), em);
831
+ @relative76px : unit( (76 / @emSize), em);
832
+ @relative80px : unit( (80 / @emSize), em);
833
+ @relative96px : unit( (96 / @emSize), em);
834
+ @relative112px : unit( (112 / @emSize), em);
835
+ @relative128px : unit( (128 / @emSize), em);
836
+ @relative140px : unit( (140 / @emSize), em);
818
837
 
819
838
  /* Columns */
820
839
  @oneMobile : (1 / @mobileColumns * 100%);
@@ -0,0 +1,31 @@
1
+ // Color utilities
2
+ .color-fg-primary { color: @primaryColor !important; }
3
+ .color-fg-secondary { color: @secondaryColor !important; }
4
+ .color-fg-tertiary { color: @tertiaryColor !important; }
5
+ .color-fg-white { color: @white !important; }
6
+
7
+ .color-bg-primary { background-color: @primaryColor !important; }
8
+ .color-bg-secondary { background-color: @secondaryColor !important; }
9
+ .color-bg-tertiary { background-color: @tertiaryColor !important; }
10
+ .color-bg-grey { background-color: #F9F9F9 !important; }
11
+
12
+ // Display utilities
13
+ .d-flex { display: flex !important; }
14
+ .flex-items-start { align-items: flex-start !important; }
15
+ .flex-items-end { align-items: flex-end !important; }
16
+ .flex-items-center { align-items: center !important; }
17
+
18
+ // Align text utilities
19
+ .text-left { text-align: left !important; }
20
+ .text-center { text-align: center !important;}
21
+ .text-right { text-align: right !important; }
22
+
23
+ //Quotes utilities
24
+ .quoted::before {
25
+ content: "\ec51";
26
+ font-family: 'remixicon' !important;
27
+ }
28
+ .quoted::after {
29
+ content: "\ec52";
30
+ font-family: 'remixicon' !important;
31
+ }
@@ -0,0 +1,14 @@
1
+ @border-size-0: 0px;
2
+ @border-size-1: 1px;
3
+ @border-size-2: 2px;
4
+ @border-size-3: 3px;
5
+ @border-size-4: 5px;
6
+ @border-size-5: 10px;
7
+ @radius-0: 0px;
8
+ @radius-1: 2px;
9
+ @radius-2: 5px;
10
+ @radius-3: 1rem;
11
+ @radius-4: 2rem;
12
+ @radius-5: 4rem;
13
+ @radius-6: 8rem;
14
+ @radius-round: 1e5px;
@@ -0,0 +1,63 @@
1
+ @brown-0: #FFF6EC;
2
+ @brown-1: #FFEDD8;
3
+ @brown-2: #E7BC91;
4
+ @brown-3: #BC8A5F;
5
+ @brown-4: #8B5E34;
6
+ @brown-5: #603808;
7
+ @brown-6: #3D2201;
8
+
9
+ @purple-0: #EFEBF2;
10
+ @purple-1: #DFD6E7;
11
+ @purple-2: #BEADCE;
12
+ @purple-3: #9E84B6;
13
+ @purple-4: #7D5B9D;
14
+ @purple-5: #5C3285;
15
+ @purple-6: #3C096C;
16
+
17
+ @red-0: #FBEEF8;
18
+ @red-1: #F6DDF0;
19
+ @red-2: #E7B2C0;
20
+ @red-3: #D78890;
21
+ @red-4: #C65B59;
22
+ @red-5: #B83230;
23
+ @red-6: #5C1918;
24
+
25
+ @green-0: #C8FFF8;
26
+ @green-1: #85FFF1;
27
+ @green-2: #00F5D8;
28
+ @green-3: #00CCB4;
29
+ @green-4: #00A390;
30
+ @green-5: #007B6C;
31
+ @green-6: #005248;
32
+
33
+ @yellow-0: #FEF6CD;
34
+ @yellow-1: #FBEC9B;
35
+ @yellow-2: #FAD936;
36
+ @yellow-3: #FAC50D;
37
+ @yellow-4: #FDAF20;
38
+ @yellow-5: #FF9933;
39
+ @yellow-6: #E56B38;
40
+
41
+ @blue-0: #A0D7FF;
42
+ @blue-1: #47B3FF;
43
+ @blue-2: #0A99FF;
44
+ @blue-3: #0083E0;
45
+ @blue-4: #006BB8;
46
+ @blue-5: #004B7F;
47
+ @blue-6: #003052;
48
+
49
+ @blue-grey-0: #DAE8F4;
50
+ @blue-grey-1: #ACCAE5;
51
+ @blue-grey-2: #8EA6C2;
52
+ @blue-grey-3: #6989A5;
53
+ @blue-grey-4: #4C677F;
54
+ @blue-grey-5: #3D5265;
55
+ @blue-grey-6: #2E3E4C;
56
+
57
+ @grey-0: #FFFFFF;
58
+ @grey-1: #F9F9F9;
59
+ @grey-2: #E6E7E8;
60
+ @grey-3: #BCBEC0;
61
+ @grey-4: #808285;
62
+ @grey-5: #323232;
63
+ @grey-6: #000000;
@@ -22,8 +22,8 @@
22
22
  @font-letterspacing-5: .500em;
23
23
  @font-letterspacing-6: .750em;
24
24
  @font-letterspacing-7: 1em;
25
- @font-size-00: .5rem;
26
- @font-size-0: .75rem;
25
+ @font-size-00: .75rem;
26
+ @font-size-0: .875rem;
27
27
  @font-size-1: 1rem;
28
28
  @font-size-2: 1.1rem;
29
29
  @font-size-3: 1.25rem;
@@ -0,0 +1,41 @@
1
+ @shadow-color: 220, 3%, 15%;
2
+ @shadow-strength: 1%;
3
+
4
+ @shadow-0: none;
5
+ @shadow-1: 0 1px 2px -1px hsla(@shadow-color, calc(@shadow-strength + 9%));
6
+ @shadow-2:
7
+ 0 3px 5px -2px hsla(@shadow-color, calc(@shadow-strength + 3%)),
8
+ 0 7px 14px -5px hsla(@shadow-color, calc(@shadow-strength + 5%));
9
+ @shadow-3:
10
+ 0 -1px 3px 0 hsla(@shadow-color, calc(@shadow-strength + 2%)),
11
+ 0 1px 2px -5px hsla(@shadow-color, calc(@shadow-strength + 2%)),
12
+ 0 2px 5px -5px hsla(@shadow-color, calc(@shadow-strength + 4%)),
13
+ 0 4px 12px -5px hsla(@shadow-color, calc(@shadow-strength + 5%)),
14
+ 0 12px 15px -5px hsla(@shadow-color, calc(@shadow-strength + 7%));
15
+ @shadow-4:
16
+ 0 -2px 5px 0 hsla(@shadow-color, calc(@shadow-strength + 2%)),
17
+ 0 1px 1px -2px hsla(@shadow-color, calc(@shadow-strength + 3%)),
18
+ 0 2px 2px -2px hsla(@shadow-color, calc(@shadow-strength + 3%)),
19
+ 0 5px 5px -2px hsla(@shadow-color, calc(@shadow-strength + 4%)),
20
+ 0 9px 9px -2px hsla(@shadow-color, calc(@shadow-strength + 5%)),
21
+ 0 16px 16px -2px hsla(@shadow-color, calc(@shadow-strength + 6%));
22
+ @shadow-5:
23
+ 0 -1px 2px 0 hsla(@shadow-color, calc(@shadow-strength + 2%)),
24
+ 0 2px 1px -2px hsla(@shadow-color, calc(@shadow-strength + 3%)),
25
+ 0 5px 5px -2px hsla(@shadow-color, calc(@shadow-strength + 3%)),
26
+ 0 10px 10px -2px hsla(@shadow-color, calc(@shadow-strength + 4%)),
27
+ 0 20px 20px -2px hsla(@shadow-color, calc(@shadow-strength + 5%)),
28
+ 0 40px 40px -2px hsla(@shadow-color, calc(@shadow-strength + 7%));
29
+ @shadow-6:
30
+ 0 -1px 2px 0 hsla(@shadow-color, calc(@shadow-strength + 2%)),
31
+ 0 3px 2px -2px hsla(@shadow-color, calc(@shadow-strength + 3%)),
32
+ 0 7px 5px -2px hsla(@shadow-color, calc(@shadow-strength + 3%)),
33
+ 0 12px 10px -2px hsla(@shadow-color, calc(@shadow-strength + 4%)),
34
+ 0 22px 18px -2px hsla(@shadow-color, calc(@shadow-strength + 5%)),
35
+ 0 41px 33px -2px hsla(@shadow-color, calc(@shadow-strength + 6%)),
36
+ 0 100px 80px -2px hsla(@shadow-color, calc(@shadow-strength + 7%));
37
+ @inner-shadow-0: inset 0 0 0 1px hsla(@shadow-color, calc(@shadow-strength + 9%));
38
+ @inner-shadow-1: inset 0 1px 2px 0 hsla(@shadow-color, calc(@shadow-strength + 9%));
39
+ @inner-shadow-2: inset 0 1px 4px 0 hsla(@shadow-color, calc(@shadow-strength + 9%));
40
+ @inner-shadow-3: inset 0 2px 8px 0 hsla(@shadow-color, calc(@shadow-strength + 9%));
41
+ @inner-shadow-4: inset 0 2px 14px 0 hsla(@shadow-color, calc(@shadow-strength + 9%));
@@ -0,0 +1,6 @@
1
+ // Blob
2
+ @radius-blob-1: 30% 70% 70% 30% / 53% 30% 70% 47%;
3
+ @radius-blob-2: 53% 47% 34% 66% / 63% 46% 54% 37%;
4
+ @radius-blob-3: 37% 63% 56% 44% / 49% 56% 44% 51%;
5
+ @radius-blob-4: 63% 37% 37% 63% / 43% 37% 63% 57%;
6
+ @radius-blob-5: 49% 51% 48% 52% / 57% 44% 56% 43%;