@drivy/cobalt 0.34.0 → 0.34.1

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.
@@ -73,6 +73,7 @@ const text = {
73
73
  successAlt: "white/green.900/green.100",
74
74
  warning: "coral/orange.500/orange.300",
75
75
  connect: "turquoise/turquoise.500/turquoise.500",
76
+ connectAlt: "turquoise/turquoise.900/turquoise.50",
76
77
  driver: "graphite/navy.700/navy.700",
77
78
  owner: "white/white/grey.100",
78
79
  inversed: "white/white/white"
@@ -1 +1 @@
1
- {"version":3,"file":"theme.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"theme.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -2,8 +2,7 @@ import React from 'react';
2
2
  import cx from 'classnames';
3
3
 
4
4
  const Tag = ({ children, variant, className }) => (React.createElement("div", { className: cx("cobalt-Tag", className, {
5
- "cobalt-Tag--muted": variant === "muted",
6
- "cobalt-Tag--important": variant === "important",
5
+ [`cobalt-Tag--${variant}`]: variant,
7
6
  }) }, children));
8
7
 
9
8
  export { Tag };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/components/Tag/index.tsx"],"sourcesContent":["import React from \"react\"\nimport cx from \"classnames\"\n\nexport interface TagProps {\n children: React.ReactNode\n className?: string\n variant?: \"muted\" | \"important\"\n}\n\nexport const Tag = ({ children, variant, className }: TagProps) => (\n <div\n className={cx(\"cobalt-Tag\", className, {\n \"cobalt-Tag--muted\": variant === \"muted\",\n \"cobalt-Tag--important\": variant === \"important\",\n })}\n >\n {children}\n </div>\n)\n"],"names":[],"mappings":";;;AASa,MAAA,GAAG,GAAG,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAY,MAC5D,KAAA,CAAA,aAAA,CAAA,KAAA,EAAA,EACE,SAAS,EAAE,EAAE,CAAC,YAAY,EAAE,SAAS,EAAE;QACrC,mBAAmB,EAAE,OAAO,KAAK,OAAO;QACxC,uBAAuB,EAAE,OAAO,KAAK,WAAW;AACjD,KAAA,CAAC,EAED,EAAA,QAAQ,CACL;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/Tag/index.tsx"],"sourcesContent":["import React from \"react\"\nimport cx from \"classnames\"\n\nexport interface TagProps {\n children: React.ReactNode\n className?: string\n variant?:\n | \"muted\"\n | \"important\"\n | \"importantPrimary\"\n | \"success\"\n | \"successPrimary\"\n | \"info\"\n | \"accent\"\n | \"accentPrimary\"\n | \"connect\"\n}\n\nexport const Tag = ({ children, variant, className }: TagProps) => (\n <div\n className={cx(\"cobalt-Tag\", className, {\n [`cobalt-Tag--${variant}`]: variant,\n })}\n >\n {children}\n </div>\n)\n"],"names":[],"mappings":";;;AAkBa,MAAA,GAAG,GAAG,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAY,MAC5D,KAAA,CAAA,aAAA,CAAA,KAAA,EAAA,EACE,SAAS,EAAE,EAAE,CAAC,YAAY,EAAE,SAAS,EAAE;AACrC,QAAA,CAAC,CAAe,YAAA,EAAA,OAAO,CAAE,CAAA,GAAG,OAAO;AACpC,KAAA,CAAC,EAED,EAAA,QAAQ,CACL;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drivy/cobalt",
3
- "version": "0.34.0",
3
+ "version": "0.34.1",
4
4
  "description": "Opinionated design system for Drivy's projects.",
5
5
  "main": "src/index.js",
6
6
  "types": "types/index.d.ts",
@@ -18,7 +18,42 @@
18
18
  }
19
19
 
20
20
  &Tag--important {
21
- @include bg-color(errorAlt);
22
21
  @include text-color(errorAlt);
22
+ @include bg-color(errorAlt);
23
+ }
24
+
25
+ &Tag--importantPrimary {
26
+ @include text-color(inversed);
27
+ @include bg-color(error);
28
+ }
29
+
30
+ &Tag--success {
31
+ @include text-color(successAlt);
32
+ @include bg-color(successAlt);
33
+ }
34
+
35
+ &Tag--successPrimary {
36
+ @include text-color(inversed);
37
+ @include bg-color(success);
38
+ }
39
+
40
+ &Tag--info {
41
+ @include text-color(info);
42
+ @include bg-color(info);
43
+ }
44
+
45
+ &Tag--accent {
46
+ @include text-color(accentAlt);
47
+ @include bg-color(accentAlt);
48
+ }
49
+
50
+ &Tag--accentPrimary {
51
+ @include text-color(inversed);
52
+ @include bg-color(accent);
53
+ }
54
+
55
+ &Tag--connect {
56
+ @include text-color(connectAlt);
57
+ @include bg-color(connectAlt);
23
58
  }
24
59
  }
@@ -74,6 +74,7 @@ $theme-colors-map: (
74
74
  successAlt: var(--c-text-successAlt),
75
75
  warning: var(--c-text-warning),
76
76
  connect: var(--c-text-connect),
77
+ connectAlt: var(--c-text-connectAlt),
77
78
  driver: var(--c-text-driver),
78
79
  owner: var(--c-text-owner),
79
80
  inversed: var(--c-text-inversed)
@@ -0,0 +1,167 @@
1
+ /**********************************/
2
+ /* GENERATED WHEN BUILDING COBALT */
3
+ /*** DO NOT MODIFY IT DIRECTLY ****/
4
+ /**********************************/
5
+ :root {
6
+ --c-background-primary: var(--c-white);
7
+ --c-background-secondary: var(--c-white);
8
+ --c-background-secondaryInteractive: var(--c-white);
9
+ --c-background-secondaryInteractive--hover: var(--c-navy-50);
10
+ --c-background-accent: var(--c-purple-500);
11
+ --c-background-accentInteractive: var(--c-purple-500);
12
+ --c-background-accentInteractive--hover: var(--c-purple-700);
13
+ --c-background-accentAlt: var(--c-purple-100);
14
+ --c-background-accentAltInteractive: var(--c-purple-100);
15
+ --c-background-accentAltInteractive--hover: var(--c-purpleLight-100);
16
+ --c-background-info: var(--c-yellow-100);
17
+ --c-background-error: var(--c-red-500);
18
+ --c-background-errorInteractive: var(--c-red-500);
19
+ --c-background-errorInteractive--hover: var(--c-red-700);
20
+ --c-background-errorAlt: var(--c-red-100);
21
+ --c-background-success: var(--c-green-700);
22
+ --c-background-successAlt: var(--c-green-100);
23
+ --c-background-connect: var(--c-turquoise-500);
24
+ --c-background-connectInteractive: var(--c-turquoise-500);
25
+ --c-background-connectInteractive--hover: var(--c-turquoise-700);
26
+ --c-background-connectAlt: var(--c-turquoise-50);
27
+ --c-background-driver: var(--c-yellow-500);
28
+ --c-background-owner: var(--c-navy-700);
29
+ --c-background-disabled: var(--c-navy-100);
30
+ --c-background-neutral: var(--c-navy-100);
31
+ --c-background-neutralAlt: var(--c-navy-50);
32
+ --c-background-seasonLow: var(--c-season-100);
33
+ --c-background-seasonMedium: var(--c-season-200);
34
+ --c-background-seasonHigh: var(--c-season-300);
35
+ --c-background-seasonVeryHigh: var(--c-season-400);
36
+ --c-text-base: var(--c-navy-700);
37
+ --c-text-baseInteractive: var(--c-navy-700);
38
+ --c-text-baseInteractive--hover: var(--c-navy-300);
39
+ --c-text-subdued: var(--c-navy-300);
40
+ --c-text-subduedInteractive: var(--c-navy-300);
41
+ --c-text-subduedInteractive--hover: var(--c-navy-500);
42
+ --c-text-accent: var(--c-purple-500);
43
+ --c-text-accentInteractive: var(--c-purple-500);
44
+ --c-text-accentInteractive--hover: var(--c-purple-700);
45
+ --c-text-accentAlt: var(--c-purple-500);
46
+ --c-text-accentAltInteractive: var(--c-purple-500);
47
+ --c-text-accentAltInteractive--hover: var(--c-purple-700);
48
+ --c-text-info: var(--c-yellow-900);
49
+ --c-text-infoAlt: var(--c-yellow-500);
50
+ --c-text-error: var(--c-red-500);
51
+ --c-text-errorAlt: var(--c-red-500);
52
+ --c-text-success: var(--c-green-700);
53
+ --c-text-successAlt: var(--c-green-900);
54
+ --c-text-warning: var(--c-orange-500);
55
+ --c-text-connect: var(--c-turquoise-500);
56
+ --c-text-connectAlt: var(--c-turquoise-900);
57
+ --c-text-driver: var(--c-navy-700);
58
+ --c-text-owner: var(--c-white);
59
+ --c-text-inversed: var(--c-white);
60
+ --c-buttonBackground-selected: var(--c-purple-100);
61
+ --c-buttonBackground-destructiveInteractive: var(--c-red-100);
62
+ --c-buttonBackground-destructiveInteractive--hover: var(--c-red-120);
63
+ --c-buttonBackground-destructiveInteractive--press: var(--c-red-150);
64
+ --c-buttonBackground-disabled: var(--c-navy-100);
65
+ --c-buttonBackground-primaryInteractive: var(--c-purple-500);
66
+ --c-buttonBackground-primaryInteractive--hover: var(--c-purple-700);
67
+ --c-buttonBackground-primaryInteractive--press: var(--c-purple-900);
68
+ --c-buttonBackground-secondaryInteractive: var(--c-white);
69
+ --c-buttonBackground-secondaryInteractive--hover: var(--c-white);
70
+ --c-buttonBackground-secondaryInteractive--press: var(--c-white);
71
+ --c-buttonBackground-success: var(--c-green-700);
72
+ --c-buttonBackground-successAltInteractive: var(--c-green-100);
73
+ --c-buttonBackground-successAltInteractive--hover: var(--c-green-120);
74
+ --c-buttonBackground-successAltInteractive--press: var(--c-green-150);
75
+ --c-buttonBackground-tertiaryInteractive: var(--c-white);
76
+ --c-buttonBackground-tertiaryInteractive--hover: var(--c-white);
77
+ --c-buttonBackground-tertiaryInteractive--press: var(--c-white);
78
+ --c-buttonIcon-selected: var(--c-purple-500);
79
+ --c-buttonIcon-destructiveInteractive: var(--c-red-500);
80
+ --c-buttonIcon-destructiveInteractive--hover: var(--c-red-500);
81
+ --c-buttonIcon-destructiveInteractive--press: var(--c-red-500);
82
+ --c-buttonIcon-disabled: var(--c-navy-300);
83
+ --c-buttonIcon-primaryInteractive: var(--c-white);
84
+ --c-buttonIcon-primaryInteractive--hover: var(--c-white);
85
+ --c-buttonIcon-primaryInteractive--press: var(--c-white);
86
+ --c-buttonIcon-secondaryInteractive: var(--c-purple-500);
87
+ --c-buttonIcon-secondaryInteractive--hover: var(--c-purple-700);
88
+ --c-buttonIcon-secondaryInteractive--press: var(--c-purple-900);
89
+ --c-buttonIcon-success: var(--c-white);
90
+ --c-buttonIcon-successAltInteractive: var(--c-green-900);
91
+ --c-buttonIcon-successAltInteractive--hover: var(--c-green-900);
92
+ --c-buttonIcon-successAltInteractive--press: var(--c-green-900);
93
+ --c-buttonIcon-tertiaryInteractive: var(--c-purple-500);
94
+ --c-buttonIcon-tertiaryInteractive--hover: var(--c-purple-700);
95
+ --c-buttonIcon-tertiaryInteractive--press: var(--c-purple-900);
96
+ --c-buttonLabel-selected: var(--c-purple-500);
97
+ --c-buttonLabel-destructiveInteractive: var(--c-red-500);
98
+ --c-buttonLabel-destructiveInteractive--hover: var(--c-red-500);
99
+ --c-buttonLabel-destructiveInteractive--press: var(--c-red-500);
100
+ --c-buttonLabel-disabled: var(--c-navy-300);
101
+ --c-buttonLabel-primaryInteractive: var(--c-white);
102
+ --c-buttonLabel-primaryInteractive--hover: var(--c-white);
103
+ --c-buttonLabel-primaryInteractive--press: var(--c-white);
104
+ --c-buttonLabel-secondaryInteractive: var(--c-purple-500);
105
+ --c-buttonLabel-secondaryInteractive--hover: var(--c-purple-700);
106
+ --c-buttonLabel-secondaryInteractive--press: var(--c-purple-900);
107
+ --c-buttonLabel-success: var(--c-white);
108
+ --c-buttonLabel-successAltInteractive: var(--c-green-900);
109
+ --c-buttonLabel-successAltInteractive--hover: var(--c-green-900);
110
+ --c-buttonLabel-successAltInteractive--press: var(--c-green-900);
111
+ --c-buttonLabel-tertiaryInteractive: var(--c-purple-500);
112
+ --c-buttonLabel-tertiaryInteractive--hover: var(--c-purple-700);
113
+ --c-buttonLabel-tertiaryInteractive--press: var(--c-purple-900);
114
+ --c-icon-base: var(--c-navy-500);
115
+ --c-icon-baseInteractive: var(--c-navy-500);
116
+ --c-icon-baseInteractive--hover: var(--c-navy-700);
117
+ --c-icon-subdued: var(--c-navy-300);
118
+ --c-icon-subduedInteractive: var(--c-navy-300);
119
+ --c-icon-subduedInteractive--hover: var(--c-navy-500);
120
+ --c-icon-accent: var(--c-purple-500);
121
+ --c-icon-accentInteractive: var(--c-purple-500);
122
+ --c-icon-accentInteractive--hover: var(--c-purple-700);
123
+ --c-icon-accentAlt: var(--c-purple-500);
124
+ --c-icon-accentAltInteractive: var(--c-purple-500);
125
+ --c-icon-accentAltInteractive--hover: var(--c-purple-700);
126
+ --c-icon-info: var(--c-yellow-900);
127
+ --c-icon-infoAlt: var(--c-yellow-500);
128
+ --c-icon-error: var(--c-red-500);
129
+ --c-icon-errorAlt: var(--c-red-500);
130
+ --c-icon-success: var(--c-green-700);
131
+ --c-icon-successAlt: var(--c-green-900);
132
+ --c-icon-warning: var(--c-orange-500);
133
+ --c-icon-connect: var(--c-turquoise-500);
134
+ --c-icon-connectAlt: var(--c-turquoise-900);
135
+ --c-icon-driver: var(--c-navy-700);
136
+ --c-icon-owner: var(--c-white);
137
+ --c-icon-inversed: var(--c-white);
138
+ --c-icon-disabled: var(--c-navy-100);
139
+ --c-stroke-base: var(--c-navy-100);
140
+ --c-stroke-baseInteractive: var(--c-navy-100);
141
+ --c-stroke-baseInteractive--hover: var(--c-navy-300);
142
+ --c-stroke-baseInteractive--press: var(--c-navy-500);
143
+ --c-stroke-strong: var(--c-navy-300);
144
+ --c-stroke-strongInteractive: var(--c-navy-300);
145
+ --c-stroke-strongInteractive--hover: var(--c-navy-500);
146
+ --c-stroke-strongInteractive--press: var(--c-navy-700);
147
+ --c-stroke-subdued: var(--c-navy-100);
148
+ --c-stroke-accent: var(--c-purple-500);
149
+ --c-stroke-accentInteractive: var(--c-purple-500);
150
+ --c-stroke-accentInteractive--hover: var(--c-purple-700);
151
+ --c-stroke-accentInteractive--press: var(--c-purple-900);
152
+ --c-stroke-accentAlt: var(--c-purple-300);
153
+ --c-stroke-error: var(--c-red-500);
154
+ --c-stroke-errorAlt: var(--c-red-500);
155
+ --c-stroke-success: var(--c-green-500);
156
+ --c-stroke-successAlt: var(--c-green-500);
157
+ --c-fill-base: var(--c-navy-500);
158
+ --c-fill-secondary: var(--c-yellow-500);
159
+ --c-fill-subdued: var(--c-navy-100);
160
+ --c-fill-accent: var(--c-purple-500);
161
+ --c-fill-accentAlt: var(--c-purple-100);
162
+ --c-fill-error: var(--c-red-500);
163
+ --c-fill-negative: var(--c-red-150);
164
+ --c-fill-success: var(--c-green-500);
165
+ --c-fill-disabled: var(--c-navy-300);
166
+ --c-fill-neutral: var(--c-navy-50);
167
+ }
@@ -2,169 +2,6 @@
2
2
  /* GENERATED WHEN BUILDING COBALT */
3
3
  /*** DO NOT MODIFY IT DIRECTLY ****/
4
4
  /**********************************/
5
- :root {
6
- --c-background-primary: var(--c-white);
7
- --c-background-secondary: var(--c-white);
8
- --c-background-secondaryInteractive: var(--c-white);
9
- --c-background-secondaryInteractive--hover: var(--c-navy-50);
10
- --c-background-accent: var(--c-purple-500);
11
- --c-background-accentInteractive: var(--c-purple-500);
12
- --c-background-accentInteractive--hover: var(--c-purple-700);
13
- --c-background-accentAlt: var(--c-purple-100);
14
- --c-background-accentAltInteractive: var(--c-purple-100);
15
- --c-background-accentAltInteractive--hover: var(--c-purpleLight-100);
16
- --c-background-info: var(--c-yellow-100);
17
- --c-background-error: var(--c-red-500);
18
- --c-background-errorInteractive: var(--c-red-500);
19
- --c-background-errorInteractive--hover: var(--c-red-700);
20
- --c-background-errorAlt: var(--c-red-100);
21
- --c-background-success: var(--c-green-700);
22
- --c-background-successAlt: var(--c-green-100);
23
- --c-background-connect: var(--c-turquoise-500);
24
- --c-background-connectInteractive: var(--c-turquoise-500);
25
- --c-background-connectInteractive--hover: var(--c-turquoise-700);
26
- --c-background-connectAlt: var(--c-turquoise-50);
27
- --c-background-driver: var(--c-yellow-500);
28
- --c-background-owner: var(--c-navy-700);
29
- --c-background-disabled: var(--c-navy-100);
30
- --c-background-neutral: var(--c-navy-100);
31
- --c-background-neutralAlt: var(--c-navy-50);
32
- --c-background-seasonLow: var(--c-season-100);
33
- --c-background-seasonMedium: var(--c-season-200);
34
- --c-background-seasonHigh: var(--c-season-300);
35
- --c-background-seasonVeryHigh: var(--c-season-400);
36
- --c-text-base: var(--c-navy-700);
37
- --c-text-baseInteractive: var(--c-navy-700);
38
- --c-text-baseInteractive--hover: var(--c-navy-300);
39
- --c-text-subdued: var(--c-navy-300);
40
- --c-text-subduedInteractive: var(--c-navy-300);
41
- --c-text-subduedInteractive--hover: var(--c-navy-500);
42
- --c-text-accent: var(--c-purple-500);
43
- --c-text-accentInteractive: var(--c-purple-500);
44
- --c-text-accentInteractive--hover: var(--c-purple-700);
45
- --c-text-accentAlt: var(--c-purple-500);
46
- --c-text-accentAltInteractive: var(--c-purple-500);
47
- --c-text-accentAltInteractive--hover: var(--c-purple-700);
48
- --c-text-info: var(--c-yellow-900);
49
- --c-text-infoAlt: var(--c-yellow-500);
50
- --c-text-error: var(--c-red-500);
51
- --c-text-errorAlt: var(--c-red-500);
52
- --c-text-success: var(--c-green-700);
53
- --c-text-successAlt: var(--c-green-900);
54
- --c-text-warning: var(--c-orange-500);
55
- --c-text-connect: var(--c-turquoise-500);
56
- --c-text-driver: var(--c-navy-700);
57
- --c-text-owner: var(--c-white);
58
- --c-text-inversed: var(--c-white);
59
- --c-buttonBackground-selected: var(--c-purple-100);
60
- --c-buttonBackground-destructiveInteractive: var(--c-red-100);
61
- --c-buttonBackground-destructiveInteractive--hover: var(--c-red-120);
62
- --c-buttonBackground-destructiveInteractive--press: var(--c-red-150);
63
- --c-buttonBackground-disabled: var(--c-navy-100);
64
- --c-buttonBackground-primaryInteractive: var(--c-purple-500);
65
- --c-buttonBackground-primaryInteractive--hover: var(--c-purple-700);
66
- --c-buttonBackground-primaryInteractive--press: var(--c-purple-900);
67
- --c-buttonBackground-secondaryInteractive: var(--c-white);
68
- --c-buttonBackground-secondaryInteractive--hover: var(--c-white);
69
- --c-buttonBackground-secondaryInteractive--press: var(--c-white);
70
- --c-buttonBackground-success: var(--c-green-700);
71
- --c-buttonBackground-successAltInteractive: var(--c-green-100);
72
- --c-buttonBackground-successAltInteractive--hover: var(--c-green-120);
73
- --c-buttonBackground-successAltInteractive--press: var(--c-green-150);
74
- --c-buttonBackground-tertiaryInteractive: var(--c-white);
75
- --c-buttonBackground-tertiaryInteractive--hover: var(--c-white);
76
- --c-buttonBackground-tertiaryInteractive--press: var(--c-white);
77
- --c-buttonIcon-selected: var(--c-purple-500);
78
- --c-buttonIcon-destructiveInteractive: var(--c-red-500);
79
- --c-buttonIcon-destructiveInteractive--hover: var(--c-red-500);
80
- --c-buttonIcon-destructiveInteractive--press: var(--c-red-500);
81
- --c-buttonIcon-disabled: var(--c-navy-300);
82
- --c-buttonIcon-primaryInteractive: var(--c-white);
83
- --c-buttonIcon-primaryInteractive--hover: var(--c-white);
84
- --c-buttonIcon-primaryInteractive--press: var(--c-white);
85
- --c-buttonIcon-secondaryInteractive: var(--c-purple-500);
86
- --c-buttonIcon-secondaryInteractive--hover: var(--c-purple-700);
87
- --c-buttonIcon-secondaryInteractive--press: var(--c-purple-900);
88
- --c-buttonIcon-success: var(--c-white);
89
- --c-buttonIcon-successAltInteractive: var(--c-green-900);
90
- --c-buttonIcon-successAltInteractive--hover: var(--c-green-900);
91
- --c-buttonIcon-successAltInteractive--press: var(--c-green-900);
92
- --c-buttonIcon-tertiaryInteractive: var(--c-purple-500);
93
- --c-buttonIcon-tertiaryInteractive--hover: var(--c-purple-700);
94
- --c-buttonIcon-tertiaryInteractive--press: var(--c-purple-900);
95
- --c-buttonLabel-selected: var(--c-purple-500);
96
- --c-buttonLabel-destructiveInteractive: var(--c-red-500);
97
- --c-buttonLabel-destructiveInteractive--hover: var(--c-red-500);
98
- --c-buttonLabel-destructiveInteractive--press: var(--c-red-500);
99
- --c-buttonLabel-disabled: var(--c-navy-300);
100
- --c-buttonLabel-primaryInteractive: var(--c-white);
101
- --c-buttonLabel-primaryInteractive--hover: var(--c-white);
102
- --c-buttonLabel-primaryInteractive--press: var(--c-white);
103
- --c-buttonLabel-secondaryInteractive: var(--c-purple-500);
104
- --c-buttonLabel-secondaryInteractive--hover: var(--c-purple-700);
105
- --c-buttonLabel-secondaryInteractive--press: var(--c-purple-900);
106
- --c-buttonLabel-success: var(--c-white);
107
- --c-buttonLabel-successAltInteractive: var(--c-green-900);
108
- --c-buttonLabel-successAltInteractive--hover: var(--c-green-900);
109
- --c-buttonLabel-successAltInteractive--press: var(--c-green-900);
110
- --c-buttonLabel-tertiaryInteractive: var(--c-purple-500);
111
- --c-buttonLabel-tertiaryInteractive--hover: var(--c-purple-700);
112
- --c-buttonLabel-tertiaryInteractive--press: var(--c-purple-900);
113
- --c-icon-base: var(--c-navy-500);
114
- --c-icon-baseInteractive: var(--c-navy-500);
115
- --c-icon-baseInteractive--hover: var(--c-navy-700);
116
- --c-icon-subdued: var(--c-navy-300);
117
- --c-icon-subduedInteractive: var(--c-navy-300);
118
- --c-icon-subduedInteractive--hover: var(--c-navy-500);
119
- --c-icon-accent: var(--c-purple-500);
120
- --c-icon-accentInteractive: var(--c-purple-500);
121
- --c-icon-accentInteractive--hover: var(--c-purple-700);
122
- --c-icon-accentAlt: var(--c-purple-500);
123
- --c-icon-accentAltInteractive: var(--c-purple-500);
124
- --c-icon-accentAltInteractive--hover: var(--c-purple-700);
125
- --c-icon-info: var(--c-yellow-900);
126
- --c-icon-infoAlt: var(--c-yellow-500);
127
- --c-icon-error: var(--c-red-500);
128
- --c-icon-errorAlt: var(--c-red-500);
129
- --c-icon-success: var(--c-green-700);
130
- --c-icon-successAlt: var(--c-green-900);
131
- --c-icon-warning: var(--c-orange-500);
132
- --c-icon-connect: var(--c-turquoise-500);
133
- --c-icon-connectAlt: var(--c-turquoise-900);
134
- --c-icon-driver: var(--c-navy-700);
135
- --c-icon-owner: var(--c-white);
136
- --c-icon-inversed: var(--c-white);
137
- --c-icon-disabled: var(--c-navy-100);
138
- --c-stroke-base: var(--c-navy-100);
139
- --c-stroke-baseInteractive: var(--c-navy-100);
140
- --c-stroke-baseInteractive--hover: var(--c-navy-300);
141
- --c-stroke-baseInteractive--press: var(--c-navy-500);
142
- --c-stroke-strong: var(--c-navy-300);
143
- --c-stroke-strongInteractive: var(--c-navy-300);
144
- --c-stroke-strongInteractive--hover: var(--c-navy-500);
145
- --c-stroke-strongInteractive--press: var(--c-navy-700);
146
- --c-stroke-subdued: var(--c-navy-100);
147
- --c-stroke-accent: var(--c-purple-500);
148
- --c-stroke-accentInteractive: var(--c-purple-500);
149
- --c-stroke-accentInteractive--hover: var(--c-purple-700);
150
- --c-stroke-accentInteractive--press: var(--c-purple-900);
151
- --c-stroke-accentAlt: var(--c-purple-300);
152
- --c-stroke-error: var(--c-red-500);
153
- --c-stroke-errorAlt: var(--c-red-500);
154
- --c-stroke-success: var(--c-green-500);
155
- --c-stroke-successAlt: var(--c-green-500);
156
- --c-fill-base: var(--c-navy-500);
157
- --c-fill-secondary: var(--c-yellow-500);
158
- --c-fill-subdued: var(--c-navy-100);
159
- --c-fill-accent: var(--c-purple-500);
160
- --c-fill-accentAlt: var(--c-purple-100);
161
- --c-fill-error: var(--c-red-500);
162
- --c-fill-negative: var(--c-red-150);
163
- --c-fill-success: var(--c-green-500);
164
- --c-fill-disabled: var(--c-navy-300);
165
- --c-fill-neutral: var(--c-navy-50);
166
- }
167
-
168
5
  .use-cobalt-light-theme {
169
6
  --c-background-primary: var(--c-white);
170
7
  --c-background-secondary: var(--c-white);
@@ -216,6 +53,7 @@
216
53
  --c-text-successAlt: var(--c-green-900);
217
54
  --c-text-warning: var(--c-orange-500);
218
55
  --c-text-connect: var(--c-turquoise-500);
56
+ --c-text-connectAlt: var(--c-turquoise-900);
219
57
  --c-text-driver: var(--c-navy-700);
220
58
  --c-text-owner: var(--c-white);
221
59
  --c-text-inversed: var(--c-white);
@@ -379,6 +217,7 @@
379
217
  --c-text-successAlt: var(--c-green-100);
380
218
  --c-text-warning: var(--c-orange-300);
381
219
  --c-text-connect: var(--c-turquoise-500);
220
+ --c-text-connectAlt: var(--c-turquoise-50);
382
221
  --c-text-driver: var(--c-navy-700);
383
222
  --c-text-owner: var(--c-grey-100);
384
223
  --c-text-inversed: var(--c-white);
package/styles/core.scss CHANGED
@@ -1,6 +1,6 @@
1
1
  @import "core/fonts";
2
2
  @import "core/palette";
3
- @import "core/theme";
3
+ @import "core/default-theme";
4
4
  @import "core/utilities";
5
5
  @import "core/color";
6
6
  @import "core/animation";
package/tokens/theme.js CHANGED
@@ -69,6 +69,7 @@ const text = {
69
69
  successAlt: "white/green.900/green.100",
70
70
  warning: "coral/orange.500/orange.300",
71
71
  connect: "turquoise/turquoise.500/turquoise.500",
72
+ connectAlt: "turquoise/turquoise.900/turquoise.50",
72
73
  driver: "graphite/navy.700/navy.700",
73
74
  owner: "white/white/grey.100",
74
75
  inversed: "white/white/white"
@@ -1 +1 @@
1
- {"version":3,"file":"theme.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"theme.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -2,6 +2,6 @@ import React from "react";
2
2
  export interface TagProps {
3
3
  children: React.ReactNode;
4
4
  className?: string;
5
- variant?: "muted" | "important";
5
+ variant?: "muted" | "important" | "importantPrimary" | "success" | "successPrimary" | "info" | "accent" | "accentPrimary" | "connect";
6
6
  }
7
7
  export declare const Tag: ({ children, variant, className }: TagProps) => JSX.Element;
@@ -527,6 +527,7 @@ export declare const theme: {
527
527
  successAlt: string;
528
528
  warning: string;
529
529
  connect: string;
530
+ connectAlt: string;
530
531
  driver: string;
531
532
  owner: string;
532
533
  inversed: string;
package/utilities.css CHANGED
@@ -106,169 +106,6 @@
106
106
 
107
107
  /**********************************/
108
108
 
109
- :root {
110
- --c-background-primary: var(--c-white);
111
- --c-background-secondary: var(--c-white);
112
- --c-background-secondaryInteractive: var(--c-white);
113
- --c-background-secondaryInteractive--hover: var(--c-navy-50);
114
- --c-background-accent: var(--c-purple-500);
115
- --c-background-accentInteractive: var(--c-purple-500);
116
- --c-background-accentInteractive--hover: var(--c-purple-700);
117
- --c-background-accentAlt: var(--c-purple-100);
118
- --c-background-accentAltInteractive: var(--c-purple-100);
119
- --c-background-accentAltInteractive--hover: var(--c-purpleLight-100);
120
- --c-background-info: var(--c-yellow-100);
121
- --c-background-error: var(--c-red-500);
122
- --c-background-errorInteractive: var(--c-red-500);
123
- --c-background-errorInteractive--hover: var(--c-red-700);
124
- --c-background-errorAlt: var(--c-red-100);
125
- --c-background-success: var(--c-green-700);
126
- --c-background-successAlt: var(--c-green-100);
127
- --c-background-connect: var(--c-turquoise-500);
128
- --c-background-connectInteractive: var(--c-turquoise-500);
129
- --c-background-connectInteractive--hover: var(--c-turquoise-700);
130
- --c-background-connectAlt: var(--c-turquoise-50);
131
- --c-background-driver: var(--c-yellow-500);
132
- --c-background-owner: var(--c-navy-700);
133
- --c-background-disabled: var(--c-navy-100);
134
- --c-background-neutral: var(--c-navy-100);
135
- --c-background-neutralAlt: var(--c-navy-50);
136
- --c-background-seasonLow: var(--c-season-100);
137
- --c-background-seasonMedium: var(--c-season-200);
138
- --c-background-seasonHigh: var(--c-season-300);
139
- --c-background-seasonVeryHigh: var(--c-season-400);
140
- --c-text-base: var(--c-navy-700);
141
- --c-text-baseInteractive: var(--c-navy-700);
142
- --c-text-baseInteractive--hover: var(--c-navy-300);
143
- --c-text-subdued: var(--c-navy-300);
144
- --c-text-subduedInteractive: var(--c-navy-300);
145
- --c-text-subduedInteractive--hover: var(--c-navy-500);
146
- --c-text-accent: var(--c-purple-500);
147
- --c-text-accentInteractive: var(--c-purple-500);
148
- --c-text-accentInteractive--hover: var(--c-purple-700);
149
- --c-text-accentAlt: var(--c-purple-500);
150
- --c-text-accentAltInteractive: var(--c-purple-500);
151
- --c-text-accentAltInteractive--hover: var(--c-purple-700);
152
- --c-text-info: var(--c-yellow-900);
153
- --c-text-infoAlt: var(--c-yellow-500);
154
- --c-text-error: var(--c-red-500);
155
- --c-text-errorAlt: var(--c-red-500);
156
- --c-text-success: var(--c-green-700);
157
- --c-text-successAlt: var(--c-green-900);
158
- --c-text-warning: var(--c-orange-500);
159
- --c-text-connect: var(--c-turquoise-500);
160
- --c-text-driver: var(--c-navy-700);
161
- --c-text-owner: var(--c-white);
162
- --c-text-inversed: var(--c-white);
163
- --c-buttonBackground-selected: var(--c-purple-100);
164
- --c-buttonBackground-destructiveInteractive: var(--c-red-100);
165
- --c-buttonBackground-destructiveInteractive--hover: var(--c-red-120);
166
- --c-buttonBackground-destructiveInteractive--press: var(--c-red-150);
167
- --c-buttonBackground-disabled: var(--c-navy-100);
168
- --c-buttonBackground-primaryInteractive: var(--c-purple-500);
169
- --c-buttonBackground-primaryInteractive--hover: var(--c-purple-700);
170
- --c-buttonBackground-primaryInteractive--press: var(--c-purple-900);
171
- --c-buttonBackground-secondaryInteractive: var(--c-white);
172
- --c-buttonBackground-secondaryInteractive--hover: var(--c-white);
173
- --c-buttonBackground-secondaryInteractive--press: var(--c-white);
174
- --c-buttonBackground-success: var(--c-green-700);
175
- --c-buttonBackground-successAltInteractive: var(--c-green-100);
176
- --c-buttonBackground-successAltInteractive--hover: var(--c-green-120);
177
- --c-buttonBackground-successAltInteractive--press: var(--c-green-150);
178
- --c-buttonBackground-tertiaryInteractive: var(--c-white);
179
- --c-buttonBackground-tertiaryInteractive--hover: var(--c-white);
180
- --c-buttonBackground-tertiaryInteractive--press: var(--c-white);
181
- --c-buttonIcon-selected: var(--c-purple-500);
182
- --c-buttonIcon-destructiveInteractive: var(--c-red-500);
183
- --c-buttonIcon-destructiveInteractive--hover: var(--c-red-500);
184
- --c-buttonIcon-destructiveInteractive--press: var(--c-red-500);
185
- --c-buttonIcon-disabled: var(--c-navy-300);
186
- --c-buttonIcon-primaryInteractive: var(--c-white);
187
- --c-buttonIcon-primaryInteractive--hover: var(--c-white);
188
- --c-buttonIcon-primaryInteractive--press: var(--c-white);
189
- --c-buttonIcon-secondaryInteractive: var(--c-purple-500);
190
- --c-buttonIcon-secondaryInteractive--hover: var(--c-purple-700);
191
- --c-buttonIcon-secondaryInteractive--press: var(--c-purple-900);
192
- --c-buttonIcon-success: var(--c-white);
193
- --c-buttonIcon-successAltInteractive: var(--c-green-900);
194
- --c-buttonIcon-successAltInteractive--hover: var(--c-green-900);
195
- --c-buttonIcon-successAltInteractive--press: var(--c-green-900);
196
- --c-buttonIcon-tertiaryInteractive: var(--c-purple-500);
197
- --c-buttonIcon-tertiaryInteractive--hover: var(--c-purple-700);
198
- --c-buttonIcon-tertiaryInteractive--press: var(--c-purple-900);
199
- --c-buttonLabel-selected: var(--c-purple-500);
200
- --c-buttonLabel-destructiveInteractive: var(--c-red-500);
201
- --c-buttonLabel-destructiveInteractive--hover: var(--c-red-500);
202
- --c-buttonLabel-destructiveInteractive--press: var(--c-red-500);
203
- --c-buttonLabel-disabled: var(--c-navy-300);
204
- --c-buttonLabel-primaryInteractive: var(--c-white);
205
- --c-buttonLabel-primaryInteractive--hover: var(--c-white);
206
- --c-buttonLabel-primaryInteractive--press: var(--c-white);
207
- --c-buttonLabel-secondaryInteractive: var(--c-purple-500);
208
- --c-buttonLabel-secondaryInteractive--hover: var(--c-purple-700);
209
- --c-buttonLabel-secondaryInteractive--press: var(--c-purple-900);
210
- --c-buttonLabel-success: var(--c-white);
211
- --c-buttonLabel-successAltInteractive: var(--c-green-900);
212
- --c-buttonLabel-successAltInteractive--hover: var(--c-green-900);
213
- --c-buttonLabel-successAltInteractive--press: var(--c-green-900);
214
- --c-buttonLabel-tertiaryInteractive: var(--c-purple-500);
215
- --c-buttonLabel-tertiaryInteractive--hover: var(--c-purple-700);
216
- --c-buttonLabel-tertiaryInteractive--press: var(--c-purple-900);
217
- --c-icon-base: var(--c-navy-500);
218
- --c-icon-baseInteractive: var(--c-navy-500);
219
- --c-icon-baseInteractive--hover: var(--c-navy-700);
220
- --c-icon-subdued: var(--c-navy-300);
221
- --c-icon-subduedInteractive: var(--c-navy-300);
222
- --c-icon-subduedInteractive--hover: var(--c-navy-500);
223
- --c-icon-accent: var(--c-purple-500);
224
- --c-icon-accentInteractive: var(--c-purple-500);
225
- --c-icon-accentInteractive--hover: var(--c-purple-700);
226
- --c-icon-accentAlt: var(--c-purple-500);
227
- --c-icon-accentAltInteractive: var(--c-purple-500);
228
- --c-icon-accentAltInteractive--hover: var(--c-purple-700);
229
- --c-icon-info: var(--c-yellow-900);
230
- --c-icon-infoAlt: var(--c-yellow-500);
231
- --c-icon-error: var(--c-red-500);
232
- --c-icon-errorAlt: var(--c-red-500);
233
- --c-icon-success: var(--c-green-700);
234
- --c-icon-successAlt: var(--c-green-900);
235
- --c-icon-warning: var(--c-orange-500);
236
- --c-icon-connect: var(--c-turquoise-500);
237
- --c-icon-connectAlt: var(--c-turquoise-900);
238
- --c-icon-driver: var(--c-navy-700);
239
- --c-icon-owner: var(--c-white);
240
- --c-icon-inversed: var(--c-white);
241
- --c-icon-disabled: var(--c-navy-100);
242
- --c-stroke-base: var(--c-navy-100);
243
- --c-stroke-baseInteractive: var(--c-navy-100);
244
- --c-stroke-baseInteractive--hover: var(--c-navy-300);
245
- --c-stroke-baseInteractive--press: var(--c-navy-500);
246
- --c-stroke-strong: var(--c-navy-300);
247
- --c-stroke-strongInteractive: var(--c-navy-300);
248
- --c-stroke-strongInteractive--hover: var(--c-navy-500);
249
- --c-stroke-strongInteractive--press: var(--c-navy-700);
250
- --c-stroke-subdued: var(--c-navy-100);
251
- --c-stroke-accent: var(--c-purple-500);
252
- --c-stroke-accentInteractive: var(--c-purple-500);
253
- --c-stroke-accentInteractive--hover: var(--c-purple-700);
254
- --c-stroke-accentInteractive--press: var(--c-purple-900);
255
- --c-stroke-accentAlt: var(--c-purple-300);
256
- --c-stroke-error: var(--c-red-500);
257
- --c-stroke-errorAlt: var(--c-red-500);
258
- --c-stroke-success: var(--c-green-500);
259
- --c-stroke-successAlt: var(--c-green-500);
260
- --c-fill-base: var(--c-navy-500);
261
- --c-fill-secondary: var(--c-yellow-500);
262
- --c-fill-subdued: var(--c-navy-100);
263
- --c-fill-accent: var(--c-purple-500);
264
- --c-fill-accentAlt: var(--c-purple-100);
265
- --c-fill-error: var(--c-red-500);
266
- --c-fill-negative: var(--c-red-150);
267
- --c-fill-success: var(--c-green-500);
268
- --c-fill-disabled: var(--c-navy-300);
269
- --c-fill-neutral: var(--c-navy-50);
270
- }
271
-
272
109
  .use-cobalt-light-theme {
273
110
  --c-background-primary: var(--c-white);
274
111
  --c-background-secondary: var(--c-white);
@@ -320,6 +157,7 @@
320
157
  --c-text-successAlt: var(--c-green-900);
321
158
  --c-text-warning: var(--c-orange-500);
322
159
  --c-text-connect: var(--c-turquoise-500);
160
+ --c-text-connectAlt: var(--c-turquoise-900);
323
161
  --c-text-driver: var(--c-navy-700);
324
162
  --c-text-owner: var(--c-white);
325
163
  --c-text-inversed: var(--c-white);
@@ -483,6 +321,7 @@
483
321
  --c-text-successAlt: var(--c-green-100);
484
322
  --c-text-warning: var(--c-orange-300);
485
323
  --c-text-connect: var(--c-turquoise-500);
324
+ --c-text-connectAlt: var(--c-turquoise-50);
486
325
  --c-text-driver: var(--c-navy-700);
487
326
  --c-text-owner: var(--c-grey-100);
488
327
  --c-text-inversed: var(--c-white);
@@ -4833,6 +4672,10 @@
4833
4672
  color: var(--c-text-connect);
4834
4673
  }
4835
4674
 
4675
+ .c-text-connectAlt {
4676
+ color: var(--c-text-connectAlt);
4677
+ }
4678
+
4836
4679
  .c-text-driver {
4837
4680
  color: var(--c-text-driver);
4838
4681
  }