azion-theme 1.4.3 → 1.5.0

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 (51) hide show
  1. package/.github/workflows/release.yml +1 -1
  2. package/CHANGELOG.md +6 -0
  3. package/CODEOWNERS +1 -1
  4. package/default.js +1 -0
  5. package/package.json +3 -2
  6. package/src/azion/_custom.scss +1 -0
  7. package/src/azion/_extensions.scss +30 -0
  8. package/src/azion/_fonts.scss +156 -0
  9. package/src/azion/_variables.scss +369 -0
  10. package/src/azion/custom/_focus.scss +5 -0
  11. package/src/azion/custom/_scrollbehavior.scss +6 -0
  12. package/src/azion/custom/_selection.scss +4 -0
  13. package/src/azion/extended-components/_badge.scss +53 -0
  14. package/src/azion/extended-components/_breadcumb.scss +18 -0
  15. package/src/azion/extended-components/_button.scss +131 -0
  16. package/src/azion/extended-components/_calendar.scss +42 -0
  17. package/src/azion/extended-components/_checkbox.scss +67 -0
  18. package/src/azion/extended-components/_datatable.scss +92 -0
  19. package/src/azion/extended-components/_dialog.scss +45 -0
  20. package/src/azion/extended-components/_divider.scss +31 -0
  21. package/src/azion/extended-components/_dropdownitem.scss +12 -0
  22. package/src/azion/extended-components/_inlinemessage.scss +10 -0
  23. package/src/azion/extended-components/_inputnumber.scss +40 -0
  24. package/src/azion/extended-components/_inputpassword.scss +4 -0
  25. package/src/azion/extended-components/_inputswitch.scss +53 -0
  26. package/src/azion/extended-components/_listbox.scss +25 -0
  27. package/src/azion/extended-components/_markdown.scss +123 -0
  28. package/src/azion/extended-components/_menuitem.scss +22 -0
  29. package/src/azion/extended-components/_multiselect.scss +170 -0
  30. package/src/azion/extended-components/_overlaypanel.scss +18 -0
  31. package/src/azion/extended-components/_picklist.scss +25 -0
  32. package/src/azion/extended-components/_progressbar.scss +6 -0
  33. package/src/azion/extended-components/_radiobutton.scss +63 -0
  34. package/src/azion/extended-components/_selectbutton.scss +36 -0
  35. package/src/azion/extended-components/_sidebar.scss +27 -0
  36. package/src/azion/extended-components/_tabmenu.scss +21 -0
  37. package/src/azion/extended-components/_tabview.scss +41 -0
  38. package/src/azion/extended-components/_tag.scss +42 -0
  39. package/src/azion/extended-components/_toast.scss +67 -0
  40. package/src/azion/extended-components/_tooltip.scss +7 -0
  41. package/src/azion/theme.scss +9 -0
  42. package/src/azion/variables/_button.scss +438 -0
  43. package/src/azion/variables/_data.scss +346 -0
  44. package/src/azion/variables/_form.scss +570 -0
  45. package/src/azion/variables/_general.scss +149 -0
  46. package/src/azion/variables/_media.scss +231 -0
  47. package/src/azion/variables/_menu.scss +287 -0
  48. package/src/azion/variables/_message.scss +145 -0
  49. package/src/azion/variables/_misc.scss +143 -0
  50. package/src/azion/variables/_overlay.scss +67 -0
  51. package/src/azion/variables/_panel.scss +327 -0
@@ -1,4 +1,4 @@
1
- name: Publish Package to npm.pkg.github
1
+ name: Publish Package
2
2
 
3
3
  on:
4
4
  repository_dispatch:
package/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [1.5.0](https://github.com/aziontech/azion-theme/compare/v1.4.3...v1.5.0) (2024-08-05)
2
+
3
+ ### Features
4
+
5
+ * default theme supporting dark/light mode ([14433c6](https://github.com/aziontech/azion-theme/commit/14433c6814c8ef6601a73106043a4e83b47fc36b))
6
+
1
7
  ## [1.4.3](https://github.com/aziontech/azion-theme/compare/v1.4.2...v1.4.3) (2024-08-01)
2
8
 
3
9
  ### Bug Fixes
package/CODEOWNERS CHANGED
@@ -1 +1 @@
1
- * @cesaroeduardo @gablisb0a
1
+ * @cesaroeduardo @robsongajunior
package/default.js ADDED
@@ -0,0 +1 @@
1
+ import './src/azion/theme.scss';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "azion-theme",
3
3
  "type": "module",
4
- "version": "1.4.3",
4
+ "version": "1.5.0",
5
5
  "author": "aziontech",
6
6
  "contributors": [
7
7
  {
@@ -18,7 +18,8 @@
18
18
  ],
19
19
  "exports": {
20
20
  "./dark": "./dark.js",
21
- "./light": "./light.js"
21
+ "./light": "./light.js",
22
+ ".": "./default.js"
22
23
  },
23
24
  "scripts": {
24
25
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -0,0 +1 @@
1
+ @import './custom/selection'
@@ -0,0 +1,30 @@
1
+ /* Customizations to the designer theme should be defined here */
2
+ @layer primevue {
3
+ @import './extended-components/button';
4
+ @import './extended-components/selectbutton';
5
+ @import './extended-components/tabview';
6
+ @import './extended-components/tabmenu';
7
+ @import './extended-components/divider';
8
+ @import './extended-components/dropdownitem';
9
+ @import './extended-components/inlinemessage';
10
+ @import './extended-components/breadcumb';
11
+ @import './extended-components/sidebar';
12
+ @import './extended-components/tooltip';
13
+ @import './extended-components/datatable';
14
+ @import './extended-components/inputpassword';
15
+ @import './extended-components/toast';
16
+ @import './extended-components/inputswitch';
17
+ @import './extended-components/radiobutton';
18
+ @import './extended-components/checkbox';
19
+ @import './extended-components/tag';
20
+ @import './extended-components/markdown';
21
+ @import './extended-components/listbox';
22
+ @import './extended-components/inputnumber';
23
+ @import './extended-components/calendar';
24
+ @import './extended-components/badge';
25
+ @import './extended-components/menuitem';
26
+ @import './extended-components/progressbar';
27
+ @import './extended-components/dialog';
28
+ @import './extended-components/multiselect';
29
+
30
+ }
@@ -0,0 +1,156 @@
1
+ // Configuration for the font-face of the theme, defaults to the system font so left as blank
2
+ @font-face {
3
+ font-family: 'Roboto';
4
+ src: url('https://fonts.azion.com/roboto/roboto-light.eot');
5
+ src:
6
+ url('https://fonts.azion.com/roboto/roboto-light.eot?#iefix') format('embedded-opentype'),
7
+ url('https://fonts.azion.com/roboto/roboto-light.woff2') format('woff2'),
8
+ url('https://fonts.azion.com/roboto/roboto-light.woff') format('woff'),
9
+ url('https://fonts.azion.com/roboto/roboto-light.ttf') format('truetype'),
10
+ url('https://fonts.azion.com/roboto/roboto-light.svg#roboto-light') format('svg');
11
+ font-weight: 300;
12
+ font-style: normal;
13
+ font-display: swap;
14
+ }
15
+
16
+ @font-face {
17
+ font-family: 'Roboto Mono';
18
+ src: url('https://fonts.azion.com/roboto-mono/roboto-mono-regular.ttf') format('truetype');
19
+ font-weight: 400;
20
+ font-style: normal;
21
+ font-display: swap;
22
+ }
23
+
24
+ @font-face {
25
+ font-family: 'Roboto Mono';
26
+ src: url('https://fonts.azion.com/roboto-mono/roboto-mono-light.ttf') format('truetype');
27
+ font-weight: 300;
28
+ font-style: normal;
29
+ font-display: swap;
30
+ }
31
+
32
+ @font-face {
33
+ font-family: 'Roboto';
34
+ src: url('https://fonts.azion.com/roboto/roboto-regular.eot');
35
+ src:
36
+ url('https://fonts.azion.com/roboto/roboto-regular.eot?#iefix') format('embedded-opentype'),
37
+ url('https://fonts.azion.com/roboto/roboto-regular.woff2') format('woff2'),
38
+ url('https://fonts.azion.com/roboto/roboto-regular.woff') format('woff'),
39
+ url('https://fonts.azion.com/roboto/roboto-regular.ttf') format('truetype'),
40
+ url('https://fonts.azion.com/roboto/roboto-regular.svg#Roboto-Regular') format('svg');
41
+ font-weight: 400;
42
+ font-style: normal;
43
+ font-display: swap;
44
+ }
45
+
46
+ @font-face {
47
+ font-family: 'Roboto';
48
+ src: url('https://fonts.azion.com/roboto/roboto-italic.eot');
49
+ src:
50
+ url('https://fonts.azion.com/roboto/roboto-italic.eot?#iefix') format('embedded-opentype'),
51
+ url('https://fonts.azion.com/roboto/roboto-italic.woff2') format('woff2'),
52
+ url('https://fonts.azion.com/roboto/roboto-italic.woff') format('woff'),
53
+ url('https://fonts.azion.com/roboto/roboto-italic.ttf') format('truetype'),
54
+ url('https://fonts.azion.com/roboto/roboto-italic.svg#roboto-italic') format('svg');
55
+ font-weight: 400;
56
+ font-style: italic;
57
+ font-display: swap;
58
+ }
59
+
60
+ @font-face {
61
+ font-family: 'Roboto';
62
+ src: url('https://fonts.azion.com/roboto/roboto-medium.eot');
63
+ src:
64
+ url('https://fonts.azion.com/roboto/roboto-medium.eot?#iefix') format('embedded-opentype'),
65
+ url('https://fonts.azion.com/roboto/roboto-medium.woff2') format('woff2'),
66
+ url('https://fonts.azion.com/roboto/roboto-medium.woff') format('woff'),
67
+ url('https://fonts.azion.com/roboto/roboto-medium.ttf') format('truetype'),
68
+ url('https://fonts.azion.com/roboto/roboto-medium.svg#roboto-medium') format('svg');
69
+ font-weight: 500;
70
+ font-style: normal;
71
+ font-display: swap;
72
+ }
73
+
74
+ @font-face {
75
+ font-family: 'Roboto';
76
+ src: url('https://fonts.azion.com/roboto/roboto-mediumitalic.eot');
77
+ src:
78
+ url('https://fonts.azion.com/roboto/roboto-mediumitalic.eot?#iefix') format('embedded-opentype'),
79
+ url('https://fonts.azion.com/roboto/roboto-mediumitalic.woff2') format('woff2'),
80
+ url('https://fonts.azion.com/roboto/roboto-mediumitalic.woff') format('woff'),
81
+ url('https://fonts.azion.com/roboto/roboto-mediumitalic.ttf') format('truetype'),
82
+ url('https://fonts.azion.com/roboto/roboto-mediumitalic.svg#roboto-mediumitalic') format('svg');
83
+ font-weight: 500;
84
+ font-style: italic;
85
+ font-display: swap;
86
+ }
87
+
88
+ @font-face {
89
+ font-family: 'Roboto';
90
+ src: url('https://fonts.azion.com/roboto/roboto-bold.eot');
91
+ src:
92
+ url('https://fonts.azion.com/roboto/roboto-bold.eot?#iefix') format('embedded-opentype'),
93
+ url('https://fonts.azion.com/roboto/roboto-bold.woff2') format('woff2'),
94
+ url('https://fonts.azion.com/roboto/roboto-bold.woff') format('woff'),
95
+ url('https://fonts.azion.com/roboto/roboto-bold.ttf') format('truetype'),
96
+ url('https://fonts.azion.com/roboto/roboto-bold.svg#roboto-bold') format('svg');
97
+ font-weight: 600;
98
+ font-style: normal;
99
+ font-display: swap;
100
+ }
101
+
102
+ @font-face {
103
+ font-family: 'Roboto';
104
+ src: url('https://fonts.azion.com/roboto/roboto-bold.eot');
105
+ src:
106
+ url('https://fonts.azion.com/roboto/roboto-bold.eot?#iefix') format('embedded-opentype'),
107
+ url('https://fonts.azion.com/roboto/roboto-bold.woff2') format('woff2'),
108
+ url('https://fonts.azion.com/roboto/roboto-bold.woff') format('woff'),
109
+ url('https://fonts.azion.com/roboto/roboto-bold.ttf') format('truetype'),
110
+ url('https://fonts.azion.com/roboto/roboto-bold.svg#roboto-bold') format('svg');
111
+ font-weight: bold;
112
+ font-style: normal;
113
+ font-display: swap;
114
+ }
115
+
116
+ @font-face {
117
+ font-family: 'Roboto';
118
+ src: url('https://fonts.azion.com/roboto/roboto-bolditalic.eot');
119
+ src:
120
+ url('https://fonts.azion.com/roboto/roboto-bolditalic.eot?#iefix') format('embedded-opentype'),
121
+ url('https://fonts.azion.com/roboto/roboto-bolditalic.woff2') format('woff2'),
122
+ url('https://fonts.azion.com/roboto/roboto-bolditalic.woff') format('woff'),
123
+ url('https://fonts.azion.com/roboto/roboto-bolditalic.ttf') format('truetype'),
124
+ url('https://fonts.azion.com/roboto/roboto-bolditalic.svg#roboto-bolditalic') format('svg');
125
+ font-weight: bold;
126
+ font-style: italic;
127
+ font-display: swap;
128
+ }
129
+
130
+ @font-face {
131
+ font-family: 'Roboto';
132
+ src: url('https://fonts.azion.com/roboto/roboto-bolditalic.eot');
133
+ src:
134
+ url('https://fonts.azion.com/roboto/roboto-bolditalic.eot?#iefix') format('embedded-opentype'),
135
+ url('https://fonts.azion.com/roboto/roboto-bolditalic.woff2') format('woff2'),
136
+ url('https://fonts.azion.com/roboto/roboto-bolditalic.woff') format('woff'),
137
+ url('https://fonts.azion.com/roboto/roboto-bolditalic.ttf') format('truetype'),
138
+ url('https://fonts.azion.com/roboto/roboto-bolditalic.svg#roboto-bold') format('svg');
139
+ font-weight: 600;
140
+ font-style: italic;
141
+ font-display: swap;
142
+ }
143
+
144
+ @font-face {
145
+ font-family: 'Roboto';
146
+ src: url('https://fonts.azion.com/roboto/roboto-black.eot');
147
+ src:
148
+ url('https://fonts.azion.com/roboto/roboto-black.eot?#iefix') format('embedded-opentype'),
149
+ url('https://fonts.azion.com/roboto/roboto-black.woff2') format('woff2'),
150
+ url('https://fonts.azion.com/roboto/roboto-black.woff') format('woff'),
151
+ url('https://fonts.azion.com/roboto/roboto-black.ttf') format('truetype'),
152
+ url('https://fonts.azion.com/roboto/roboto-black.svg#roboto-black') format('svg');
153
+ font-weight: 700;
154
+ font-style: normal;
155
+ font-display: swap;
156
+ }
@@ -0,0 +1,369 @@
1
+ // Theme Specific Variables
2
+
3
+ $pc: #f4f4f4;
4
+ $pdc: hsla(0, 0%, 96%, 0.5);
5
+ $pderc: #f4f4f4;
6
+ $ptc: #f4f4f4;
7
+ $highlightBg: rgba($pc, 0.06);
8
+ $overlayContentBg: #171717;
9
+
10
+ :root.azion-light {
11
+ $pc: #2b2b2b;
12
+ $pdc: #000;
13
+ $pderc: #000;
14
+ $ptc: #f4f4f4;
15
+ $highlightBg: rgba($pc, 0.06);
16
+ $overlayContentBg: #ffffff;
17
+ }
18
+
19
+ $primaryColor: $pc;
20
+ $primaryDarkColor: $pdc;
21
+ $primaryDarkerColor: $pderc;
22
+ $primaryTextColor: $ptc;
23
+
24
+ $colors: (
25
+ "blue": #2196f3,
26
+ "green": #4caf50,
27
+ "yellow": #fbc02d,
28
+ "cyan": #00bcd4,
29
+ "pink": #e91e63,
30
+ "indigo": #3f51b5,
31
+ "teal": #009688,
32
+ "orange": #f57c00,
33
+ "bluegray": #607d8b,
34
+ "purple": #9c27b0,
35
+ "red": #ff4032,
36
+ "primary": $primaryColor,
37
+ );
38
+
39
+ // Mandatory Designer Variables
40
+ @import "./variables/general";
41
+ @import "./variables/form";
42
+ @import "./variables/button";
43
+ @import "./variables/panel";
44
+ @import "./variables/_data";
45
+ @import "./variables/_overlay";
46
+ @import "./variables/_message";
47
+ @import "./variables/_menu";
48
+ @import "./variables/_media";
49
+ @import "./variables/_misc";
50
+
51
+ :root {
52
+ --surface-a: #ffffff;
53
+ --surface-b: #f8f9fa;
54
+ --surface-c: #e9ecef;
55
+ --surface-d: #dee2e6;
56
+ --surface-e: #ffffff;
57
+ --surface-f: #ffffff;
58
+
59
+ --green-50: #f4fcf7;
60
+ --green-100: #caf1d8;
61
+ --green-200: #a0e6ba;
62
+ --green-300: #76db9b;
63
+ --green-400: #4cd07d;
64
+ --green-500: #22c55e;
65
+ --green-600: #1da750;
66
+ --green-700: #188a42;
67
+ --green-800: #136c34;
68
+ --green-900: #0e4f26;
69
+
70
+ --red-50: #fff5f5;
71
+ --red-100: #ffd0ce;
72
+ --red-200: #ffaca7;
73
+ --red-300: #ff8780;
74
+ --red-400: #ff6259;
75
+ --red-500: #ff3d32;
76
+ --red-600: #d9342b;
77
+ --red-700: #b32b23;
78
+ --red-800: #8c221c;
79
+ --red-900: #661814;
80
+
81
+ --font-family: "Roboto", sans-serif;
82
+ }
83
+
84
+ :root.azion.azion-dark {
85
+ color-scheme: dark;
86
+ --text-color: #ededed;
87
+ --text-color-secondary: #b5b5b5;
88
+ --text-color-link: #93c5fd;
89
+ --text-color-link-hover: #93c5fd;
90
+
91
+ --primary-color: #f4f4f4;
92
+ --primary-color-text: #1e1e1e;
93
+ --primary-dark-color: hsla(0, 0%, 96%, 0.5);
94
+ --primary-darker-color: #f4f4f4;
95
+ --primary-text-color: #f4f4f4;
96
+
97
+ --surface-0: #0a0a0a;
98
+ --surface-50: #111111;
99
+ --surface-100: #171717;
100
+ --surface-200: #222222;
101
+ --surface-300: #282828;
102
+ --surface-400: #2e2e2e;
103
+ --surface-500: #353535;
104
+ --surface-600: #3e3e3e;
105
+ --surface-700: #4a4a4a;
106
+ --surface-800: #5e5e5e;
107
+ --surface-900: #7d7d7d;
108
+
109
+ --gray-50: #282828;
110
+ --gray-100: #363636;
111
+ --gray-200: #747474;
112
+ --gray-300: #939393;
113
+ --gray-400: #b2b2b2;
114
+ --gray-500: #9e9e9e;
115
+ --gray-600: #ebebeb;
116
+ --gray-700: #f5f5f5;
117
+ --gray-800: #fafafa;
118
+ --gray-900: #ffffff;
119
+
120
+ --surface-ground: #171717;
121
+ --surface-section: #171717;
122
+ --surface-card: #171717;
123
+ --surface-overlay: #ffffff;
124
+ --surface-border: #282828;
125
+ --surface-hover: #f5f5f516;
126
+
127
+ --content-padding: #{$panelContentPadding};
128
+ --inline-spacing: #{$inlineSpacing};
129
+ --border-radius: #{$borderRadius};
130
+ --focus-ring: #{$focusShadow};
131
+
132
+ --maskbg: #{$maskBg};
133
+ --highlight-bg: rgba(var(--primary-color), 0.06);
134
+ --highlight-text-color: #{$highlightTextColor};
135
+ --highlight-focus-bg: rgba(var(--primary-color), 0.08);
136
+ --disabled-opacity: 0.5;
137
+ --error-color: #f26464;
138
+ --mask-bg: #1c1c1c80;
139
+ --bg-selection: #fab99e;
140
+ --table-bg-color: #1c1c1c;
141
+ --tab-menu-link: #f4f4f4;
142
+ --paginator-bg: #1c1c1c;
143
+ --paginator-border: #282828;
144
+ --paginator-element-hover-bg: hsla(0, 0%, 100%, 0.03);
145
+ --table-header-font-weight: 500;
146
+ --table-cell-font-weight: 600;
147
+ --table-header-cell-hover-bg: #ffffff0d;
148
+ --table-header-cell-bg: #1c1c1c;
149
+ --table-header-cell-highlight-bg: #1c1c1c;
150
+ --table-cell-highlight-hover-bg: rgba(var(--primary-color), 0.16);
151
+ --table-body-row-even-bg: #212121;
152
+ --table-body-row-hover-bg: #353535;
153
+ --table-footer-cell-bg: #1c1c1c;
154
+ --table-footer-border: var(--surface-border);
155
+ --table-footer-border-width: none;
156
+ --table-footer-bg: #1c1c1c;
157
+ --plain-button-active-bg-color: #222222;
158
+ --secondary-button-bg: #ffffff;
159
+ --secondary-button-text-color: #222222;
160
+ --secondary-button-border: #f4f4f4;
161
+ --secondary-button-hover-bg: #e1e1e1;
162
+ --secondary-button-text-hover-color: #e1e1e1;
163
+ --secondary-button-hover-border-color: #e1e1e1;
164
+ --secondary-button-active-bg: #d9d9d9;
165
+ --secondary-button-active-border-color: #d9d9d9;
166
+ --secondary-button-text-hover-color: #1e1e1e;
167
+ --secondary-button-hover-border-color: #e1e1e1;
168
+ --secondary-button-text-active-color: #1e1e1e;
169
+ --secondary-button-active-border-color: #d9d9d9;
170
+ --warning-button-text-color: #1e1e1e;
171
+ --help-button-hover-border-color: #8e24aa;
172
+ --help-button-active: #7b1fa2;
173
+ --toggle-button-bg: #1e1e1e;
174
+ --toggle-button-border: #3e3e3e;
175
+ --toggle-button-hover-bg: #282828;
176
+ --input-bg: #292929;
177
+ --input-placeholder-text-color: #666;
178
+ --input-filled-bg: #181818;
179
+ --input-filled-hover-bg: #2b2b2b;
180
+ --input-filled-focus-bg: #181818;
181
+ --input-group-bg: #1c1c1c;
182
+ --input-list-bg: #171717;
183
+ --input-list-header-bg: #1c1c1c;
184
+ --input-overlay-shadow: 0px 0px 0px 1px #3b3b3b,
185
+ 0px 5px 10px 0px rgba(0, 0, 0, 0.05);
186
+ --checkbox-border: #666666;
187
+ --calendar-bg: #292929;
188
+ --calendar-cell-date-today-bg: #f4f4f4;
189
+ --calendar-cell-date-today-text-color: #1e1e1e;
190
+ --input-switch-slider-off-bg: #a1a1a1;
191
+ --input-switch-slider-off-hover-bg: #5e5e5e;
192
+ --input-switch-handle-on-bg: #ffffff;
193
+ --file-upload-file-border: 1px solid #e7e7e7;
194
+ --editor-toolbar-border: 1px solid #e7e7e7;
195
+ --action-icon-border: #3e3e3e;
196
+ --action-icon-color: $textSecondaryColor;
197
+ --action-icon-hover-bg: #282828;
198
+ --action-icon-hover-border-color: 1px solid #3e3e3e;
199
+ --panel-content-bg: #171717;
200
+ --panel-header-hover-border-color: #171717;
201
+ --panel-header-text-hover-color: rgba(var(--primary-color), 0.04);
202
+ --card-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.02),
203
+ 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12),
204
+ 0px 0px 0px 1px #3c3c3c;
205
+ --splitter-gutter-handle-bg: #3e3e3e;
206
+ --overlay-container-shadow: 0px 0px 0px 1px #3e3e3e,
207
+ 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 11px 15px -7px rgba(0, 0, 0, 0.2),
208
+ 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
209
+ --dialog-header-bg: #1c1c1c;
210
+ --tooltip-text-color: #1c1c1c;
211
+ --badge-font-weight: 400;
212
+ --tag-padding: 0.25rem 0.5rem;
213
+ --progress-bar-value-bg: #($primaryColor);
214
+ --progress-spinner-stroke-color: var(--surface-600);
215
+ --avatar-bg: #363636;
216
+ --chip-bg: #404040;
217
+ --chip-focus-bg: #363636;
218
+ --skeleton-bg: #3131316d;
219
+ --skeleton-animation-bg: #31313199;
220
+ --toast-shadow: #3e3e3e;
221
+ --success-message-bg: #39e4781f;
222
+ --success-message-icon-color: #39e478;
223
+ --error-message--bg: #f2646433;
224
+ --error-message-icon-color: #f26464;
225
+ --steps-item-bg: #00000000;
226
+ --steps-item-border: 1px solid #3e3e3e;
227
+ --menu-bg: #1c1c1c;
228
+ --menu-border: 1px solid #3e3e3e;
229
+ --submenu-header-font-weight: 500;
230
+ --overlay-menu-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.12),
231
+ 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 2px 4px -1px rgba(0, 0, 0, 0.2),
232
+ 0px 0px 0px 1px #3c3c3c;
233
+ --horizontal-menu-bg: #1c1c1c;
234
+ }
235
+
236
+ :root.azion.azion-light {
237
+ color-scheme: light;
238
+ --text-color: #1c1c1c;
239
+ --text-color-secondary: #666666;
240
+ --text-color-link: #3265cb;
241
+ --text-color-link-hover: #2851a4;
242
+
243
+ --primary-color: #1e1e1e;
244
+ --primary-color-text: #f4f4f4;
245
+
246
+ --surface-0: #ffffff;
247
+ --surface-50: #f9fafb;
248
+ --surface-100: #f4f4f4;
249
+ --surface-200: #eeeeee;
250
+ --surface-300: #e8e8e8;
251
+ --surface-400: #e3e3e3;
252
+ --surface-500: #dddddd;
253
+ --surface-600: #d3d3d3;
254
+ --surface-700: #c9c9c9;
255
+ --surface-800: #b5b5b5;
256
+ --surface-900: #a7a7a7;
257
+
258
+ --gray-50: #fafafa;
259
+ --gray-100: #f5f5f5;
260
+ --gray-200: #eeeeee;
261
+ --gray-300: #e0e0e0;
262
+ --gray-400: #bdbdbd;
263
+ --gray-500: #9e9e9e;
264
+ --gray-600: #757575;
265
+ --gray-700: #616161;
266
+ --gray-800: #424242;
267
+ --gray-900: #212121;
268
+
269
+ --surface-ground: #ffffff;
270
+ --surface-section: #ffffff;
271
+ --surface-card: #ffffff;
272
+ --surface-overlay: #ffffff;
273
+ --surface-border: #e8e8e8;
274
+ --surface-hover: #3b3b3b16;
275
+
276
+ --maskbg: #{$maskBg};
277
+ --highlight-bg: rgba(var(--primary-color), 0.06);
278
+ --highlight-text-color: #{$highlightTextColor};
279
+ --highlight-focus-bg: rgba(var(--primary-color), 0.08);
280
+ --disabled-opacity: 0.4;
281
+ --mask-bg: #1e1e1e32;
282
+ --error-color: #ef4040;
283
+ --bg-selection: #f7966e;
284
+ --table-bg-color: #e7e7e7;
285
+ --tab-menu-link: #1c1c1c;
286
+ --paginator-bg: #ffffff;
287
+ --paginator-border: none;
288
+ --paginator-element-hover-bg: #e9ecef;
289
+ --table-header-cell-hover-bg: #e9ecef;
290
+ --table-cell-highlight-hover-bg: #e9ecef;
291
+ --table-header-font-weight: 600;
292
+ --table-cell-font-weight: 500;
293
+ --table-header-cell-bg: #fcfdfd;
294
+ --table-header-cell-highlight-bg: #f8f9fa;
295
+ --table-body-row-even-bg: #ffffff;
296
+ --table-body-row-hover-bg: #f7f7f7;
297
+ --table-footer-border: #e9ecef;
298
+ --table-footer-border-width: 0 0 1px 0;
299
+ --table-footer-bg: #f8f9fa;
300
+ --plain-button-active-bg-color: #1e1e1e33;
301
+ --secondary-button-bg: #1e1e1e;
302
+ --secondary-button-text-color: #f4f4f4;
303
+ --secondary-button-text-hover-bg: #404040;
304
+ --secondary-button-text-hover-color: #f4f4f4;
305
+ --secondary-button-hover-border-color: #323232;
306
+ --secondary-button-active-bg: #303030;
307
+ --secondary-button-text-active-color: #ffffff;
308
+ --secondary-button-active-border-color: #303030;
309
+ --warning-button-text-color: #1c1c1c;
310
+ --help-button-hover-border-color: #0953a6;
311
+ --help-button-active: #0953a6;
312
+ --toggle-button-bg: #ffffff;
313
+ --toggle-button-border: #ced4da;
314
+ --toggle-button-hover-bg: #e9ecef;
315
+ --input-bg: #f4f4f4;
316
+ --input-placeholder-text-color: #979797;
317
+ --input-filled-bg: #f4f4f4;
318
+ --input-filled-hover-bg: #eaeaea;
319
+ --input-filled-focus-bg: #f8f9fa;
320
+ --input-group-bg: #eaeaea;
321
+ --input-list-bg: #ffffff;
322
+ --input-list-header-bg: #f8f9fa;
323
+ --input-overlay-shadow: 0px 0px 0px 1px #e7e7e7,
324
+ 0px 1px 4px 0px rgba(0, 0, 0, 0.04);
325
+ --checkbox-border: var(--surface-border);
326
+ --calendar-bg: #ffffff;
327
+ --calendar-cell-date-today-bg: #1e1e1e;
328
+ --calendar-cell-date-today-text-color: #f4f4f4;
329
+ --input-switch-slider-off-bg: #ced4da;
330
+ --input-switch-slider-off-hover-bg: #c3cad2;
331
+ --input-switch-handle-on-bg: #1e1e1e;
332
+ --file-upload-file-border: 1px solid #c3cad2;
333
+ --editor-toolbar-border: 1px solid #dee2e6;
334
+ --action-icon-border: #e7e7e7;
335
+ --action-icon-color: $textColor;
336
+ --action-icon-hover-bg: #1e1e1e04;
337
+ --action-icon-hover-border-color: 1px solid #e7e7e7;
338
+ --panel-content-bg: #ffffff;
339
+ --panel-header-hover-border-color: #dee2e6;
340
+ --panel-header-text-hover-color: var(--text-color);
341
+ --card-shadow: 0px 0px 0px 1px #e7e7e7;
342
+ --splitter-gutter-handle-bg: #e7e7e7;
343
+ --overlay-container-shadow: 0px 0px 0px 1px #e7e7e7,
344
+ 0px 5px 10px 0px rgba(0, 0, 0, 0.05);
345
+ --dialog-header-bg: #ffffff;
346
+ --tooltip-text-color: #ffffff;
347
+ --badge-font-weight: 500;
348
+ --tag-padding: 0.25rem 0.4rem;
349
+ --progress-bar-value-bg: #f3652b;
350
+ --progress-spinner-stroke-color: $errorMessageTextColor;
351
+ --avatar-bg: #e7e7e7;
352
+ --chip-bg: #dedede;
353
+ --chip-focus-bg: #dee2e6;
354
+ --skeleton-bg: #eaeaea;
355
+ --skeleton-animation-bg: #d6d6d6;
356
+ --toast-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.08), 0px 0px 0px 1px #e7e7e7;
357
+ --success-message-bg: #1982361f;
358
+ --success-message-icon-color: #198236;
359
+ --error-message--bg: #ef40401f;
360
+ --error-message-icon-color: #ef4040;
361
+ --steps-item-bg: #ffffff00;
362
+ --steps-item-border: 1px solid #e7e7e7;
363
+ --menu-bg: #ffffff;
364
+ --menu-border: 1px solid #e7e7e7;
365
+ --submenu-header-font-weight: 400;
366
+ --overlay-menu-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.04),
367
+ 0px 0px 0px 1px #e7e7e7;
368
+ --horizontal-menu-bg: #f8f9fa;
369
+ }
@@ -0,0 +1,5 @@
1
+ a {
2
+ &:focus-visible {
3
+ @include focused();
4
+ }
5
+ }
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Enable smooth scrolling on the whole document
3
+ */
4
+ html {
5
+ scroll-behavior: smooth;
6
+ }
@@ -0,0 +1,4 @@
1
+ ::selection {
2
+ color: var(--primary-color-text);
3
+ background-color: var(--bg-selection);
4
+ }
@@ -0,0 +1,53 @@
1
+ // Custom badge
2
+ .p-badge {
3
+ border: 1px solid var(--surface-border) !important;
4
+ border-radius: $borderRadius;
5
+ color: $badgeTextColor;
6
+ font-size: 0.75rem !important;
7
+ font-weight: 600 !important;
8
+ min-width: $badgeMinWidth;
9
+ height: $badgeHeight;
10
+ display: flex !important;
11
+ align-items: center !important;
12
+ justify-content: center !important;
13
+
14
+ &.p-badge-secondary {
15
+ background-color: $secondaryButtonBg;
16
+ color: $secondaryButtonTextColor;
17
+ }
18
+
19
+ &.p-badge-success {
20
+ background-color: $successButtonBg;
21
+ color: $successButtonTextColor;
22
+ }
23
+
24
+ &.p-badge-info {
25
+ background-color: $infoButtonBg;
26
+ color: $infoButtonTextColor;
27
+ }
28
+
29
+ &.p-badge-warning {
30
+ background-color: $warningButtonBg;
31
+ color: $warningButtonTextColor;
32
+ }
33
+
34
+ &.p-badge-danger {
35
+ background-color: $dangerButtonBg;
36
+ color: $dangerButtonTextColor;
37
+ border: none !important;
38
+ }
39
+
40
+ &.p-badge-lg {
41
+ font-size: 1.5 * $badgeFontSize;
42
+ min-width: 1.5 * $badgeMinWidth;
43
+ height: 1.5 * $badgeHeight;
44
+ line-height: 1.5 * $badgeHeight;
45
+ }
46
+
47
+ &.p-badge-xl {
48
+ font-size: 2 * $badgeFontSize;
49
+ min-width: 2 * $badgeMinWidth;
50
+ height: 2 * $badgeHeight;
51
+ line-height: 2 * $badgeHeight;
52
+ }
53
+ }