@amboss/design-system 1.16.2 → 1.16.3--canary1

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.
package/README.md CHANGED
@@ -71,10 +71,12 @@ npm run lint
71
71
          |-- Lato.woff
72
72
  |-- build (autogenerated)
73
73
  |-- build-tokens (autogenerated)
74
+ |-- android
75
+ |-- design_system_color.xml
76
+ |-- ios
77
+ |-- DesignSystemColorTokens.swift
74
78
  |-- scss
75
- |-- themes
76
- |-- light.scss
77
- |-- dark.scss
79
+ |-- index.scss
78
80
  |-- assets
79
81
  |-- icons.json
80
82
  |-- icons16.json
@@ -0,0 +1,4 @@
1
+ @import "mixins/dark.scss";
2
+ @import "mixins/light.scss";
3
+ @import "themes/dark.scss";
4
+ @import "themes/light.scss";
@@ -0,0 +1,116 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Thu, 05 Oct 2023 12:10:42 GMT
4
+ */
5
+
6
+ @mixin ds-colors-dark {
7
+ & {
8
+ --color-canvas: #1e2125;
9
+ --color-background-primary-default: #24282d;
10
+ --color-background-secondary-default: #282c34;
11
+ --color-background-secondary-hover: #393e47;
12
+ --color-background-secondary-active: #393e47;
13
+ --color-background-accent-default: #28816b;
14
+ --color-background-accent-hover: #41a48a;
15
+ --color-background-accent-active: #233d3d;
16
+ --color-background-accent-disabled: rgba(40, 129, 107, 0.3);
17
+ --color-background-onAccent-default: #ffffff;
18
+ --color-background-onAccent-hover: #ffffff;
19
+ --color-background-onAccent-active: #ffffff;
20
+ --color-background-onAccent-disabled: rgba(255, 255, 255, 0.6);
21
+ --color-background-error-default: #a45355;
22
+ --color-background-error-hover: #d07c7c;
23
+ --color-background-error-active: #4d3237;
24
+ --color-background-error-disabled: rgba(164, 83, 85, 0.3);
25
+ --color-background-success-default: #28816b;
26
+ --color-background-info-default: #2f538a;
27
+ --color-background-warning-default: #a4792d;
28
+ --color-background-accentSubtle-default: #233d3d;
29
+ --color-background-errorSubtle-default: #312b31;
30
+ --color-background-successSubtle-default: #262e33;
31
+ --color-background-infoSubtle-default: #282e39;
32
+ --color-background-warningSubtle-default: #32302f;
33
+ --color-background-highlight-default: #40454f;
34
+ --color-background-highlight-hover: #393e47;
35
+ --color-background-contrast-default: #ced1d6;
36
+ --color-background-transparent-default: rgba(255, 255, 255, 0);
37
+ --color-background-transparent-hover: rgba(147, 151, 159, 0.08);
38
+ --color-background-transparent-active: rgba(147, 151, 159, 0.08);
39
+ --color-background-backdrop-default: rgba(0, 0, 0, 0.6);
40
+ --color-text-primary-default: #ced1d6;
41
+ --color-text-primary-hover: #ffffff;
42
+ --color-text-secondary-default: #b9bcc3;
43
+ --color-text-secondary-hover: #ced1d6;
44
+ --color-text-tertiary-default: #93979f;
45
+ --color-text-tertiary-disabled: rgba(216, 218, 222, 0.3);
46
+ --color-text-tertiary-hover: #b9bcc3;
47
+ --color-text-quaternary-default: #757a84;
48
+ --color-text-accent-default: #41a48a;
49
+ --color-text-accent-hover: #a6f2dd;
50
+ --color-text-onAccent-default: #ffffff;
51
+ --color-text-onAccent-disabled: rgba(216, 218, 222, 0.3);
52
+ --color-text-info-default: #99c1fa;
53
+ --color-text-error-default: #f49a9a;
54
+ --color-text-error-disabled: rgba(244, 154, 154, 0.3);
55
+ --color-text-warning-default: #fae0b3;
56
+ --color-text-success-default: #a6f2dd;
57
+ --color-icon-primary: #d8dade;
58
+ --color-icon-secondary: #ced1d6;
59
+ --color-icon-tertiary: #93979f;
60
+ --color-icon-quaternary: #757a84;
61
+ --color-icon-accent: #41a48a;
62
+ --color-icon-onAccent: #ffffff;
63
+ --color-icon-info: #6e95cf;
64
+ --color-icon-error: #d07c7c;
65
+ --color-icon-warning: #cbac76;
66
+ --color-icon-success: #41a48a;
67
+ --color-icon-brand: #62b2bc;
68
+ --color-border-primary-default: #5b5f67;
69
+ --color-border-primary-hover: #757a84;
70
+ --color-border-primary-active: #93979f;
71
+ --color-border-primary-disabled: rgba(147, 151, 159, 0.08);
72
+ --color-border-secondary-default: rgba(147, 149, 159, 0.3);
73
+ --color-border-accent-default: #41a48a;
74
+ --color-border-error-default: #d07c7c;
75
+ --color-border-accentSubtle-default: #28816b;
76
+ --color-divider-primary: #40454f;
77
+ --color-divider-secondary: rgba(147, 151, 159, 0.08);
78
+ --color-toggle-background-highlight: #b2ab39;
79
+ --color-toggle-border-highlight: #b2ab39;
80
+ --color-badge-background-default: transparent;
81
+ --color-badge-background-green: transparent;
82
+ --color-badge-background-blue: transparent;
83
+ --color-badge-background-yellow: transparent;
84
+ --color-badge-background-brand: transparent;
85
+ --color-badge-background-purple: transparent;
86
+ --color-badge-background-red: transparent;
87
+ --color-badge-background-gray: transparent;
88
+ --color-badge-text-default: #ced1d6;
89
+ --color-badge-text-green: #41a48a;
90
+ --color-badge-text-blue: #6e95cf;
91
+ --color-badge-text-yellow: #cbac76;
92
+ --color-badge-text-brand: #62b2bc;
93
+ --color-badge-text-purple: #ad97f7;
94
+ --color-badge-text-red: #d07c7c;
95
+ --color-badge-text-gray: #93979f;
96
+ --color-badge-border-default: #393e47;
97
+ --color-badge-border-green: #393e47;
98
+ --color-badge-border-blue: #393e47;
99
+ --color-badge-border-yellow: #393e47;
100
+ --color-badge-border-brand: #393e47;
101
+ --color-badge-border-purple: #393e47;
102
+ --color-badge-border-red: #393e47;
103
+ --color-badge-border-gray: #393e47;
104
+ --color-segmented-progress-bar-monochrome: #ced1d6;
105
+ --color-segmented-progress-bar-success: #28816b;
106
+ --color-segmented-progress-bar-warning: #a4792d;
107
+ --color-segmented-progress-bar-alert: #a45355;
108
+ --color-segmented-progress-bar-in-progress: #5b5f67;
109
+ --color-tag-background-gray: #5b5f67;
110
+ --color-tag-background-blue: #2f538a;
111
+ --color-tag-text-gray: #ced1d6;
112
+ --color-tag-text-blue: #e7effe;
113
+ --color-destructive-tertiary-button-background-hover: rgba(164, 83, 85, 0.08);
114
+ --color-destructive-tertiary-button-background-active: rgba(164, 83, 85, 0.08);
115
+ }
116
+ }
@@ -0,0 +1,116 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Thu, 05 Oct 2023 12:10:42 GMT
4
+ */
5
+
6
+ @mixin ds-colors-light {
7
+ & {
8
+ --color-canvas: #eef2f5;
9
+ --color-background-primary-default: #ffffff;
10
+ --color-background-secondary-default: #f5f7f9;
11
+ --color-background-secondary-hover: #eef2f5;
12
+ --color-background-secondary-active: #ffffff;
13
+ --color-background-accent-default: #0fa980;
14
+ --color-background-accent-hover: #0b8363;
15
+ --color-background-accent-active: #0a5c45;
16
+ --color-background-accent-disabled: rgba(15, 169, 128, 0.3);
17
+ --color-background-onAccent-default: #ffffff;
18
+ --color-background-onAccent-hover: #ffffff;
19
+ --color-background-onAccent-active: #ffffff;
20
+ --color-background-onAccent-disabled: rgba(255, 255, 255, 0.6);
21
+ --color-background-error-default: #dc4847;
22
+ --color-background-error-hover: #c02725;
23
+ --color-background-error-active: #c02725;
24
+ --color-background-error-disabled: rgba(238, 97, 96, 0.3);
25
+ --color-background-success-default: #0b8363;
26
+ --color-background-info-default: #295dae;
27
+ --color-background-warning-default: #df9411;
28
+ --color-background-accentSubtle-default: #e8f8f4;
29
+ --color-background-errorSubtle-default: #fde8e8;
30
+ --color-background-successSubtle-default: #e8f8f4;
31
+ --color-background-infoSubtle-default: #e7effe;
32
+ --color-background-warningSubtle-default: #fef3e1;
33
+ --color-background-highlight-default: #607585;
34
+ --color-background-highlight-hover: #40515e;
35
+ --color-background-contrast-default: #314554;
36
+ --color-background-transparent-default: rgba(255, 255, 255, 0);
37
+ --color-background-transparent-hover: rgba(96, 117, 133, 0.08);
38
+ --color-background-transparent-active: rgba(96, 117, 133, 0.08);
39
+ --color-background-backdrop-default: rgba(0, 0, 0, 0.6);
40
+ --color-text-primary-default: #1a1c1c;
41
+ --color-text-primary-hover: #1a1c1c;
42
+ --color-text-secondary-default: #40515e;
43
+ --color-text-secondary-hover: #40515e;
44
+ --color-text-tertiary-default: #607585;
45
+ --color-text-tertiary-disabled: rgba(64, 81, 94, 0.3);
46
+ --color-text-tertiary-hover: #40515e;
47
+ --color-text-quaternary-default: #a3b2bd;
48
+ --color-text-accent-default: #0b8363;
49
+ --color-text-accent-hover: #0a5c45;
50
+ --color-text-onAccent-default: #ffffff;
51
+ --color-text-onAccent-disabled: rgba(255, 255, 255, 0.6);
52
+ --color-text-info-default: #1c427d;
53
+ --color-text-error-default: #c02725;
54
+ --color-text-error-disabled: rgba(192, 39, 37, 0.3);
55
+ --color-text-warning-default: #314554;
56
+ --color-text-success-default: #0a5c45;
57
+ --color-icon-primary: #1a1c1c;
58
+ --color-icon-secondary: #40515e;
59
+ --color-icon-tertiary: #607585;
60
+ --color-icon-quaternary: #a3b2bd;
61
+ --color-icon-accent: #0b8363;
62
+ --color-icon-onAccent: #ffffff;
63
+ --color-icon-info: #295dae;
64
+ --color-icon-error: #dc4847;
65
+ --color-icon-warning: #df9411;
66
+ --color-icon-success: #0b8363;
67
+ --color-icon-brand: #0aa6b8;
68
+ --color-border-primary-default: #a3b2bd;
69
+ --color-border-primary-hover: #607585;
70
+ --color-border-primary-active: #40515e;
71
+ --color-border-primary-disabled: rgba(163, 178, 189, 0.3);
72
+ --color-border-secondary-default: rgba(163, 178, 189, 0.3);
73
+ --color-border-accent-default: #0b8363;
74
+ --color-border-error-default: #dc4847;
75
+ --color-border-accentSubtle-default: #8adcc6;
76
+ --color-divider-primary: #e0e6eb;
77
+ --color-divider-secondary: rgba(163, 178, 189, 0.3);
78
+ --color-toggle-background-highlight: #f3eb75;
79
+ --color-toggle-border-highlight: #f3eb75;
80
+ --color-badge-background-default: #ffffff;
81
+ --color-badge-background-green: #e8f8f4;
82
+ --color-badge-background-blue: #e7effe;
83
+ --color-badge-background-yellow: #fef3e1;
84
+ --color-badge-background-brand: #e7f6f8;
85
+ --color-badge-background-purple: #f2effb;
86
+ --color-badge-background-red: #fde8e8;
87
+ --color-badge-background-gray: #eef2f5;
88
+ --color-badge-text-default: #1a1c1c;
89
+ --color-badge-text-green: #0b8363;
90
+ --color-badge-text-blue: #295dae;
91
+ --color-badge-text-yellow: #9a6304;
92
+ --color-badge-text-brand: #067c89;
93
+ --color-badge-text-purple: #5d44ab;
94
+ --color-badge-text-red: #c02725;
95
+ --color-badge-text-gray: #607585;
96
+ --color-badge-border-default: #e0e6eb;
97
+ --color-badge-border-green: #e8f8f4;
98
+ --color-badge-border-blue: #e7effe;
99
+ --color-badge-border-yellow: #fef3e1;
100
+ --color-badge-border-brand: #e7f6f8;
101
+ --color-badge-border-purple: #f2effb;
102
+ --color-badge-border-red: #fde8e8;
103
+ --color-badge-border-gray: #eef2f5;
104
+ --color-segmented-progress-bar-monochrome: #607585;
105
+ --color-segmented-progress-bar-success: #39d6ac;
106
+ --color-segmented-progress-bar-warning: #f1d56b;
107
+ --color-segmented-progress-bar-alert: #f07575;
108
+ --color-segmented-progress-bar-in-progress: #e0e6eb;
109
+ --color-tag-background-gray: #e0e6eb;
110
+ --color-tag-background-blue: #d2e2f9;
111
+ --color-tag-text-gray: #40515e;
112
+ --color-tag-text-blue: #1c427d;
113
+ --color-destructive-tertiary-button-background-hover: rgba(238, 97, 96, 0.08);
114
+ --color-destructive-tertiary-button-background-active: rgba(238, 97, 96, 0.08);
115
+ }
116
+ }
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Thu, 28 Sep 2023 13:02:17 GMT
3
+ // Generated on Thu, 05 Oct 2023 12:10:42 GMT
4
4
 
5
5
  $dark-color-canvas: #1e2125;
6
6
  $dark-color-background-primary-default: #24282d;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Thu, 28 Sep 2023 13:02:17 GMT
3
+ // Generated on Thu, 05 Oct 2023 12:10:42 GMT
4
4
 
5
5
  $light-color-canvas: #eef2f5;
6
6
  $light-color-background-primary-default: #ffffff;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amboss/design-system",
3
- "version": "1.16.2",
3
+ "version": "1.16.3--canary1",
4
4
  "description": "the design system for AMBOSS products",
5
5
  "author": "Bagrat Gobedashvili",
6
6
  "license": "ISC",
@@ -10,9 +10,9 @@
10
10
  "exports": {
11
11
  ".": {
12
12
  "import": "./build/esm/src/index.js",
13
- "require": "./build/cjs/src/index.js"
14
- },
15
- "./scss/": "./build/scss/themes/"
13
+ "require": "./build/cjs/src/index.js",
14
+ "sass": "./build/scss/index.scss"
15
+ }
16
16
  },
17
17
  "sideEffects": false,
18
18
  "bugs": {