@operato/context 2.0.0-alpha.93 → 2.0.0-alpha.94

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/CHANGELOG.md CHANGED
@@ -3,6 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.0.0-alpha.94](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.93...v2.0.0-alpha.94) (2024-04-20)
7
+
8
+
9
+ ### :sparkles: Styling
10
+
11
+ * material-theme tokens ([e12ad16](https://github.com/hatiolab/operato/commit/e12ad16f89c2e11ee7044883e1c4391cdd9d4372))
12
+
13
+
14
+
6
15
  ## [2.0.0-alpha.93](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.92...v2.0.0-alpha.93) (2024-04-19)
7
16
 
8
17
  **Note:** Version bump only for package @operato/context
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@operato/context",
3
3
  "description": "Webcomponent context following open-wc recommendations",
4
4
  "author": "heartyoh",
5
- "version": "2.0.0-alpha.93",
5
+ "version": "2.0.0-alpha.94",
6
6
  "main": "dist/src/index.js",
7
7
  "module": "dist/src/index.js",
8
8
  "exports": {
@@ -64,11 +64,11 @@
64
64
  },
65
65
  "dependencies": {
66
66
  "@material/web": "^1.4.0",
67
- "@operato/help": "^2.0.0-alpha.93",
68
- "@operato/input": "^2.0.0-alpha.92",
69
- "@operato/layout": "^2.0.0-alpha.92",
70
- "@operato/shell": "^2.0.0-alpha.92",
71
- "@operato/styles": "^2.0.0-alpha.92",
67
+ "@operato/help": "^2.0.0-alpha.94",
68
+ "@operato/input": "^2.0.0-alpha.94",
69
+ "@operato/layout": "^2.0.0-alpha.94",
70
+ "@operato/shell": "^2.0.0-alpha.94",
71
+ "@operato/styles": "^2.0.0-alpha.94",
72
72
  "@operato/utils": "^2.0.0-alpha.68",
73
73
  "lit": "^3.1.2",
74
74
  "lodash-es": "^4.17.21",
@@ -106,5 +106,5 @@
106
106
  "prettier --write"
107
107
  ]
108
108
  },
109
- "gitHead": "347b925d015c39a6531a3f67d9f48e44cc9c2ca7"
109
+ "gitHead": "cc04167fe6e9e7663aec78414fcb821b79f7b918"
110
110
  }
@@ -2,20 +2,27 @@ body {
2
2
  font-variation-settings: 'FILL' 1;
3
3
 
4
4
  /* meterial theme color */
5
- --md-sys-color-primary: var(--theme-white-color);
5
+ --md-sys-color-primary: var(--primary-color);
6
6
  --md-sys-color-secondary: var(--secondary-color);
7
+ --md-sys-color-outline: rgba(var(--primary-color-rgb), 0.5);
8
+ --md-sys-color-on-primary: var(--theme-white-color);
9
+ --md-sys-color-on-surface-variant: var(--secondary-background-color);
10
+ --md-sys-color-on-surface: var(--primary-background-color);
11
+ --md-sys-color-outline-variant:rgba(var(--primary-color-rgb), 0.3);
7
12
 
8
- --md-sys-shape-corner-small: 4px;
13
+ --md-sys-shape-corner-small: var(--border-radius);
9
14
  --md-sys-shape-corner-medium: 6px;
10
15
  --md-sys-shape-corner-large: 8px;
11
16
 
12
17
  --md-sys-shape-corner-full: var(--md-sys-shape-corner-small);
13
18
 
19
+ --md-sys-color-surface: var(--theme-white-color);
20
+ --md-sys-color-surface-container: var(--md-sys-color-surface);
14
21
  --md-sys-color-surface-container-high: var(--primary-color);
15
22
  --md-sys-color-surface-container-low: var(--secondary-color);
16
- --md-sys-color-surface-container-highest: #e0e3e2;
23
+ --md-sys-color-surface-container-highest: var(--theme-white-color);
17
24
  --md-sys-color-surface-container-lowest: var(--secondary-color);
18
- --md-sys-typescale-body-large: 400 1rem system-ui;
25
+ --md-sys-typescale-body-large: 400 1rem var(--theme-font);
19
26
 
20
27
  --md-filled-text-field-container-shape: 0px;
21
28
  --md-filled-text-field-label-text-color: #3f4948;
@@ -30,9 +37,52 @@ body {
30
37
  --md-outlined-select-text-field-input-text-color: #005353;
31
38
  --md-outlined-select-text-field-input-text-font: system-ui;
32
39
 
33
- --md-menu-container-color: #f4f7fb;
34
- --md-menu-container-shape: 0px;
35
-
36
40
  --md-fab-container-color: var(--primary-color);
37
41
  --md-fab-icon-color: var(--focus-color);
42
+
43
+ /* icon button tokens */
44
+ --md-icon-button-icon-size: 20px;
45
+
46
+ --md-filled-icon-button-container-width : 30px;
47
+ --md-filled-icon-button-container-height : 30px;
48
+ --md-filled-icon-button-icon-size: 20px;
49
+ --md-filled-icon-button-icon-size : var(--md-icon-button-icon-size);
50
+
51
+ --md-filled-tonal-icon-button-selected-container-color: var(--md-sys-color-primary);
52
+ --md-filled-tonal-icon-button-container-width:30px;
53
+ --md-filled-tonal-icon-button-container-height:30px;
54
+ --md-filled-tonal-icon-button-icon-size:var(--md-icon-button-icon-size);
55
+
56
+ --md-outlined-icon-button-container-width:30px;
57
+ --md-outlined-icon-button-container-height:30px;
58
+ --md-outlined-icon-button-icon-size:var(--md-icon-button-icon-size);
59
+
60
+
61
+ /* list tokens */
62
+ --md-list-item-leading-icon-color:var(--md-sys-color-primary);
63
+ --md-list-container-color: var(--md-sys-color-surface-container);
64
+ --md-list-item-container-shape: var(--md-sys-shape-corner-small);
65
+ --md-list-item-label-text-color: var(--primary-text-color);
66
+ --md-list-item-supporting-text-color: var(--secondary-text-color);
67
+ --md-list-item-trailing-supporting-text-color: var(--secondary-text-color);
68
+ --md-list-item-leading-icon-size:var(--md-icon-button-icon-size);
69
+ --md-list-item-trailing-icon-size:var(--md-icon-button-icon-size);
70
+
71
+ /* menu tokens */
72
+ --md-menu-container-color: var(--md-sys-color-surface-container);
73
+ --md-menu-container-shape: var(--md-sys-shape-corner-small);
74
+ --md-menu-item-selected-container-color: rgba(var(--primary-color-rgb), 0.2);
75
+
76
+ /* progress tokens */
77
+ --md-linear-progress-track-color: rgba(var(--secondary-color-rgb), 0.2);
78
+
79
+ /* slider tokens */
80
+ --md-slider-inactive-track-color: rgba(var(--secondary-color-rgb), 0.2);
81
+
82
+ /* switch tokens */
83
+ --md-switch-selected-handle-color: var(--md-sys-color-primary);
84
+ --md-switch-track-color: rgba(var(--secondary-color-rgb), 0.2);
85
+
86
+ /* tab tokens */
87
+ --md-primary-tab-icon-color: var(--md-sys-color-primary);
38
88
  }