@operato/context 2.0.0-alpha.146 → 2.0.0-alpha.149

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 (61) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/src/layouts/ox-context-page-toolbar.js +15 -9
  3. package/dist/src/layouts/ox-context-page-toolbar.js.map +1 -1
  4. package/dist/src/layouts/ox-context-toolbar.js +20 -21
  5. package/dist/src/layouts/ox-context-toolbar.js.map +1 -1
  6. package/dist/src/tools/ox-page-action-context-bar.js +15 -13
  7. package/dist/src/tools/ox-page-action-context-bar.js.map +1 -1
  8. package/dist/src/tools/ox-page-action-overlay-template.js +1 -1
  9. package/dist/src/tools/ox-page-action-overlay-template.js.map +1 -1
  10. package/dist/src/tools/ox-page-title-bar.js +9 -8
  11. package/dist/src/tools/ox-page-title-bar.js.map +1 -1
  12. package/dist/src/tools/ox-title-bar.js +7 -8
  13. package/dist/src/tools/ox-title-bar.js.map +1 -1
  14. package/dist/stories/ox-context-page-toolbar-select-buttons.stories.d.ts +5 -0
  15. package/dist/stories/ox-context-page-toolbar-select-buttons.stories.js +59 -30
  16. package/dist/stories/ox-context-page-toolbar-select-buttons.stories.js.map +1 -1
  17. package/dist/stories/ox-context-page-toolbar-select.stories.d.ts +5 -0
  18. package/dist/stories/ox-context-page-toolbar-select.stories.js +51 -25
  19. package/dist/stories/ox-context-page-toolbar-select.stories.js.map +1 -1
  20. package/dist/stories/ox-context-page-toolbar.stories.d.ts +5 -0
  21. package/dist/stories/ox-context-page-toolbar.stories.js +53 -26
  22. package/dist/stories/ox-context-page-toolbar.stories.js.map +1 -1
  23. package/dist/stories/ox-context-toolbar-complex.stories.d.ts +7 -1
  24. package/dist/stories/ox-context-toolbar-complex.stories.js +31 -8
  25. package/dist/stories/ox-context-toolbar-complex.stories.js.map +1 -1
  26. package/dist/stories/ox-context-toolbar-empty.stories.d.ts +7 -1
  27. package/dist/stories/ox-context-toolbar-empty.stories.js +31 -8
  28. package/dist/stories/ox-context-toolbar-empty.stories.js.map +1 -1
  29. package/dist/stories/ox-context-toolbar-overflow.stories.d.ts +7 -1
  30. package/dist/stories/ox-context-toolbar-overflow.stories.js +35 -9
  31. package/dist/stories/ox-context-toolbar-overflow.stories.js.map +1 -1
  32. package/dist/stories/ox-context-toolbar.stories.d.ts +1 -0
  33. package/dist/stories/ox-context-toolbar.stories.js +32 -7
  34. package/dist/stories/ox-context-toolbar.stories.js.map +1 -1
  35. package/dist/tsconfig.tsbuildinfo +1 -1
  36. package/package.json +7 -7
  37. package/src/layouts/ox-context-page-toolbar.ts +15 -9
  38. package/src/layouts/ox-context-toolbar.ts +20 -21
  39. package/src/tools/ox-page-action-context-bar.ts +15 -13
  40. package/src/tools/ox-page-action-overlay-template.ts +1 -1
  41. package/src/tools/ox-page-title-bar.ts +9 -8
  42. package/src/tools/ox-title-bar.ts +7 -8
  43. package/stories/ox-context-page-toolbar-select-buttons.stories.ts +122 -91
  44. package/stories/ox-context-page-toolbar-select.stories.ts +91 -64
  45. package/stories/ox-context-page-toolbar.stories.ts +92 -63
  46. package/stories/ox-context-toolbar-complex.stories.ts +34 -9
  47. package/stories/ox-context-toolbar-empty.stories.ts +34 -9
  48. package/stories/ox-context-toolbar-overflow.stories.ts +38 -10
  49. package/stories/ox-context-toolbar.stories.ts +35 -8
  50. package/themes/dark-hc.css +51 -0
  51. package/themes/dark-mc.css +51 -0
  52. package/themes/dark.css +51 -0
  53. package/themes/light-hc.css +51 -0
  54. package/themes/light-mc.css +51 -0
  55. package/themes/light.css +57 -0
  56. package/themes/md-typescale-styles.css +100 -0
  57. package/themes/spacing.css +13 -0
  58. package/themes/state-color.css +6 -0
  59. package/themes/app-theme.css +0 -161
  60. package/themes/context-theme.css +0 -74
  61. package/themes/material-theme.css +0 -88
@@ -7,12 +7,14 @@ import { TOOL_POSITION } from '@operato/layout'
7
7
  import '@operato/styles'
8
8
 
9
9
  import { css, html, render, TemplateResult } from 'lit'
10
+ import { styles as MDTypeScaleStyles } from '@material/web/typography/md-typescale-styles'
10
11
 
11
12
  export default {
12
13
  title: 'ox-context-page-toolbar',
13
14
  component: 'ox-context-page-toolbar',
14
15
  argTypes: {
15
- label: { control: 'string' }
16
+ label: { control: 'string' },
17
+ theme: { control: 'select', options: ['light', 'dark'] }
16
18
  }
17
19
  }
18
20
 
@@ -24,79 +26,106 @@ interface Story<T> {
24
26
 
25
27
  interface ArgTypes {
26
28
  label?: string
29
+ theme?: string
27
30
  }
28
31
 
29
- const Template: Story<ArgTypes> = ({ label = '' }: ArgTypes) => html`
30
- <link href="/themes/app-theme.css" rel="stylesheet" />
31
- <link href="/themes/material-theme.css" rel="stylesheet" />
32
+ const Template: Story<ArgTypes> = ({ label = '', theme = 'light' }: ArgTypes) => html`
33
+ <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet" />
34
+
35
+ <link href="/themes/light.css" rel="stylesheet" />
36
+ <link href="/themes/dark.css" rel="stylesheet" />
37
+ <link href="/themes/spacing.css" rel="stylesheet" />
38
+
39
+ <link
40
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
41
+ rel="stylesheet"
42
+ />
43
+ <link
44
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL@20..48,100..700,0..1"
45
+ rel="stylesheet"
46
+ />
47
+ <link
48
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL@20..48,100..700,0..1"
49
+ rel="stylesheet"
50
+ />
51
+
52
+ <style>
53
+ ${MDTypeScaleStyles.cssText}
54
+ </style>
32
55
 
33
- <link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1" rel="stylesheet">
34
- <link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL@20..48,100..700,0..1" rel="stylesheet">
35
- <link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL@20..48,100..700,0..1" rel="stylesheet">
36
-
37
56
  <style>
38
- body {
39
- background-color: white;
57
+ .container {
58
+ height: 500px;
59
+ text-align: center;
60
+ padding: 20px;
61
+ background-color: var(--md-sys-color-primary-container);
62
+ color: var(--md-sys-color-on-primary-container);
63
+
64
+ padding: 20px;
40
65
  }
41
66
 
42
- ${CommonHeaderStyles.cssText}
67
+ ox-buttons-radio {
68
+ padding: 20px;
69
+ }
43
70
  </style>
44
71
 
45
- <div style="height:600px;">
72
+ <script>
73
+ document.body.classList.add('${theme}')
74
+ </script>
75
+
76
+ <div class="container md-typescale-body-large-prominent">
46
77
  <div class="header">
47
- <div class="title">
48
- ${label}
49
- </div>
50
-
51
- <div class="filters">
52
- <label>Filter</label><input type="text"></input>
53
- </div>
54
-
55
- <ox-context-page-toolbar class="actions"
56
- .tools=${[
57
- {
58
- position: TOOL_POSITION.FRONT,
59
- template: html` <md-icon>download</md-icon> `,
60
- context: 'exportable'
61
- },
62
- {
63
- position: TOOL_POSITION.FRONT,
64
- template: html` <md-icon>upload</md-icon> `,
65
- context: 'importable'
66
- },
67
- {
68
- position: TOOL_POSITION.CENTER,
69
- template: html`<ox-page-action-context-bar
70
- .actions=${[
71
- {
72
- title: 'save',
73
- action: () => {},
74
- icon: 'save'
75
- },
76
- {
77
- title: 'copy',
78
- action: () => {},
79
- icon: 'content_copy'
80
- },
81
- {
82
- title: 'delete',
83
- action: () => {},
84
- icon: 'delete',
85
- emphasis: {
86
- danger: true
78
+ <div class="title">${label}</div>
79
+
80
+ <div class="filters"><label>Filter</label><input type="text" /></div>
81
+
82
+ <ox-context-page-toolbar
83
+ class="actions"
84
+ .tools=${[
85
+ {
86
+ position: TOOL_POSITION.FRONT,
87
+ template: html` <md-icon>download</md-icon> `,
88
+ context: 'exportable'
89
+ },
90
+ {
91
+ position: TOOL_POSITION.FRONT,
92
+ template: html` <md-icon>upload</md-icon> `,
93
+ context: 'importable'
94
+ },
95
+ {
96
+ position: TOOL_POSITION.CENTER,
97
+ template: html`<ox-page-action-context-bar
98
+ .actions=${[
99
+ {
100
+ title: 'save',
101
+ action: () => {},
102
+ icon: 'save'
103
+ },
104
+ {
105
+ title: 'copy',
106
+ action: () => {},
107
+ icon: 'content_copy'
108
+ },
109
+ {
110
+ title: 'delete',
111
+ action: () => {},
112
+ icon: 'delete',
113
+ emphasis: {
114
+ danger: true
115
+ }
87
116
  }
88
- }
89
- ]}
90
- ></ox-page-action-context-bar>`
117
+ ]}
118
+ ></ox-page-action-context-bar>`
119
+ }
120
+ ]}
121
+ .context=${{
122
+ exportable: true,
123
+ importable: true,
124
+ toolbar: false
125
+ }}
91
126
  }
92
- ]}
93
- .context=${{
94
- exportable: true,
95
- importable: true,
96
- toolbar: false
97
- }}
98
-
99
- }> </ox-context-page-toolbar>
127
+ >
128
+ </ox-context-page-toolbar>
100
129
  </div>
101
130
  </div>
102
131
  `
@@ -6,11 +6,14 @@ import { TOOL_POSITION } from '@operato/layout'
6
6
  import '@operato/styles'
7
7
 
8
8
  import { css, html, render, TemplateResult } from 'lit'
9
+ import { styles as MDTypeScaleStyles } from '@material/web/typography/md-typescale-styles'
9
10
 
10
11
  export default {
11
12
  title: 'ox-context-toolbar complex',
12
13
  component: 'ox-context-toolbar',
13
- argTypes: {}
14
+ argTypes: {
15
+ theme: { control: 'select', options: ['light', 'dark'] }
16
+ }
14
17
  }
15
18
 
16
19
  interface Story<T> {
@@ -19,12 +22,16 @@ interface Story<T> {
19
22
  argTypes?: Record<string, unknown>
20
23
  }
21
24
 
22
- interface ArgTypes {}
25
+ interface ArgTypes {
26
+ theme?: string
27
+ }
28
+
29
+ const Template: Story<ArgTypes> = ({ theme = 'light' }: ArgTypes) => html`
30
+ <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet" />
23
31
 
24
- const Template: Story<ArgTypes> = () => html`
25
- <link href="/themes/app-theme.css" rel="stylesheet" />
26
- <link href="/themes/material-theme.css" rel="stylesheet" />
27
- <link href="/themes/context-theme.css" rel="stylesheet" />
32
+ <link href="/themes/light.css" rel="stylesheet" />
33
+ <link href="/themes/dark.css" rel="stylesheet" />
34
+ <link href="/themes/spacing.css" rel="stylesheet" />
28
35
 
29
36
  <link
30
37
  href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
@@ -40,12 +47,30 @@ const Template: Story<ArgTypes> = () => html`
40
47
  />
41
48
 
42
49
  <style>
43
- body {
44
- background-color: white;
50
+ ${MDTypeScaleStyles.cssText}
51
+ </style>
52
+
53
+ <style>
54
+ .container {
55
+ height: 500px;
56
+ text-align: center;
57
+ padding: 20px;
58
+ background-color: var(--md-sys-color-primary-container);
59
+ color: var(--md-sys-color-on-primary-container);
60
+
61
+ padding: 20px;
62
+ }
63
+
64
+ ox-buttons-radio {
65
+ padding: 20px;
45
66
  }
46
67
  </style>
47
68
 
48
- <div style="height:100px; padding: 10px; background-color: black;">
69
+ <script>
70
+ document.body.classList.add('${theme}')
71
+ </script>
72
+
73
+ <div class="container md-typescale-body-large-prominent">
49
74
  <ox-context-toolbar
50
75
  .tools=${[
51
76
  {
@@ -6,11 +6,14 @@ import { TOOL_POSITION } from '@operato/layout'
6
6
  import { sleep } from '@operato/utils'
7
7
 
8
8
  import { css, html, render, TemplateResult } from 'lit'
9
+ import { styles as MDTypeScaleStyles } from '@material/web/typography/md-typescale-styles'
9
10
 
10
11
  export default {
11
12
  title: 'ox-context-toolbar empty',
12
13
  component: 'ox-context-toolbar',
13
- argTypes: {}
14
+ argTypes: {
15
+ theme: { control: 'select', options: ['light', 'dark'] }
16
+ }
14
17
  }
15
18
 
16
19
  interface Story<T> {
@@ -19,12 +22,16 @@ interface Story<T> {
19
22
  argTypes?: Record<string, unknown>
20
23
  }
21
24
 
22
- interface ArgTypes {}
25
+ interface ArgTypes {
26
+ theme?: string
27
+ }
28
+
29
+ const Template: Story<ArgTypes> = ({ theme = 'light' }: ArgTypes) => html`
30
+ <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet" />
23
31
 
24
- const Template: Story<ArgTypes> = () => html`
25
- <link href="/themes/app-theme.css" rel="stylesheet" />
26
- <link href="/themes/material-theme.css" rel="stylesheet" />
27
- <link href="/themes/context-theme.css" rel="stylesheet" />
32
+ <link href="/themes/light.css" rel="stylesheet" />
33
+ <link href="/themes/dark.css" rel="stylesheet" />
34
+ <link href="/themes/spacing.css" rel="stylesheet" />
28
35
 
29
36
  <link
30
37
  href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
@@ -40,12 +47,30 @@ const Template: Story<ArgTypes> = () => html`
40
47
  />
41
48
 
42
49
  <style>
43
- body {
44
- background-color: white;
50
+ ${MDTypeScaleStyles.cssText}
51
+ </style>
52
+
53
+ <style>
54
+ .container {
55
+ height: 500px;
56
+ text-align: center;
57
+ padding: 20px;
58
+ background-color: var(--md-sys-color-primary-container);
59
+ color: var(--md-sys-color-on-primary-container);
60
+
61
+ padding: 20px;
62
+ }
63
+
64
+ ox-buttons-radio {
65
+ padding: 20px;
45
66
  }
46
67
  </style>
47
68
 
48
- <div style="display: flex; flex-direction: column; gap: 10px; padding: 10px; background-color: black;">
69
+ <script>
70
+ document.body.classList.add('${theme}')
71
+ </script>
72
+
73
+ <div class="container md-typescale-body-large-prominent">
49
74
  <ox-context-toolbar
50
75
  .tools=${[]}
51
76
  .context=${{
@@ -6,11 +6,14 @@ import { TOOL_POSITION } from '@operato/layout'
6
6
  import '@operato/styles'
7
7
 
8
8
  import { css, html, render, TemplateResult } from 'lit'
9
+ import { styles as MDTypeScaleStyles } from '@material/web/typography/md-typescale-styles'
9
10
 
10
11
  export default {
11
12
  title: 'ox-context-toolbar overflow',
12
13
  component: 'ox-context-toolbar',
13
- argTypes: {}
14
+ argTypes: {
15
+ theme: { control: 'select', options: ['light', 'dark'] }
16
+ }
14
17
  }
15
18
 
16
19
  interface Story<T> {
@@ -19,12 +22,16 @@ interface Story<T> {
19
22
  argTypes?: Record<string, unknown>
20
23
  }
21
24
 
22
- interface ArgTypes {}
25
+ interface ArgTypes {
26
+ theme?: string
27
+ }
28
+
29
+ const Template: Story<ArgTypes> = ({ theme = 'light' }: ArgTypes) => html`
30
+ <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet" />
23
31
 
24
- const Template: Story<ArgTypes> = () => html`
25
- <link href="/themes/app-theme.css" rel="stylesheet" />
26
- <link href="/themes/material-theme.css" rel="stylesheet" />
27
- <link href="/themes/context-theme.css" rel="stylesheet" />
32
+ <link href="/themes/light.css" rel="stylesheet" />
33
+ <link href="/themes/dark.css" rel="stylesheet" />
34
+ <link href="/themes/spacing.css" rel="stylesheet" />
28
35
 
29
36
  <link
30
37
  href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
@@ -40,12 +47,30 @@ const Template: Story<ArgTypes> = () => html`
40
47
  />
41
48
 
42
49
  <style>
43
- body {
44
- background-color: white;
50
+ ${MDTypeScaleStyles.cssText}
51
+ </style>
52
+
53
+ <style>
54
+ .container {
55
+ height: 500px;
56
+ text-align: center;
57
+ padding: 20px;
58
+ background-color: var(--md-sys-color-primary-container);
59
+ color: var(--md-sys-color-on-primary-container);
60
+
61
+ padding: 20px;
62
+ }
63
+
64
+ ox-buttons-radio {
65
+ padding: 20px;
45
66
  }
46
67
  </style>
47
68
 
48
- <div style="height:100px; padding: 10px; background-color: yellow;">
69
+ <script>
70
+ document.body.classList.add('${theme}')
71
+ </script>
72
+
73
+ <div class="container md-typescale-body-large-prominent">
49
74
  <ox-context-toolbar
50
75
  .tools=${[
51
76
  {
@@ -80,7 +105,10 @@ const Template: Story<ArgTypes> = () => html`
80
105
  {
81
106
  title: 'save',
82
107
  action: () => {},
83
- icon: 'save'
108
+ icon: 'save',
109
+ emphasis: {
110
+ raised: true
111
+ }
84
112
  },
85
113
  {
86
114
  title: 'copy',
@@ -6,6 +6,7 @@ import { TOOL_POSITION } from '@operato/layout'
6
6
  import '@operato/styles'
7
7
 
8
8
  import { css, html, render, TemplateResult } from 'lit'
9
+ import { styles as MDTypeScaleStyles } from '@material/web/typography/md-typescale-styles'
9
10
 
10
11
  export default {
11
12
  title: 'ox-context-toolbar',
@@ -19,12 +20,16 @@ interface Story<T> {
19
20
  argTypes?: Record<string, unknown>
20
21
  }
21
22
 
22
- interface ArgTypes {}
23
+ interface ArgTypes {
24
+ theme?: string
25
+ }
26
+
27
+ const Template: Story<ArgTypes> = ({ theme = 'light' }: ArgTypes) => html`
28
+ <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet" />
23
29
 
24
- const Template: Story<ArgTypes> = () => html`
25
- <link href="/themes/app-theme.css" rel="stylesheet" />
26
- <link href="/themes/material-theme.css" rel="stylesheet" />
27
- <link href="/themes/context-theme.css" rel="stylesheet" />
30
+ <link href="/themes/light.css" rel="stylesheet" />
31
+ <link href="/themes/dark.css" rel="stylesheet" />
32
+ <link href="/themes/spacing.css" rel="stylesheet" />
28
33
 
29
34
  <link
30
35
  href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
@@ -40,12 +45,34 @@ const Template: Story<ArgTypes> = () => html`
40
45
  />
41
46
 
42
47
  <style>
43
- body {
44
- background-color: white;
48
+ ${MDTypeScaleStyles.cssText}
49
+ </style>
50
+
51
+ <style>
52
+ .container {
53
+ height: 500px;
54
+ text-align: center;
55
+ padding: 20px;
56
+ background-color: var(--md-sys-color-primary-container);
57
+ color: var(--md-sys-color-on-primary-container);
58
+
59
+ padding: 20px;
60
+
61
+ display: flex;
62
+ flex-direction: column;
63
+ gap: 20px;
64
+ }
65
+
66
+ ox-buttons-radio {
67
+ padding: 20px;
45
68
  }
46
69
  </style>
47
70
 
48
- <div style="height:500px; padding: 10px; display: flex; flex-direction: column; gap: 10px; background-color: black;">
71
+ <script>
72
+ document.body.classList.add('${theme}')
73
+ </script>
74
+
75
+ <div class="container md-typescale-body-large-prominent">
49
76
  <ox-context-toolbar
50
77
  .tools=${[
51
78
  {
@@ -0,0 +1,51 @@
1
+ .dark-high-contrast {
2
+ --md-sys-color-primary: rgb(244 255 223);
3
+ --md-sys-color-surface-tint: rgb(177 209 138);
4
+ --md-sys-color-on-primary: rgb(0 0 0);
5
+ --md-sys-color-primary-container: rgb(181 213 142);
6
+ --md-sys-color-on-primary-container: rgb(0 0 0);
7
+ --md-sys-color-secondary: rgb(244 255 223);
8
+ --md-sys-color-on-secondary: rgb(0 0 0);
9
+ --md-sys-color-secondary-container: rgb(196 207 177);
10
+ --md-sys-color-on-secondary-container: rgb(0 0 0);
11
+ --md-sys-color-tertiary: rgb(234 255 252);
12
+ --md-sys-color-on-tertiary: rgb(0 0 0);
13
+ --md-sys-color-tertiary-container: rgb(164 212 208);
14
+ --md-sys-color-on-tertiary-container: rgb(0 0 0);
15
+ --md-sys-color-error: rgb(255 249 249);
16
+ --md-sys-color-on-error: rgb(0 0 0);
17
+ --md-sys-color-error-container: rgb(255 186 177);
18
+ --md-sys-color-on-error-container: rgb(0 0 0);
19
+ --md-sys-color-background: rgb(18 20 14);
20
+ --md-sys-color-on-background: rgb(226 227 216);
21
+ --md-sys-color-surface: rgb(18 20 14);
22
+ --md-sys-color-on-surface: rgb(255 255 255);
23
+ --md-sys-color-surface-variant: rgb(68 72 61);
24
+ --md-sys-color-on-surface-variant: rgb(249 252 237);
25
+ --md-sys-color-outline: rgb(201 204 190);
26
+ --md-sys-color-outline-variant: rgb(201 204 190);
27
+ --md-sys-color-shadow: rgb(0 0 0);
28
+ --md-sys-color-scrim: rgb(0 0 0);
29
+ --md-sys-color-inverse-surface: rgb(226 227 216);
30
+ --md-sys-color-inverse-on-surface: rgb(0 0 0);
31
+ --md-sys-color-inverse-primary: rgb(26 48 0);
32
+ --md-sys-color-primary-fixed: rgb(209 242 167);
33
+ --md-sys-color-on-primary-fixed: rgb(0 0 0);
34
+ --md-sys-color-primary-fixed-dim: rgb(181 213 142);
35
+ --md-sys-color-on-primary-fixed-variant: rgb(12 26 0);
36
+ --md-sys-color-secondary-fixed: rgb(224 235 204);
37
+ --md-sys-color-on-secondary-fixed: rgb(0 0 0);
38
+ --md-sys-color-secondary-fixed-dim: rgb(196 207 177);
39
+ --md-sys-color-on-secondary-fixed-variant: rgb(16 25 7);
40
+ --md-sys-color-tertiary-fixed: rgb(192 240 236);
41
+ --md-sys-color-on-tertiary-fixed: rgb(0 0 0);
42
+ --md-sys-color-tertiary-fixed-dim: rgb(164 212 208);
43
+ --md-sys-color-on-tertiary-fixed-variant: rgb(0 26 25);
44
+ --md-sys-color-surface-dim: rgb(18 20 14);
45
+ --md-sys-color-surface-bright: rgb(56 58 50);
46
+ --md-sys-color-surface-container-lowest: rgb(12 15 9);
47
+ --md-sys-color-surface-container-low: rgb(26 28 22);
48
+ --md-sys-color-surface-container: rgb(30 32 26);
49
+ --md-sys-color-surface-container-high: rgb(40 43 36);
50
+ --md-sys-color-surface-container-highest: rgb(51 54 46);
51
+ }
@@ -0,0 +1,51 @@
1
+ .dark-medium-contrast {
2
+ --md-sys-color-primary: rgb(181 213 142);
3
+ --md-sys-color-surface-tint: rgb(177 209 138);
4
+ --md-sys-color-on-primary: rgb(12 26 0);
5
+ --md-sys-color-primary-container: rgb(125 154 89);
6
+ --md-sys-color-on-primary-container: rgb(0 0 0);
7
+ --md-sys-color-secondary: rgb(196 207 177);
8
+ --md-sys-color-on-secondary: rgb(16 25 7);
9
+ --md-sys-color-secondary-container: rgb(138 149 121);
10
+ --md-sys-color-on-secondary-container: rgb(0 0 0);
11
+ --md-sys-color-tertiary: rgb(164 212 208);
12
+ --md-sys-color-on-tertiary: rgb(0 26 25);
13
+ --md-sys-color-tertiary-container: rgb(107 153 149);
14
+ --md-sys-color-on-tertiary-container: rgb(0 0 0);
15
+ --md-sys-color-error: rgb(255 186 177);
16
+ --md-sys-color-on-error: rgb(55 0 1);
17
+ --md-sys-color-error-container: rgb(255 84 73);
18
+ --md-sys-color-on-error-container: rgb(0 0 0);
19
+ --md-sys-color-background: rgb(18 20 14);
20
+ --md-sys-color-on-background: rgb(226 227 216);
21
+ --md-sys-color-surface: rgb(18 20 14);
22
+ --md-sys-color-on-surface: rgb(251 252 240);
23
+ --md-sys-color-surface-variant: rgb(68 72 61);
24
+ --md-sys-color-on-surface-variant: rgb(201 204 190);
25
+ --md-sys-color-outline: rgb(161 164 151);
26
+ --md-sys-color-outline-variant: rgb(129 133 120);
27
+ --md-sys-color-shadow: rgb(0 0 0);
28
+ --md-sys-color-scrim: rgb(0 0 0);
29
+ --md-sys-color-inverse-surface: rgb(226 227 216);
30
+ --md-sys-color-inverse-on-surface: rgb(40 43 36);
31
+ --md-sys-color-inverse-primary: rgb(54 79 23);
32
+ --md-sys-color-primary-fixed: rgb(205 237 163);
33
+ --md-sys-color-on-primary-fixed: rgb(8 20 0);
34
+ --md-sys-color-primary-fixed-dim: rgb(177 209 138);
35
+ --md-sys-color-on-primary-fixed-variant: rgb(37 61 5);
36
+ --md-sys-color-secondary-fixed: rgb(220 231 200);
37
+ --md-sys-color-on-secondary-fixed: rgb(11 20 3);
38
+ --md-sys-color-secondary-fixed-dim: rgb(191 203 173);
39
+ --md-sys-color-on-secondary-fixed-variant: rgb(48 57 36);
40
+ --md-sys-color-tertiary-fixed: rgb(188 236 231);
41
+ --md-sys-color-on-tertiary-fixed: rgb(0 20 19);
42
+ --md-sys-color-tertiary-fixed-dim: rgb(160 208 203);
43
+ --md-sys-color-on-tertiary-fixed-variant: rgb(8 61 58);
44
+ --md-sys-color-surface-dim: rgb(18 20 14);
45
+ --md-sys-color-surface-bright: rgb(56 58 50);
46
+ --md-sys-color-surface-container-lowest: rgb(12 15 9);
47
+ --md-sys-color-surface-container-low: rgb(26 28 22);
48
+ --md-sys-color-surface-container: rgb(30 32 26);
49
+ --md-sys-color-surface-container-high: rgb(40 43 36);
50
+ --md-sys-color-surface-container-highest: rgb(51 54 46);
51
+ }
@@ -0,0 +1,51 @@
1
+ .dark {
2
+ --md-sys-color-primary: rgb(177 209 138);
3
+ --md-sys-color-surface-tint: rgb(177 209 138);
4
+ --md-sys-color-on-primary: rgb(31 55 1);
5
+ --md-sys-color-primary-container: rgb(53 78 22);
6
+ --md-sys-color-on-primary-container: rgb(205 237 163);
7
+ --md-sys-color-secondary: rgb(191 203 173);
8
+ --md-sys-color-on-secondary: rgb(42 51 30);
9
+ --md-sys-color-secondary-container: rgb(64 74 51);
10
+ --md-sys-color-on-secondary-container: rgb(220 231 200);
11
+ --md-sys-color-tertiary: rgb(160 208 203);
12
+ --md-sys-color-on-tertiary: rgb(0 55 53);
13
+ --md-sys-color-tertiary-container: rgb(31 78 75);
14
+ --md-sys-color-on-tertiary-container: rgb(188 236 231);
15
+ --md-sys-color-error: rgb(255 180 171);
16
+ --md-sys-color-on-error: rgb(105 0 5);
17
+ --md-sys-color-error-container: rgb(147 0 10);
18
+ --md-sys-color-on-error-container: rgb(255 218 214);
19
+ --md-sys-color-background: rgb(18 20 14);
20
+ --md-sys-color-on-background: rgb(226 227 216);
21
+ --md-sys-color-surface: rgb(18 20 14);
22
+ --md-sys-color-on-surface: rgb(226 227 216);
23
+ --md-sys-color-surface-variant: rgb(68 72 61);
24
+ --md-sys-color-on-surface-variant: rgb(197 200 186);
25
+ --md-sys-color-outline: rgb(143 146 133);
26
+ --md-sys-color-outline-variant: rgb(68 72 61);
27
+ --md-sys-color-shadow: rgb(0 0 0);
28
+ --md-sys-color-scrim: rgb(0 0 0);
29
+ --md-sys-color-inverse-surface: rgb(226 227 216);
30
+ --md-sys-color-inverse-on-surface: rgb(47 49 42);
31
+ --md-sys-color-inverse-primary: rgb(76 102 43);
32
+ --md-sys-color-primary-fixed: rgb(205 237 163);
33
+ --md-sys-color-on-primary-fixed: rgb(16 32 0);
34
+ --md-sys-color-primary-fixed-dim: rgb(177 209 138);
35
+ --md-sys-color-on-primary-fixed-variant: rgb(53 78 22);
36
+ --md-sys-color-secondary-fixed: rgb(220 231 200);
37
+ --md-sys-color-on-secondary-fixed: rgb(21 30 11);
38
+ --md-sys-color-secondary-fixed-dim: rgb(191 203 173);
39
+ --md-sys-color-on-secondary-fixed-variant: rgb(64 74 51);
40
+ --md-sys-color-tertiary-fixed: rgb(188 236 231);
41
+ --md-sys-color-on-tertiary-fixed: rgb(0 32 30);
42
+ --md-sys-color-tertiary-fixed-dim: rgb(160 208 203);
43
+ --md-sys-color-on-tertiary-fixed-variant: rgb(31 78 75);
44
+ --md-sys-color-surface-dim: rgb(18 20 14);
45
+ --md-sys-color-surface-bright: rgb(56 58 50);
46
+ --md-sys-color-surface-container-lowest: rgb(12 15 9);
47
+ --md-sys-color-surface-container-low: rgb(26 28 22);
48
+ --md-sys-color-surface-container: rgb(30 32 26);
49
+ --md-sys-color-surface-container-high: rgb(40 43 36);
50
+ --md-sys-color-surface-container-highest: rgb(51 54 46);
51
+ }