@bexis2/bexis2-core-ui 0.3.0 → 0.3.2

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 (87) hide show
  1. package/README.md +5 -0
  2. package/dist/TableView.svelte +1 -1
  3. package/dist/components/File/FileIcon.svelte +45 -45
  4. package/dist/components/File/FileInfo.svelte +13 -13
  5. package/dist/components/ListView.svelte +5 -5
  6. package/dist/components/form/Checkbox.svelte +13 -13
  7. package/dist/components/form/CheckboxKvPList.svelte +16 -16
  8. package/dist/components/form/CheckboxList.svelte +10 -10
  9. package/dist/components/form/DateInput.svelte +14 -14
  10. package/dist/components/form/DropdownKvP.svelte +54 -54
  11. package/dist/components/form/NumberInput.svelte +15 -15
  12. package/dist/components/form/TextArea.svelte +14 -14
  13. package/dist/components/form/TextInput.svelte +15 -15
  14. package/dist/components/page/Alert.svelte +28 -28
  15. package/dist/components/page/BackToTop.svelte +30 -30
  16. package/dist/components/page/Docs.svelte +22 -22
  17. package/dist/components/page/ErrorMessage.svelte +8 -8
  18. package/dist/components/page/Footer.svelte +5 -5
  19. package/dist/components/page/Header.svelte +5 -5
  20. package/dist/components/page/HelpPopUp.svelte +30 -30
  21. package/dist/components/page/PageCaller.js +19 -19
  22. package/dist/components/page/Spinner.svelte +14 -14
  23. package/dist/components/page/menu/MenuDataCaller.js +10 -10
  24. package/dist/css/core.ui.postcss +17 -17
  25. package/dist/css/themes/theme-bexis2.css +96 -96
  26. package/dist/css/themes/theme-crimson.css +101 -101
  27. package/dist/css/themes/theme-gold-nouveau.css +140 -140
  28. package/dist/css/themes/theme-hamlindigo.css +112 -112
  29. package/dist/css/themes/theme-modern.css +127 -127
  30. package/dist/css/themes/theme-rocket.css +119 -119
  31. package/dist/css/themes/theme-sahara.css +128 -128
  32. package/dist/css/themes/theme-seafoam.css +122 -122
  33. package/dist/css/themes/theme-seasonal.css +115 -115
  34. package/dist/css/themes/theme-skeleton.css +118 -118
  35. package/dist/css/themes/theme-vintage.css +125 -125
  36. package/dist/index.d.ts +1 -0
  37. package/dist/index.js +2 -0
  38. package/dist/services/BaseCaller.js +16 -16
  39. package/dist/stores/pageStores.js +1 -1
  40. package/dist/themes/theme-bexis2.d.ts +1 -1
  41. package/dist/themes/theme-bexis2.js +93 -93
  42. package/package.json +1 -1
  43. package/src/lib/TableView.svelte +1 -1
  44. package/src/lib/components/CodeEditor/CodeEditor.svelte +1 -1
  45. package/src/lib/components/ListView.svelte +11 -11
  46. package/src/lib/components/Table/filter.ts +141 -141
  47. package/src/lib/components/file/FileIcon.svelte +45 -45
  48. package/src/lib/components/file/FileInfo.svelte +13 -13
  49. package/src/lib/components/form/Checkbox.svelte +24 -24
  50. package/src/lib/components/form/CheckboxKvPList.svelte +29 -29
  51. package/src/lib/components/form/CheckboxList.svelte +21 -21
  52. package/src/lib/components/form/DateInput.svelte +27 -27
  53. package/src/lib/components/form/DropdownKvP.svelte +54 -54
  54. package/src/lib/components/form/NumberInput.svelte +30 -30
  55. package/src/lib/components/form/TextArea.svelte +28 -28
  56. package/src/lib/components/form/TextInput.svelte +28 -28
  57. package/src/lib/components/page/Alert.svelte +41 -41
  58. package/src/lib/components/page/BackToTop.svelte +30 -30
  59. package/src/lib/components/page/Docs.svelte +46 -46
  60. package/src/lib/components/page/ErrorMessage.svelte +10 -10
  61. package/src/lib/components/page/Footer.svelte +18 -18
  62. package/src/lib/components/page/Header.svelte +18 -18
  63. package/src/lib/components/page/HelpPopUp.svelte +72 -72
  64. package/src/lib/components/page/Notification.svelte +42 -47
  65. package/src/lib/components/page/Page.svelte +0 -1
  66. package/src/lib/components/page/PageCaller.js +19 -19
  67. package/src/lib/components/page/Spinner.svelte +20 -20
  68. package/src/lib/components/page/menu/MenuDataCaller.js +10 -10
  69. package/src/lib/css/core.ui.postcss +17 -17
  70. package/src/lib/css/themes/theme-bexis2.css +96 -96
  71. package/src/lib/css/themes/theme-crimson.css +101 -101
  72. package/src/lib/css/themes/theme-gold-nouveau.css +140 -140
  73. package/src/lib/css/themes/theme-hamlindigo.css +112 -112
  74. package/src/lib/css/themes/theme-modern.css +127 -127
  75. package/src/lib/css/themes/theme-rocket.css +119 -119
  76. package/src/lib/css/themes/theme-sahara.css +128 -128
  77. package/src/lib/css/themes/theme-seafoam.css +122 -122
  78. package/src/lib/css/themes/theme-seasonal.css +115 -115
  79. package/src/lib/css/themes/theme-skeleton.css +118 -118
  80. package/src/lib/css/themes/theme-vintage.css +125 -125
  81. package/src/lib/index.ts +5 -0
  82. package/src/lib/models/Page.ts +40 -40
  83. package/src/lib/services/Api.ts +55 -55
  84. package/src/lib/services/BaseCaller.js +16 -16
  85. package/src/lib/stores/apiStores.ts +34 -34
  86. package/src/lib/stores/pageStores.ts +4 -3
  87. package/src/lib/themes/theme-bexis2.ts +95 -97
@@ -1,128 +1,128 @@
1
- /* https://fonts.google.com/specimen/Raleway */
2
- @import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
3
- /* https://fonts.google.com/specimen/Lato?query=lato&noto.query=Abril */
4
- @import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
5
-
6
- :root {
7
- /* =~= Theme Styles =~= */
8
- --theme-font-family-base: 'Lato', sans-serif;
9
- --theme-font-family-heading: 'Raleway', sans-serif;
10
- --theme-font-color-base: var(--color-secondary-900);
11
- --theme-font-color-dark: var(--color-primary-100);
12
- --theme-rounded-base: 9999px;
13
- --theme-rounded-container: 24px;
14
- --theme-border-base: 1px;
15
- /* =~= Theme On-X Colors =~= */
16
- --on-primary: 0 0 0;
17
- --on-secondary: 0 0 0;
18
- --on-tertiary: 0 0 0;
19
- --on-success: 0 0 0;
20
- --on-warning: 0 0 0;
21
- --on-error: 255 255 255;
22
- --on-surface: 255 255 255;
23
- /* =~= Theme Colors =~= */
24
- /* primary | #ecaa36 */
25
- --color-primary-50: 252 242 225; /* ⬅ #fcf2e1 */
26
- --color-primary-100: 251 238 215; /* ⬅ #fbeed7 */
27
- --color-primary-200: 250 234 205; /* ⬅ #faeacd */
28
- --color-primary-300: 247 221 175; /* ⬅ #f7ddaf */
29
- --color-primary-400: 242 196 114; /* ⬅ #f2c472 */
30
- --color-primary-500: 236 170 54; /* ⬅ #ecaa36 */
31
- --color-primary-600: 212 153 49; /* ⬅ #d49931 */
32
- --color-primary-700: 177 128 41; /* ⬅ #b18029 */
33
- --color-primary-800: 142 102 32; /* ⬅ #8e6620 */
34
- --color-primary-900: 116 83 26; /* ⬅ #74531a */
35
- /* secondary | #3acbba */
36
- --color-secondary-50: 225 247 245; /* ⬅ #e1f7f5 */
37
- --color-secondary-100: 216 245 241; /* ⬅ #d8f5f1 */
38
- --color-secondary-200: 206 242 238; /* ⬅ #cef2ee */
39
- --color-secondary-300: 176 234 227; /* ⬅ #b0eae3 */
40
- --color-secondary-400: 117 219 207; /* ⬅ #75dbcf */
41
- --color-secondary-500: 58 203 186; /* ⬅ #3acbba */
42
- --color-secondary-600: 52 183 167; /* ⬅ #34b7a7 */
43
- --color-secondary-700: 44 152 140; /* ⬅ #2c988c */
44
- --color-secondary-800: 35 122 112; /* ⬅ #237a70 */
45
- --color-secondary-900: 28 99 91; /* ⬅ #1c635b */
46
- /* tertiary | #bbdf86 */
47
- --color-tertiary-50: 245 250 237; /* ⬅ #f5faed */
48
- --color-tertiary-100: 241 249 231; /* ⬅ #f1f9e7 */
49
- --color-tertiary-200: 238 247 225; /* ⬅ #eef7e1 */
50
- --color-tertiary-300: 228 242 207; /* ⬅ #e4f2cf */
51
- --color-tertiary-400: 207 233 170; /* ⬅ #cfe9aa */
52
- --color-tertiary-500: 187 223 134; /* ⬅ #bbdf86 */
53
- --color-tertiary-600: 168 201 121; /* ⬅ #a8c979 */
54
- --color-tertiary-700: 140 167 101; /* ⬅ #8ca765 */
55
- --color-tertiary-800: 112 134 80; /* ⬅ #708650 */
56
- --color-tertiary-900: 92 109 66; /* ⬅ #5c6d42 */
57
- /* success | #84cc16 */
58
- --color-success-50: 237 247 220; /* ⬅ #edf7dc */
59
- --color-success-100: 230 245 208; /* ⬅ #e6f5d0 */
60
- --color-success-200: 224 242 197; /* ⬅ #e0f2c5 */
61
- --color-success-300: 206 235 162; /* ⬅ #ceeba2 */
62
- --color-success-400: 169 219 92; /* ⬅ #a9db5c */
63
- --color-success-500: 132 204 22; /* ⬅ #84cc16 */
64
- --color-success-600: 119 184 20; /* ⬅ #77b814 */
65
- --color-success-700: 99 153 17; /* ⬅ #639911 */
66
- --color-success-800: 79 122 13; /* ⬅ #4f7a0d */
67
- --color-success-900: 65 100 11; /* ⬅ #41640b */
68
- /* warning | #e5c157 */
69
- --color-warning-50: 251 246 230; /* ⬅ #fbf6e6 */
70
- --color-warning-100: 250 243 221; /* ⬅ #faf3dd */
71
- --color-warning-200: 249 240 213; /* ⬅ #f9f0d5 */
72
- --color-warning-300: 245 230 188; /* ⬅ #f5e6bc */
73
- --color-warning-400: 237 212 137; /* ⬅ #edd489 */
74
- --color-warning-500: 229 193 87; /* ⬅ #e5c157 */
75
- --color-warning-600: 206 174 78; /* ⬅ #ceae4e */
76
- --color-warning-700: 172 145 65; /* ⬅ #ac9141 */
77
- --color-warning-800: 137 116 52; /* ⬅ #897434 */
78
- --color-warning-900: 112 95 43; /* ⬅ #705f2b */
79
- /* error | #db5c9c */
80
- --color-error-50: 250 231 240; /* ⬅ #fae7f0 */
81
- --color-error-100: 248 222 235; /* ⬅ #f8deeb */
82
- --color-error-200: 246 214 230; /* ⬅ #f6d6e6 */
83
- --color-error-300: 241 190 215; /* ⬅ #f1bed7 */
84
- --color-error-400: 230 141 186; /* ⬅ #e68dba */
85
- --color-error-500: 219 92 156; /* ⬅ #db5c9c */
86
- --color-error-600: 197 83 140; /* ⬅ #c5538c */
87
- --color-error-700: 164 69 117; /* ⬅ #a44575 */
88
- --color-error-800: 131 55 94; /* ⬅ #83375e */
89
- --color-error-900: 107 45 76; /* ⬅ #6b2d4c */
90
- /* surface | #da4e65 */
91
- --color-surface-50: 249 228 232; /* ⬅ #f9e4e8 */
92
- --color-surface-100: 248 220 224; /* ⬅ #f8dce0 */
93
- --color-surface-200: 246 211 217; /* ⬅ #f6d3d9 */
94
- --color-surface-300: 240 184 193; /* ⬅ #f0b8c1 */
95
- --color-surface-400: 229 131 147; /* ⬅ #e58393 */
96
- --color-surface-500: 218 78 101; /* ⬅ #da4e65 */
97
- --color-surface-600: 196 70 91; /* ⬅ #c4465b */
98
- --color-surface-700: 164 59 76; /* ⬅ #a43b4c */
99
- --color-surface-800: 131 47 61; /* ⬅ #832f3d */
100
- --color-surface-900: 107 38 49; /* ⬅ #6b2631 */
101
- }
102
-
103
- [data-theme='sahara'] h1,
104
- [data-theme='sahara'] h2,
105
- [data-theme='sahara'] h3,
106
- [data-theme='sahara'] h4,
107
- [data-theme='sahara'] h5,
108
- [data-theme='sahara'] h6 {
109
- font-weight: 600;
110
- }
111
- [data-theme='sahara'] p {
112
- font-weight: 400;
113
- }
114
-
115
- /* Applied to body with `<body data-theme="sahara">` */
116
- /* Created with: https://csshero.org/mesher/ */
117
- [data-theme='sahara'] {
118
- /* prettier-ignore */
119
- background-image:
120
- radial-gradient(at 100% 36%, hsla(37,81%,56%,0.15) 0px, transparent 50%),
121
- radial-gradient(at 7% 0%, hsla(37,81%,56%,0.20) 0px, transparent 50%);
122
- }
123
- .dark [data-theme='sahara'] {
124
- /* prettier-ignore */
125
- background-image:
126
- radial-gradient(at 100% 36%, hsla(37,81%,56%,0.15) 0px, transparent 50%),
127
- radial-gradient(at 7% 0%, hsla(37,81%,56%,0.20) 0px, transparent 50%);
128
- }
1
+ /* https://fonts.google.com/specimen/Raleway */
2
+ @import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
3
+ /* https://fonts.google.com/specimen/Lato?query=lato&noto.query=Abril */
4
+ @import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
5
+
6
+ :root {
7
+ /* =~= Theme Styles =~= */
8
+ --theme-font-family-base: 'Lato', sans-serif;
9
+ --theme-font-family-heading: 'Raleway', sans-serif;
10
+ --theme-font-color-base: var(--color-secondary-900);
11
+ --theme-font-color-dark: var(--color-primary-100);
12
+ --theme-rounded-base: 9999px;
13
+ --theme-rounded-container: 24px;
14
+ --theme-border-base: 1px;
15
+ /* =~= Theme On-X Colors =~= */
16
+ --on-primary: 0 0 0;
17
+ --on-secondary: 0 0 0;
18
+ --on-tertiary: 0 0 0;
19
+ --on-success: 0 0 0;
20
+ --on-warning: 0 0 0;
21
+ --on-error: 255 255 255;
22
+ --on-surface: 255 255 255;
23
+ /* =~= Theme Colors =~= */
24
+ /* primary | #ecaa36 */
25
+ --color-primary-50: 252 242 225; /* ⬅ #fcf2e1 */
26
+ --color-primary-100: 251 238 215; /* ⬅ #fbeed7 */
27
+ --color-primary-200: 250 234 205; /* ⬅ #faeacd */
28
+ --color-primary-300: 247 221 175; /* ⬅ #f7ddaf */
29
+ --color-primary-400: 242 196 114; /* ⬅ #f2c472 */
30
+ --color-primary-500: 236 170 54; /* ⬅ #ecaa36 */
31
+ --color-primary-600: 212 153 49; /* ⬅ #d49931 */
32
+ --color-primary-700: 177 128 41; /* ⬅ #b18029 */
33
+ --color-primary-800: 142 102 32; /* ⬅ #8e6620 */
34
+ --color-primary-900: 116 83 26; /* ⬅ #74531a */
35
+ /* secondary | #3acbba */
36
+ --color-secondary-50: 225 247 245; /* ⬅ #e1f7f5 */
37
+ --color-secondary-100: 216 245 241; /* ⬅ #d8f5f1 */
38
+ --color-secondary-200: 206 242 238; /* ⬅ #cef2ee */
39
+ --color-secondary-300: 176 234 227; /* ⬅ #b0eae3 */
40
+ --color-secondary-400: 117 219 207; /* ⬅ #75dbcf */
41
+ --color-secondary-500: 58 203 186; /* ⬅ #3acbba */
42
+ --color-secondary-600: 52 183 167; /* ⬅ #34b7a7 */
43
+ --color-secondary-700: 44 152 140; /* ⬅ #2c988c */
44
+ --color-secondary-800: 35 122 112; /* ⬅ #237a70 */
45
+ --color-secondary-900: 28 99 91; /* ⬅ #1c635b */
46
+ /* tertiary | #bbdf86 */
47
+ --color-tertiary-50: 245 250 237; /* ⬅ #f5faed */
48
+ --color-tertiary-100: 241 249 231; /* ⬅ #f1f9e7 */
49
+ --color-tertiary-200: 238 247 225; /* ⬅ #eef7e1 */
50
+ --color-tertiary-300: 228 242 207; /* ⬅ #e4f2cf */
51
+ --color-tertiary-400: 207 233 170; /* ⬅ #cfe9aa */
52
+ --color-tertiary-500: 187 223 134; /* ⬅ #bbdf86 */
53
+ --color-tertiary-600: 168 201 121; /* ⬅ #a8c979 */
54
+ --color-tertiary-700: 140 167 101; /* ⬅ #8ca765 */
55
+ --color-tertiary-800: 112 134 80; /* ⬅ #708650 */
56
+ --color-tertiary-900: 92 109 66; /* ⬅ #5c6d42 */
57
+ /* success | #84cc16 */
58
+ --color-success-50: 237 247 220; /* ⬅ #edf7dc */
59
+ --color-success-100: 230 245 208; /* ⬅ #e6f5d0 */
60
+ --color-success-200: 224 242 197; /* ⬅ #e0f2c5 */
61
+ --color-success-300: 206 235 162; /* ⬅ #ceeba2 */
62
+ --color-success-400: 169 219 92; /* ⬅ #a9db5c */
63
+ --color-success-500: 132 204 22; /* ⬅ #84cc16 */
64
+ --color-success-600: 119 184 20; /* ⬅ #77b814 */
65
+ --color-success-700: 99 153 17; /* ⬅ #639911 */
66
+ --color-success-800: 79 122 13; /* ⬅ #4f7a0d */
67
+ --color-success-900: 65 100 11; /* ⬅ #41640b */
68
+ /* warning | #e5c157 */
69
+ --color-warning-50: 251 246 230; /* ⬅ #fbf6e6 */
70
+ --color-warning-100: 250 243 221; /* ⬅ #faf3dd */
71
+ --color-warning-200: 249 240 213; /* ⬅ #f9f0d5 */
72
+ --color-warning-300: 245 230 188; /* ⬅ #f5e6bc */
73
+ --color-warning-400: 237 212 137; /* ⬅ #edd489 */
74
+ --color-warning-500: 229 193 87; /* ⬅ #e5c157 */
75
+ --color-warning-600: 206 174 78; /* ⬅ #ceae4e */
76
+ --color-warning-700: 172 145 65; /* ⬅ #ac9141 */
77
+ --color-warning-800: 137 116 52; /* ⬅ #897434 */
78
+ --color-warning-900: 112 95 43; /* ⬅ #705f2b */
79
+ /* error | #db5c9c */
80
+ --color-error-50: 250 231 240; /* ⬅ #fae7f0 */
81
+ --color-error-100: 248 222 235; /* ⬅ #f8deeb */
82
+ --color-error-200: 246 214 230; /* ⬅ #f6d6e6 */
83
+ --color-error-300: 241 190 215; /* ⬅ #f1bed7 */
84
+ --color-error-400: 230 141 186; /* ⬅ #e68dba */
85
+ --color-error-500: 219 92 156; /* ⬅ #db5c9c */
86
+ --color-error-600: 197 83 140; /* ⬅ #c5538c */
87
+ --color-error-700: 164 69 117; /* ⬅ #a44575 */
88
+ --color-error-800: 131 55 94; /* ⬅ #83375e */
89
+ --color-error-900: 107 45 76; /* ⬅ #6b2d4c */
90
+ /* surface | #da4e65 */
91
+ --color-surface-50: 249 228 232; /* ⬅ #f9e4e8 */
92
+ --color-surface-100: 248 220 224; /* ⬅ #f8dce0 */
93
+ --color-surface-200: 246 211 217; /* ⬅ #f6d3d9 */
94
+ --color-surface-300: 240 184 193; /* ⬅ #f0b8c1 */
95
+ --color-surface-400: 229 131 147; /* ⬅ #e58393 */
96
+ --color-surface-500: 218 78 101; /* ⬅ #da4e65 */
97
+ --color-surface-600: 196 70 91; /* ⬅ #c4465b */
98
+ --color-surface-700: 164 59 76; /* ⬅ #a43b4c */
99
+ --color-surface-800: 131 47 61; /* ⬅ #832f3d */
100
+ --color-surface-900: 107 38 49; /* ⬅ #6b2631 */
101
+ }
102
+
103
+ [data-theme='sahara'] h1,
104
+ [data-theme='sahara'] h2,
105
+ [data-theme='sahara'] h3,
106
+ [data-theme='sahara'] h4,
107
+ [data-theme='sahara'] h5,
108
+ [data-theme='sahara'] h6 {
109
+ font-weight: 600;
110
+ }
111
+ [data-theme='sahara'] p {
112
+ font-weight: 400;
113
+ }
114
+
115
+ /* Applied to body with `<body data-theme="sahara">` */
116
+ /* Created with: https://csshero.org/mesher/ */
117
+ [data-theme='sahara'] {
118
+ /* prettier-ignore */
119
+ background-image:
120
+ radial-gradient(at 100% 36%, hsla(37,81%,56%,0.15) 0px, transparent 50%),
121
+ radial-gradient(at 7% 0%, hsla(37,81%,56%,0.20) 0px, transparent 50%);
122
+ }
123
+ .dark [data-theme='sahara'] {
124
+ /* prettier-ignore */
125
+ background-image:
126
+ radial-gradient(at 100% 36%, hsla(37,81%,56%,0.15) 0px, transparent 50%),
127
+ radial-gradient(at 7% 0%, hsla(37,81%,56%,0.20) 0px, transparent 50%);
128
+ }
@@ -1,122 +1,122 @@
1
- /* https://fonts.google.com/specimen/Playfair+Display?query=playfair&noto.query=Abril */
2
- @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
3
-
4
- :root {
5
- /* =~= Theme Styles =~= */
6
- --theme-font-family-base: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
7
- 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',
8
- 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
9
- --theme-font-family-heading: 'Playfair Display', serif;
10
- --theme-font-color-base: var(--color-surface-900);
11
- --theme-font-color-dark: var(--color-secondary-100);
12
- --theme-rounded-base: 16px;
13
- --theme-rounded-container: 16px;
14
- --theme-border-base: 3px;
15
- /* =~= Theme On-X Colors =~= */
16
- --on-primary: 0 0 0;
17
- --on-secondary: 255 255 255;
18
- --on-tertiary: 255 255 255;
19
- --on-success: 0 0 0;
20
- --on-warning: 0 0 0;
21
- --on-error: 255 255 255;
22
- --on-surface: 0 0 0;
23
- /* =~= Theme Colors =~= */
24
- /* primary | #86d0cb */
25
- --color-primary-50: 237 248 247; /* ⬅ #edf8f7 */
26
- --color-primary-100: 231 246 245; /* ⬅ #e7f6f5 */
27
- --color-primary-200: 225 243 242; /* ⬅ #e1f3f2 */
28
- --color-primary-300: 207 236 234; /* ⬅ #cfecea */
29
- --color-primary-400: 170 222 219; /* ⬅ #aadedb */
30
- --color-primary-500: 134 208 203; /* ⬅ #86d0cb */
31
- --color-primary-600: 121 187 183; /* ⬅ #79bbb7 */
32
- --color-primary-700: 101 156 152; /* ⬅ #659c98 */
33
- --color-primary-800: 80 125 122; /* ⬅ #507d7a */
34
- --color-primary-900: 66 102 99; /* ⬅ #426663 */
35
- /* secondary | #213355 */
36
- --color-secondary-50: 222 224 230; /* ⬅ #dee0e6 */
37
- --color-secondary-100: 211 214 221; /* ⬅ #d3d6dd */
38
- --color-secondary-200: 200 204 213; /* ⬅ #c8ccd5 */
39
- --color-secondary-300: 166 173 187; /* ⬅ #a6adbb */
40
- --color-secondary-400: 100 112 136; /* ⬅ #647088 */
41
- --color-secondary-500: 33 51 85; /* ⬅ #213355 */
42
- --color-secondary-600: 30 46 77; /* ⬅ #1e2e4d */
43
- --color-secondary-700: 25 38 64; /* ⬅ #192640 */
44
- --color-secondary-800: 20 31 51; /* ⬅ #141f33 */
45
- --color-secondary-900: 16 25 42; /* ⬅ #10192a */
46
- /* tertiary | #ff3d00 */
47
- --color-tertiary-50: 255 226 217; /* ⬅ #ffe2d9 */
48
- --color-tertiary-100: 255 216 204; /* ⬅ #ffd8cc */
49
- --color-tertiary-200: 255 207 191; /* ⬅ #ffcfbf */
50
- --color-tertiary-300: 255 177 153; /* ⬅ #ffb199 */
51
- --color-tertiary-400: 255 119 77; /* ⬅ #ff774d */
52
- --color-tertiary-500: 255 61 0; /* ⬅ #ff3d00 */
53
- --color-tertiary-600: 230 55 0; /* ⬅ #e63700 */
54
- --color-tertiary-700: 191 46 0; /* ⬅ #bf2e00 */
55
- --color-tertiary-800: 153 37 0; /* ⬅ #992500 */
56
- --color-tertiary-900: 125 30 0; /* ⬅ #7d1e00 */
57
- /* success | #06e5a2 */
58
- --color-success-50: 218 251 241; /* ⬅ #dafbf1 */
59
- --color-success-100: 205 250 236; /* ⬅ #cdfaec */
60
- --color-success-200: 193 249 232; /* ⬅ #c1f9e8 */
61
- --color-success-300: 155 245 218; /* ⬅ #9bf5da */
62
- --color-success-400: 81 237 190; /* ⬅ #51edbe */
63
- --color-success-500: 6 229 162; /* ⬅ #06e5a2 */
64
- --color-success-600: 5 206 146; /* ⬅ #05ce92 */
65
- --color-success-700: 5 172 122; /* ⬅ #05ac7a */
66
- --color-success-800: 4 137 97; /* ⬅ #048961 */
67
- --color-success-900: 3 112 79; /* ⬅ #03704f */
68
- /* warning | #eae557 */
69
- --color-warning-50: 252 251 230; /* ⬅ #fcfbe6 */
70
- --color-warning-100: 251 250 221; /* ⬅ #fbfadd */
71
- --color-warning-200: 250 249 213; /* ⬅ #faf9d5 */
72
- --color-warning-300: 247 245 188; /* ⬅ #f7f5bc */
73
- --color-warning-400: 240 237 137; /* ⬅ #f0ed89 */
74
- --color-warning-500: 234 229 87; /* ⬅ #eae557 */
75
- --color-warning-600: 211 206 78; /* ⬅ #d3ce4e */
76
- --color-warning-700: 176 172 65; /* ⬅ #b0ac41 */
77
- --color-warning-800: 140 137 52; /* ⬅ #8c8934 */
78
- --color-warning-900: 115 112 43; /* ⬅ #73702b */
79
- /* error | #d24646 */
80
- --color-error-50: 248 227 227; /* ⬅ #f8e3e3 */
81
- --color-error-100: 246 218 218; /* ⬅ #f6dada */
82
- --color-error-200: 244 209 209; /* ⬅ #f4d1d1 */
83
- --color-error-300: 237 181 181; /* ⬅ #edb5b5 */
84
- --color-error-400: 224 126 126; /* ⬅ #e07e7e */
85
- --color-error-500: 210 70 70; /* ⬅ #d24646 */
86
- --color-error-600: 189 63 63; /* ⬅ #bd3f3f */
87
- --color-error-700: 158 53 53; /* ⬅ #9e3535 */
88
- --color-error-800: 126 42 42; /* ⬅ #7e2a2a */
89
- --color-error-900: 103 34 34; /* ⬅ #672222 */
90
- /* surface | #25d1d4 */
91
- --color-surface-50: 222 248 249; /* ⬅ #def8f9 */
92
- --color-surface-100: 211 246 246; /* ⬅ #d3f6f6 */
93
- --color-surface-200: 201 244 244; /* ⬅ #c9f4f4 */
94
- --color-surface-300: 168 237 238; /* ⬅ #a8edee */
95
- --color-surface-400: 102 223 225; /* ⬅ #66dfe1 */
96
- --color-surface-500: 37 209 212; /* ⬅ #25d1d4 */
97
- --color-surface-600: 33 188 191; /* ⬅ #21bcbf */
98
- --color-surface-700: 28 157 159; /* ⬅ #1c9d9f */
99
- --color-surface-800: 22 125 127; /* ⬅ #167d7f */
100
- --color-surface-900: 18 102 104; /* ⬅ #126668 */
101
- }
102
-
103
- [data-theme='seafoam'] h1,
104
- [data-theme='seafoam'] h2,
105
- [data-theme='seafoam'] h3,
106
- [data-theme='seafoam'] h4,
107
- [data-theme='seafoam'] h5,
108
- [data-theme='seafoam'] h6 {
109
- font-weight: bold;
110
- font-style: italic;
111
- letter-spacing: 1px;
112
- }
113
-
114
- /* #213253 | #08847c */
115
- /* Applied to body with `<body data-theme="seafoam">` */
116
- /* Created with: https://csshero.org/mesher/ */
117
- [data-theme='seafoam'] {
118
- background: linear-gradient(0deg, rgba(203, 221, 254, 0.75) 0%, rgba(163, 209, 206, 0.75) 100%);
119
- }
120
- .dark [data-theme='seafoam'] {
121
- background: linear-gradient(0deg, rgba(33, 50, 83, 1) 0%, rgba(8, 132, 124, 1) 100%);
122
- }
1
+ /* https://fonts.google.com/specimen/Playfair+Display?query=playfair&noto.query=Abril */
2
+ @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
3
+
4
+ :root {
5
+ /* =~= Theme Styles =~= */
6
+ --theme-font-family-base: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
7
+ 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',
8
+ 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
9
+ --theme-font-family-heading: 'Playfair Display', serif;
10
+ --theme-font-color-base: var(--color-surface-900);
11
+ --theme-font-color-dark: var(--color-secondary-100);
12
+ --theme-rounded-base: 16px;
13
+ --theme-rounded-container: 16px;
14
+ --theme-border-base: 3px;
15
+ /* =~= Theme On-X Colors =~= */
16
+ --on-primary: 0 0 0;
17
+ --on-secondary: 255 255 255;
18
+ --on-tertiary: 255 255 255;
19
+ --on-success: 0 0 0;
20
+ --on-warning: 0 0 0;
21
+ --on-error: 255 255 255;
22
+ --on-surface: 0 0 0;
23
+ /* =~= Theme Colors =~= */
24
+ /* primary | #86d0cb */
25
+ --color-primary-50: 237 248 247; /* ⬅ #edf8f7 */
26
+ --color-primary-100: 231 246 245; /* ⬅ #e7f6f5 */
27
+ --color-primary-200: 225 243 242; /* ⬅ #e1f3f2 */
28
+ --color-primary-300: 207 236 234; /* ⬅ #cfecea */
29
+ --color-primary-400: 170 222 219; /* ⬅ #aadedb */
30
+ --color-primary-500: 134 208 203; /* ⬅ #86d0cb */
31
+ --color-primary-600: 121 187 183; /* ⬅ #79bbb7 */
32
+ --color-primary-700: 101 156 152; /* ⬅ #659c98 */
33
+ --color-primary-800: 80 125 122; /* ⬅ #507d7a */
34
+ --color-primary-900: 66 102 99; /* ⬅ #426663 */
35
+ /* secondary | #213355 */
36
+ --color-secondary-50: 222 224 230; /* ⬅ #dee0e6 */
37
+ --color-secondary-100: 211 214 221; /* ⬅ #d3d6dd */
38
+ --color-secondary-200: 200 204 213; /* ⬅ #c8ccd5 */
39
+ --color-secondary-300: 166 173 187; /* ⬅ #a6adbb */
40
+ --color-secondary-400: 100 112 136; /* ⬅ #647088 */
41
+ --color-secondary-500: 33 51 85; /* ⬅ #213355 */
42
+ --color-secondary-600: 30 46 77; /* ⬅ #1e2e4d */
43
+ --color-secondary-700: 25 38 64; /* ⬅ #192640 */
44
+ --color-secondary-800: 20 31 51; /* ⬅ #141f33 */
45
+ --color-secondary-900: 16 25 42; /* ⬅ #10192a */
46
+ /* tertiary | #ff3d00 */
47
+ --color-tertiary-50: 255 226 217; /* ⬅ #ffe2d9 */
48
+ --color-tertiary-100: 255 216 204; /* ⬅ #ffd8cc */
49
+ --color-tertiary-200: 255 207 191; /* ⬅ #ffcfbf */
50
+ --color-tertiary-300: 255 177 153; /* ⬅ #ffb199 */
51
+ --color-tertiary-400: 255 119 77; /* ⬅ #ff774d */
52
+ --color-tertiary-500: 255 61 0; /* ⬅ #ff3d00 */
53
+ --color-tertiary-600: 230 55 0; /* ⬅ #e63700 */
54
+ --color-tertiary-700: 191 46 0; /* ⬅ #bf2e00 */
55
+ --color-tertiary-800: 153 37 0; /* ⬅ #992500 */
56
+ --color-tertiary-900: 125 30 0; /* ⬅ #7d1e00 */
57
+ /* success | #06e5a2 */
58
+ --color-success-50: 218 251 241; /* ⬅ #dafbf1 */
59
+ --color-success-100: 205 250 236; /* ⬅ #cdfaec */
60
+ --color-success-200: 193 249 232; /* ⬅ #c1f9e8 */
61
+ --color-success-300: 155 245 218; /* ⬅ #9bf5da */
62
+ --color-success-400: 81 237 190; /* ⬅ #51edbe */
63
+ --color-success-500: 6 229 162; /* ⬅ #06e5a2 */
64
+ --color-success-600: 5 206 146; /* ⬅ #05ce92 */
65
+ --color-success-700: 5 172 122; /* ⬅ #05ac7a */
66
+ --color-success-800: 4 137 97; /* ⬅ #048961 */
67
+ --color-success-900: 3 112 79; /* ⬅ #03704f */
68
+ /* warning | #eae557 */
69
+ --color-warning-50: 252 251 230; /* ⬅ #fcfbe6 */
70
+ --color-warning-100: 251 250 221; /* ⬅ #fbfadd */
71
+ --color-warning-200: 250 249 213; /* ⬅ #faf9d5 */
72
+ --color-warning-300: 247 245 188; /* ⬅ #f7f5bc */
73
+ --color-warning-400: 240 237 137; /* ⬅ #f0ed89 */
74
+ --color-warning-500: 234 229 87; /* ⬅ #eae557 */
75
+ --color-warning-600: 211 206 78; /* ⬅ #d3ce4e */
76
+ --color-warning-700: 176 172 65; /* ⬅ #b0ac41 */
77
+ --color-warning-800: 140 137 52; /* ⬅ #8c8934 */
78
+ --color-warning-900: 115 112 43; /* ⬅ #73702b */
79
+ /* error | #d24646 */
80
+ --color-error-50: 248 227 227; /* ⬅ #f8e3e3 */
81
+ --color-error-100: 246 218 218; /* ⬅ #f6dada */
82
+ --color-error-200: 244 209 209; /* ⬅ #f4d1d1 */
83
+ --color-error-300: 237 181 181; /* ⬅ #edb5b5 */
84
+ --color-error-400: 224 126 126; /* ⬅ #e07e7e */
85
+ --color-error-500: 210 70 70; /* ⬅ #d24646 */
86
+ --color-error-600: 189 63 63; /* ⬅ #bd3f3f */
87
+ --color-error-700: 158 53 53; /* ⬅ #9e3535 */
88
+ --color-error-800: 126 42 42; /* ⬅ #7e2a2a */
89
+ --color-error-900: 103 34 34; /* ⬅ #672222 */
90
+ /* surface | #25d1d4 */
91
+ --color-surface-50: 222 248 249; /* ⬅ #def8f9 */
92
+ --color-surface-100: 211 246 246; /* ⬅ #d3f6f6 */
93
+ --color-surface-200: 201 244 244; /* ⬅ #c9f4f4 */
94
+ --color-surface-300: 168 237 238; /* ⬅ #a8edee */
95
+ --color-surface-400: 102 223 225; /* ⬅ #66dfe1 */
96
+ --color-surface-500: 37 209 212; /* ⬅ #25d1d4 */
97
+ --color-surface-600: 33 188 191; /* ⬅ #21bcbf */
98
+ --color-surface-700: 28 157 159; /* ⬅ #1c9d9f */
99
+ --color-surface-800: 22 125 127; /* ⬅ #167d7f */
100
+ --color-surface-900: 18 102 104; /* ⬅ #126668 */
101
+ }
102
+
103
+ [data-theme='seafoam'] h1,
104
+ [data-theme='seafoam'] h2,
105
+ [data-theme='seafoam'] h3,
106
+ [data-theme='seafoam'] h4,
107
+ [data-theme='seafoam'] h5,
108
+ [data-theme='seafoam'] h6 {
109
+ font-weight: bold;
110
+ font-style: italic;
111
+ letter-spacing: 1px;
112
+ }
113
+
114
+ /* #213253 | #08847c */
115
+ /* Applied to body with `<body data-theme="seafoam">` */
116
+ /* Created with: https://csshero.org/mesher/ */
117
+ [data-theme='seafoam'] {
118
+ background: linear-gradient(0deg, rgba(203, 221, 254, 0.75) 0%, rgba(163, 209, 206, 0.75) 100%);
119
+ }
120
+ .dark [data-theme='seafoam'] {
121
+ background: linear-gradient(0deg, rgba(33, 50, 83, 1) 0%, rgba(8, 132, 124, 1) 100%);
122
+ }