@angelscmf/front 1.0.29 → 1.0.31

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 (103) hide show
  1. package/dist/AngelsFrontAnimationLibrary.d.ts +1 -1
  2. package/dist/AngelsFrontAnimationLibrary.js +81 -33
  3. package/dist/AngelsFrontAnimationLibrary.js.map +1 -1
  4. package/dist/{AngelsFrontLoader.cjs → AngelsFrontAnimationLibrary.mjs} +57 -64
  5. package/dist/AngelsFrontAnimationLibrary.mjs.map +1 -0
  6. package/dist/AngelsFrontApplication.d.mts +11 -0
  7. package/dist/AngelsFrontApplication.d.ts +3 -2
  8. package/dist/AngelsFrontApplication.js +283 -28
  9. package/dist/AngelsFrontApplication.js.map +1 -1
  10. package/dist/AngelsFrontApplication.mjs +365 -0
  11. package/dist/AngelsFrontApplication.mjs.map +1 -0
  12. package/dist/AngelsFrontDOMLibrary.d.mts +13 -0
  13. package/dist/AngelsFrontDOMLibrary.d.ts +11 -7
  14. package/dist/AngelsFrontDOMLibrary.js +345 -21
  15. package/dist/AngelsFrontDOMLibrary.js.map +1 -1
  16. package/dist/AngelsFrontDOMLibrary.mjs +391 -0
  17. package/dist/AngelsFrontDOMLibrary.mjs.map +1 -0
  18. package/dist/AngelsFrontElement.d.mts +15 -0
  19. package/dist/AngelsFrontElement.d.ts +15 -0
  20. package/dist/{AngelsFrontAnimationLibrary.cjs → AngelsFrontElement.js} +80 -68
  21. package/dist/AngelsFrontElement.js.map +1 -0
  22. package/dist/AngelsFrontElement.mjs +195 -0
  23. package/dist/AngelsFrontElement.mjs.map +1 -0
  24. package/dist/AngelsFrontLoader.js +613 -32
  25. package/dist/AngelsFrontLoader.js.map +1 -1
  26. package/dist/AngelsFrontLoader.mjs +789 -0
  27. package/dist/AngelsFrontLoader.mjs.map +1 -0
  28. package/dist/{AngelsFrontMod.d.cts → AngelsFrontMod.d.mts} +4 -3
  29. package/dist/AngelsFrontMod.d.ts +4 -3
  30. package/dist/AngelsFrontMod.js +40 -17
  31. package/dist/AngelsFrontMod.js.map +1 -1
  32. package/dist/{AngelsFrontComponent.js → AngelsFrontMod.mjs} +18 -37
  33. package/dist/AngelsFrontMod.mjs.map +1 -0
  34. package/dist/AngelsFrontPage.d.mts +11 -0
  35. package/dist/AngelsFrontPage.d.ts +3 -2
  36. package/dist/AngelsFrontPage.js +283 -28
  37. package/dist/AngelsFrontPage.js.map +1 -1
  38. package/dist/AngelsFrontPage.mjs +365 -0
  39. package/dist/AngelsFrontPage.mjs.map +1 -0
  40. package/dist/AngelsFrontWidgetClass.d.mts +15 -0
  41. package/dist/AngelsFrontWidgetClass.d.ts +15 -0
  42. package/dist/AngelsFrontWidgetClass.js +383 -0
  43. package/dist/AngelsFrontWidgetClass.js.map +1 -0
  44. package/dist/AngelsFrontWidgetClass.mjs +361 -0
  45. package/dist/AngelsFrontWidgetClass.mjs.map +1 -0
  46. package/dist/index.js +1 -0
  47. package/dist/index.mjs +1 -0
  48. package/package.json +13 -2
  49. package/sass/AngelsDesign.scss +5 -0
  50. package/sass/_AngelsHTMLElements.scss +244 -244
  51. package/sass/_AngelsPageLayout.scss +0 -4
  52. package/sass/_AngelsTheme.scss +47 -15
  53. package/sass/_AngelsVariables.scss +1 -4
  54. package/sass/angelsMessages/_AngelsAlert.scss +3 -2
  55. package/sass/angelsMessages/_AngelsDebug.scss +3 -2
  56. package/sass/angelsMessages/_AngelsDone.scss +3 -2
  57. package/sass/angelsMessages/_AngelsError.scss +3 -2
  58. package/sass/angelsMessages/_AngelsInfo.scss +3 -2
  59. package/sass/angelsMessages/_AngelsTip.scss +3 -2
  60. package/sass/angelsMessages/_AngelsWarn.scss +3 -2
  61. package/sass/angelsTags/_a-alpha.scss +29 -0
  62. package/sass/angelsTags/_a-center.scss +15 -0
  63. package/sass/angelsTags/_a-float.scss +42 -0
  64. package/sass/angelsTags/_a-icenter.scss +15 -0
  65. package/sass/angelsTags/_a-page.scss +13 -4
  66. package/sass/angelsTags/_a-state.scss +2 -1
  67. package/sass/angelsTags/_a-table.scss +9 -35
  68. package/sass/angelsTags/_a-text-transform.scss +29 -0
  69. package/dist/AngelsCore.cjs +0 -246
  70. package/dist/AngelsCore.cjs.map +0 -1
  71. package/dist/AngelsCore.js +0 -245
  72. package/dist/AngelsCore.js.map +0 -1
  73. package/dist/AngelsElement.cjs +0 -67
  74. package/dist/AngelsElement.cjs.map +0 -1
  75. package/dist/AngelsElement.d.cts +0 -11
  76. package/dist/AngelsElement.d.ts +0 -11
  77. package/dist/AngelsElement.js +0 -42
  78. package/dist/AngelsElement.js.map +0 -1
  79. package/dist/AngelsFrontAnimationLibrary.cjs.map +0 -1
  80. package/dist/AngelsFrontApplication.cjs +0 -155
  81. package/dist/AngelsFrontApplication.cjs.map +0 -1
  82. package/dist/AngelsFrontApplication.d.cts +0 -10
  83. package/dist/AngelsFrontComponent.cjs +0 -151
  84. package/dist/AngelsFrontComponent.cjs.map +0 -1
  85. package/dist/AngelsFrontComponent.d.cts +0 -11
  86. package/dist/AngelsFrontComponent.d.ts +0 -11
  87. package/dist/AngelsFrontComponent.js.map +0 -1
  88. package/dist/AngelsFrontDOMLibrary.cjs +0 -130
  89. package/dist/AngelsFrontDOMLibrary.cjs.map +0 -1
  90. package/dist/AngelsFrontDOMLibrary.d.cts +0 -9
  91. package/dist/AngelsFrontLoader.cjs.map +0 -1
  92. package/dist/AngelsFrontLoader.d.cts +0 -2
  93. package/dist/AngelsFrontMod.cjs +0 -128
  94. package/dist/AngelsFrontMod.cjs.map +0 -1
  95. package/dist/AngelsFrontPage.cjs +0 -155
  96. package/dist/AngelsFrontPage.cjs.map +0 -1
  97. package/dist/AngelsFrontPage.d.cts +0 -10
  98. package/dist/index.cjs +0 -2
  99. package/dist/index.d.cts +0 -2
  100. package/dist/{AngelsFrontAnimationLibrary.d.cts → AngelsFrontAnimationLibrary.d.mts} +1 -1
  101. /package/dist/{AngelsCore.d.cts → AngelsFrontLoader.d.mts} +0 -0
  102. /package/dist/{AngelsCore.d.ts → index.d.mts} +0 -0
  103. /package/dist/{index.cjs.map → index.mjs.map} +0 -0
@@ -1,244 +1,244 @@
1
- /**
2
- * Angels' CMF HTML Elements styles.
3
- *
4
- * @version 2025-07-31
5
- * * Adds `a` styles.
6
- * * Adds `button` styles.
7
- * * Adds `h1.a-h1` styles.
8
- * * Adds `h2.a-h2` styles.
9
- * * Adds `h3.a-h3` styles.
10
- * * Adds `h4.a-h4` styles.
11
- * * Adds `h5.a-h5` styles.
12
- * * Adds `h6.a-h6` styles.
13
- * * Adds `input` styles.
14
- * * Adds `p` styles.
15
- * * Adds `table.a-table` styles.
16
- * * Adds `table.a-table td` styles.
17
- * * Adds `textarea` styles.
18
- */
19
-
20
- @use "AngelsVariables";
21
-
22
- * {
23
- box-sizing: border-box;
24
- }
25
-
26
- [hidden] {
27
- // Hidden tags should be hidden always.
28
- display: none !important;
29
- }
30
-
31
- :root {
32
- --a-link-textColor: #551c74;
33
- --a-link-hoverTextColor: #8F54B0;
34
- }
35
-
36
- a {
37
- color: var(--a-link-textColor);
38
-
39
- &:hover {
40
- color: var(--a-link-hoverTextColor);
41
- }
42
-
43
- &:focus {
44
- box-shadow: var(--a-focusBoxShadow);
45
- outline-color: var(--a-focusOutlineColor);
46
- }
47
- }
48
-
49
- :root {
50
- --a-button-background: #fff;
51
- --a-button-color: #8F54B0;
52
- /* 1/2em */
53
- --a-button-gap: var(--a-halfSize);
54
- /* 2em */
55
- --a-button-minHeight: var(--a-doubleSize);
56
- --a-button-paddingLeft: var(--a-baseSize);
57
- --a-button-paddingRight: var(--a-baseSize);
58
- --a-button-paddingTop: var(--a-halfSize);
59
- --a-button-paddingBottom: var(--a-halfSize);
60
- --a-button-borderColor: #8F54B0;
61
- --a-button-borderStyle: outset;
62
- --a-button-borderWidth: 2px;
63
- --a-button-hoverBackground: #551C74;
64
- --a-button-hoverTextColor: #fff;
65
- }
66
-
67
- button {
68
- align-items: center;
69
- background: var(--a-button-background);
70
- border-radius: var(--a-borderRadius);
71
- border-color: var(--a-button-borderColor);
72
- border-style: var(--a-button-borderStyle);
73
- border-width: var(--a-button-borderWidth);
74
- color: var(--a-button-color);
75
- display: inline-flex;
76
- gap: var(--a-button-gap);
77
- min-height: var(--a-button-minHeight);
78
- padding-left: calc(var(--a-button-paddingLeft) - var(--a-button-borderWidth));
79
- padding-right: calc(var(--a-button-paddingRight) - var(--a-button-borderWidth));
80
- padding-top: calc(var(--a-button-paddingTop) - var(--a-button-borderWidth));
81
- padding-bottom: calc(var(--a-button-paddingBottom) - var(--a-button-borderWidth));
82
- transition: all 0.3s ease;
83
-
84
- &:enabled {
85
- cursor: pointer;
86
- }
87
-
88
- &:hover {
89
- background: var(--a-button-hoverBackground);
90
- color: var(--a-button-hoverTextColor);
91
- }
92
- }
93
-
94
- :root {
95
- --a-submit-background: #8F54B0;
96
- --a-submit-borderColor: #551C74;
97
- --a-submit-borderWidth: 2px;
98
- --a-submit-color: #fff;
99
- --a-submit-hoverBackground: #551C74;
100
- --a-submit-hoverTextColor: #fff;
101
- }
102
-
103
- button[type=submit] {
104
- background: var(--a-submit-background);
105
- border-color: var(--a-submit-borderColor);
106
- border-width: var(--a-submit-borderWidth);
107
- color: var(--a-submit-color);
108
-
109
- &:hover {
110
- background: var(--a-submit-hoverBackground);
111
- color: var(--a-submit-hoverTextColor);
112
- }
113
- }
114
-
115
- :root {
116
- --a-headers-color: orangered;
117
- --a-headers-lineHeight: 2;
118
- }
119
-
120
- :root {
121
- --a-header1-color: var(--a-headers-color);
122
- --a-header1-lineHeight: var(--a-headers-lineHeight);
123
- --a-header1-margin: 0;
124
- --a-header1-size: #{AngelsVariables.$aFontSize + 6};
125
- }
126
-
127
- h1,
128
- h1.a-h1 {
129
- color: var(--a-header1-color);
130
- font-size: var(--a-header1-size);
131
- font-weight: normal;
132
- line-height: var(--a-header1-lineHeight);
133
- margin: var(--a-header1-margin);
134
- padding: 0;
135
- }
136
-
137
- :root {
138
- --a-header2-color: var(--a-headers-color);
139
- --a-header2-lineHeight: var(--a-headers-lineHeight);
140
- --a-header2-margin: 0;
141
- --a-header2-size: #{AngelsVariables.$aFontSize + 5};
142
- }
143
-
144
- h2,
145
- h2.a-h2 {
146
- color: var(--a-header2-color);
147
- font-size: var(--a-header2-size);
148
- font-weight: normal;
149
- letter-spacing: 2px;
150
- line-height: var(--a-header2-lineHeight);
151
- margin: var(--a-header2-margin);
152
- padding: 0;
153
- }
154
-
155
- :root {
156
- --a-header3-color: var(--a-headers-color);
157
- --a-header3-lineHeight: var(--a-headers-lineHeight);
158
- --a-header3-margin: 0;
159
- --a-header3-size: #{AngelsVariables.$aFontSize + 4};
160
- }
161
-
162
- h3,
163
- h3.a-h3 {
164
- color: var(--a-header3-color);
165
- font-size: var(--a-header3-size);
166
- font-weight: normal;
167
- letter-spacing: 2px;
168
- line-height: var(--a-header3-lineHeight);
169
- margin: var(--a-header3-margin);
170
- padding: 0;
171
- }
172
-
173
- :root {
174
- --a-header4-color: var(--a-headers-color);
175
- --a-header4-lineHeight: var(--a-headers-lineHeight);
176
- --a-header4-margin: 0;
177
- --a-header4-size: #{AngelsVariables.$aFontSize + 3};
178
- }
179
-
180
- h4,
181
- h4.a-h4 {
182
- color: var(--a-header4-color);
183
- font-size: var(--a-header4-size);
184
- font-weight: normal;
185
- letter-spacing: 2px;
186
- line-height: var(--a-header4-lineHeight);
187
- margin: var(--a-header4-margin);
188
- padding: 0;
189
- }
190
-
191
- :root {
192
- --a-header5-color: var(--a-headers-color);
193
- --a-header5-lineHeight: var(--a-headers-lineHeight);
194
- --a-header5-margin: 0;
195
- --a-header5-size: #{AngelsVariables.$aFontSize + 2};
196
- }
197
-
198
- h5,
199
- h5.a-h5 {
200
- color: var(--a-header5-color);
201
- font-size: var(--a-header5-size);
202
- font-weight: normal;
203
- letter-spacing: 2px;
204
- line-height: var(--a-header5-lineHeight);
205
- margin: var(--a-header5-margin);
206
- padding: 0;
207
- }
208
-
209
- :root {
210
- --a-header6-color: var(--a-headers-color);
211
- --a-header6-lineHeight: var(--a-headers-lineHeight);
212
- --a-header6-margin: 0;
213
- --a-header6-size: #{AngelsVariables.$aFontSize + 1};
214
- }
215
-
216
- h6,
217
- h6.a-h6 {
218
- color: var(--a-header6-color);
219
- font-size: var(--a-header6-size);
220
- font-weight: normal;
221
- letter-spacing: 2px;
222
- line-height: var(--a-header6-lineHeight);
223
- margin: var(--a-header6-margin);
224
- padding: 0;
225
- }
226
-
227
- input {
228
- border-radius: var(--a-borderRadius);
229
- }
230
-
231
- p {
232
- text-align: justify;
233
- }
234
-
235
- table.a-table {
236
-
237
- td {
238
- padding: .1em var(--a-halfSize);
239
- }
240
- }
241
-
242
- textarea {
243
- border-radius: var(--a-borderRadius);
244
- }
1
+ /**
2
+ * Angels' CMF HTML Elements styles.
3
+ *
4
+ * @version 2025-07-31
5
+ * * Adds `a` styles.
6
+ * * Adds `button` styles.
7
+ * * Adds `h1.a-h1` styles.
8
+ * * Adds `h2.a-h2` styles.
9
+ * * Adds `h3.a-h3` styles.
10
+ * * Adds `h4.a-h4` styles.
11
+ * * Adds `h5.a-h5` styles.
12
+ * * Adds `h6.a-h6` styles.
13
+ * * Adds `input` styles.
14
+ * * Adds `p` styles.
15
+ * * Adds `table.a-table` styles.
16
+ * * Adds `table.a-table td` styles.
17
+ * * Adds `textarea` styles.
18
+ */
19
+
20
+ @use "AngelsVariables";
21
+
22
+ * {
23
+ box-sizing: border-box;
24
+ }
25
+
26
+ [hidden] {
27
+ // Hidden tags should be hidden always.
28
+ display: none !important;
29
+ }
30
+
31
+ :root {
32
+ --a-link-textColor: #551c74;
33
+ --a-link-hoverTextColor: #8F54B0;
34
+ }
35
+
36
+ a {
37
+ color: var(--a-link-textColor);
38
+
39
+ &:hover {
40
+ color: var(--a-link-hoverTextColor);
41
+ }
42
+
43
+ &:focus {
44
+ box-shadow: var(--a-focusBoxShadow);
45
+ outline-color: var(--a-focusOutlineColor);
46
+ }
47
+ }
48
+
49
+ :root {
50
+ --a-button-background: #fff;
51
+ --a-button-color: #8F54B0;
52
+ /* 1/2em */
53
+ --a-button-gap: var(--a-halfSize);
54
+ /* 2em */
55
+ --a-button-minHeight: var(--a-doubleSize);
56
+ --a-button-paddingLeft: var(--a-baseSize);
57
+ --a-button-paddingRight: var(--a-baseSize);
58
+ --a-button-paddingTop: var(--a-halfSize);
59
+ --a-button-paddingBottom: var(--a-halfSize);
60
+ --a-button-borderColor: #8F54B0;
61
+ --a-button-borderStyle: outset;
62
+ --a-button-borderWidth: 2px;
63
+ --a-button-hoverBackground: #551C74;
64
+ --a-button-hoverTextColor: #fff;
65
+ }
66
+
67
+ button {
68
+ align-items: center;
69
+ background: var(--a-button-background);
70
+ border-radius: var(--a-borderRadius);
71
+ border-color: var(--a-button-borderColor);
72
+ border-style: var(--a-button-borderStyle);
73
+ border-width: var(--a-button-borderWidth);
74
+ color: var(--a-button-color);
75
+ display: inline-flex;
76
+ gap: var(--a-button-gap);
77
+ min-height: var(--a-button-minHeight);
78
+ padding-left: calc(var(--a-button-paddingLeft) - var(--a-button-borderWidth));
79
+ padding-right: calc(var(--a-button-paddingRight) - var(--a-button-borderWidth));
80
+ padding-top: calc(var(--a-button-paddingTop) - var(--a-button-borderWidth));
81
+ padding-bottom: calc(var(--a-button-paddingBottom) - var(--a-button-borderWidth));
82
+ transition: all 0.3s ease;
83
+
84
+ &:enabled {
85
+ cursor: pointer;
86
+ }
87
+
88
+ &:hover {
89
+ background: var(--a-button-hoverBackground);
90
+ color: var(--a-button-hoverTextColor);
91
+ }
92
+ }
93
+
94
+ :root {
95
+ --a-submit-background: #8F54B0;
96
+ --a-submit-borderColor: #551C74;
97
+ --a-submit-borderWidth: 2px;
98
+ --a-submit-color: #fff;
99
+ --a-submit-hoverBackground: #551C74;
100
+ --a-submit-hoverTextColor: #fff;
101
+ }
102
+
103
+ button[type=submit] {
104
+ background: var(--a-submit-background);
105
+ border-color: var(--a-submit-borderColor);
106
+ border-width: var(--a-submit-borderWidth);
107
+ color: var(--a-submit-color);
108
+
109
+ &:hover {
110
+ background: var(--a-submit-hoverBackground);
111
+ color: var(--a-submit-hoverTextColor);
112
+ }
113
+ }
114
+
115
+ :root {
116
+ --a-headers-color: orangered;
117
+ --a-headers-lineHeight: 2;
118
+ }
119
+
120
+ :root {
121
+ --a-header1-color: var(--a-headers-color);
122
+ --a-header1-lineHeight: var(--a-headers-lineHeight);
123
+ --a-header1-margin: 0;
124
+ --a-header1-size: #{AngelsVariables.$aFontSize + 6};
125
+ }
126
+
127
+ h1,
128
+ h1.a-h1 {
129
+ color: var(--a-header1-color);
130
+ font-size: var(--a-header1-size);
131
+ font-weight: normal;
132
+ line-height: var(--a-header1-lineHeight);
133
+ margin: var(--a-header1-margin);
134
+ padding: 0;
135
+ }
136
+
137
+ :root {
138
+ --a-header2-color: var(--a-headers-color);
139
+ --a-header2-lineHeight: var(--a-headers-lineHeight);
140
+ --a-header2-margin: 0;
141
+ --a-header2-size: #{AngelsVariables.$aFontSize + 5};
142
+ }
143
+
144
+ h2,
145
+ h2.a-h2 {
146
+ color: var(--a-header2-color);
147
+ font-size: var(--a-header2-size);
148
+ font-weight: normal;
149
+ letter-spacing: 2px;
150
+ line-height: var(--a-header2-lineHeight);
151
+ margin: var(--a-header2-margin);
152
+ padding: 0;
153
+ }
154
+
155
+ :root {
156
+ --a-header3-color: var(--a-headers-color);
157
+ --a-header3-lineHeight: var(--a-headers-lineHeight);
158
+ --a-header3-margin: 0;
159
+ --a-header3-size: #{AngelsVariables.$aFontSize + 4};
160
+ }
161
+
162
+ h3,
163
+ h3.a-h3 {
164
+ color: var(--a-header3-color);
165
+ font-size: var(--a-header3-size);
166
+ font-weight: normal;
167
+ letter-spacing: 2px;
168
+ line-height: var(--a-header3-lineHeight);
169
+ margin: var(--a-header3-margin);
170
+ padding: 0;
171
+ }
172
+
173
+ :root {
174
+ --a-header4-color: var(--a-headers-color);
175
+ --a-header4-lineHeight: var(--a-headers-lineHeight);
176
+ --a-header4-margin: 0;
177
+ --a-header4-size: #{AngelsVariables.$aFontSize + 3};
178
+ }
179
+
180
+ h4,
181
+ h4.a-h4 {
182
+ color: var(--a-header4-color);
183
+ font-size: var(--a-header4-size);
184
+ font-weight: normal;
185
+ letter-spacing: 2px;
186
+ line-height: var(--a-header4-lineHeight);
187
+ margin: var(--a-header4-margin);
188
+ padding: 0;
189
+ }
190
+
191
+ :root {
192
+ --a-header5-color: var(--a-headers-color);
193
+ --a-header5-lineHeight: var(--a-headers-lineHeight);
194
+ --a-header5-margin: 0;
195
+ --a-header5-size: #{AngelsVariables.$aFontSize + 2};
196
+ }
197
+
198
+ h5,
199
+ h5.a-h5 {
200
+ color: var(--a-header5-color);
201
+ font-size: var(--a-header5-size);
202
+ font-weight: normal;
203
+ letter-spacing: 2px;
204
+ line-height: var(--a-header5-lineHeight);
205
+ margin: var(--a-header5-margin);
206
+ padding: 0;
207
+ }
208
+
209
+ :root {
210
+ --a-header6-color: var(--a-headers-color);
211
+ --a-header6-lineHeight: var(--a-headers-lineHeight);
212
+ --a-header6-margin: 0;
213
+ --a-header6-size: #{AngelsVariables.$aFontSize + 1};
214
+ }
215
+
216
+ h6,
217
+ h6.a-h6 {
218
+ color: var(--a-header6-color);
219
+ font-size: var(--a-header6-size);
220
+ font-weight: normal;
221
+ letter-spacing: 2px;
222
+ line-height: var(--a-header6-lineHeight);
223
+ margin: var(--a-header6-margin);
224
+ padding: 0;
225
+ }
226
+
227
+ input {
228
+ border-radius: var(--a-borderRadius);
229
+ }
230
+
231
+ p {
232
+ text-align: justify;
233
+ }
234
+
235
+ table.a-table {
236
+
237
+ td {
238
+ padding: .1em var(--a-halfSize);
239
+ }
240
+ }
241
+
242
+ textarea {
243
+ border-radius: var(--a-borderRadius);
244
+ }
@@ -18,10 +18,6 @@ html {
18
18
  min-height: 100vh;
19
19
  }
20
20
 
21
- :root {
22
- --a-backgroundColor: #{AngelsVariables.$aMainBackgroundColor};
23
- }
24
-
25
21
  body {
26
22
  background-color: var(--a-backgroundColor);
27
23
  color: var(--a-textColor);
@@ -1,6 +1,8 @@
1
1
  /**
2
2
  * Angels' CMF Theme Custom Variables
3
3
  *
4
+ * @version 2025-11-16 Adds --a-backgroundColor variable as #FFF4E6.
5
+ * @version 2025-11-16 Adds --a-backgroundColorSecondary variable as #FFE9CD.
4
6
  * @version 2025-05-18
5
7
  * * --a-header1-size based on Angels_ThemeVariables.$aFontSize
6
8
  * * --a-header2-size based on Angels_ThemeVariables.$aFontSize
@@ -10,32 +12,62 @@
10
12
  * * --a-header6-size based on Angels_ThemeVariables.$aFontSize
11
13
  */
12
14
 
15
+ @use "sass:math";
13
16
  @use "AngelsVariables";
14
17
 
18
+ /**
19
+ * Theme Colours
20
+ */
21
+ :root {
22
+
23
+ /**
24
+ * Background colour for the all page.
25
+ */
26
+ --a-backgroundColor: #FFF4E6;
27
+
28
+ /**
29
+ * Background colour for the some parts like headers, footers, borders.
30
+ */
31
+ --a-backgroundColorSecondary: #FFE9CD;
32
+ }
33
+
34
+
15
35
  :root {
16
- // 1/2em = 8px;
17
- --a-halfSize: 8px;
18
- // 1em = 16px;
19
- --a-baseSize: 16px;
20
- // 2em = 32px;
21
- --a-doubleSize: 32px;
22
- // 4em = 64px;
23
- --a-4xSize: 64px;
36
+ // --a-halfSize: 8px; // 0.5em = 8px; by default 16px font size
37
+ --a-halfSize: #{math.round(math.div(AngelsVariables.$aFontSize, 2))};
38
+ // --a-baseSize: 16px; // 1em = 16px; by default 16px font size
39
+ --a-baseSize: #{AngelsVariables.$aFontSize};
40
+ // --a-doubleSize: 32px; // 2em = 32px; by default 16px font size
41
+ --a-doubleSize: #{AngelsVariables.$aFontSize * 2};
42
+ // --a-fourxSize: 64px; // 4em = 64px; by default 16px font size
43
+ --a-fourxSize: #{AngelsVariables.$aFontSize * 4};
44
+ // --a-lineSize: 24px; // 1.5em = 24px; by default 16px font size
45
+ --a-lineSize: #{AngelsVariables.$aFontSize * 1.5};
46
+ // --a-lineSizeHalf: 12px; // 0.5em = 12px; by default 16px font size
47
+ --a-lineSizeHalf: #{math.round(math.div(AngelsVariables.$aFontSize, 2)) * 1.5};
48
+ // --a-lineSizeQuarter: 6px; // 0.25em = 6px; by default 16px font size
49
+ --a-lineSizeQuarter: #{math.round(math.div(AngelsVariables.$aFontSize, 4)) * 1.5};
24
50
  }
25
51
 
26
52
  :root {
27
- /* --a-borderRadius: 4px = 1em/4 = 16px/4 */
28
- --a-borderRadius: 4px;
53
+ // --a-borderRadius: 6px;
54
+ --a-borderRadius: var(--a-lineSizeQuarter);
29
55
  --a-fontFamily: Verdana, Arial, Helvetica, sans-serif;
30
- --a-fontSize: 16px;
31
- --a-lineHeight: 24px;
32
- --a-lineHeightHalf: 12px;
33
- --a-lineHeightQuarter: 6px;
56
+ // --a-fontSize: 16px;
57
+ --a-fontSize: var(--a-baseSize);
58
+ // --a-lineHeight: 24px;
59
+ --a-lineHeight: var(--a-lineSize);
60
+ // --a-lineHeightHalf: 12px;
61
+ --a-lineHeightHalf: var(--a-lineSizeHalf);
62
+ // --a-lineHeightQuarter: 6px;
63
+ --a-lineHeightQuarter: var(--a-lineSizeQuarter);
34
64
  --a-note-color: palevioletred;
35
65
  --a-textColor: #4B2E2E;
36
66
  }
37
67
 
38
68
  :root {
39
- --a-focusBoxShadow: 0 0 10px #551c74;
69
+ --a-focusBoxColor: #551c74;
70
+ --a-focusBoxSize: 10px;
71
+ --a-focusBoxShadow: 0 0 var(--a-focusBoxSize) var(--a-focusBoxColor);
40
72
  --a-focusOutlineColor: #8f54b0;
41
73
  }
@@ -5,9 +5,6 @@
5
5
  /**
6
6
  * Colour variables
7
7
  */
8
-
9
- $aMainBackgroundColor: #FFF4E6;
10
- $aSecondBackgroundColor: #ffe9cd;
11
8
  $aSecondColor: #02172c;
12
9
 
13
10
  /**
@@ -28,7 +25,7 @@ $a-tablet-max-width: 767.98px;
28
25
  $a-laptop-min-width: 768px;
29
26
  $a-laptop-max-width: 1023.98px;
30
27
  $a-desktop-min-width: 1024px;
31
- $a-desktop-max-width: 1366.98px;
28
+ $a-desktop-max-width: 1365.98px;
32
29
  $a-large-min-width: 1367px;
33
30
  $a-large-max-width: 1919.98px;
34
31
  $a-extra-min-width: 1920px;
@@ -1,6 +1,6 @@
1
1
  :root {
2
- --a-alert-space: var(--a-lineHeightHalf);
3
- --a-alert-spaceHalf: var(--a-lineHeightQuarter);
2
+ --a-alert-space: var(--a-lineSizeHalf);
3
+ --a-alert-spaceHalf: var(--a-lineSizeQuarter);
4
4
  --a-alert-borderColor: #b71c1c;
5
5
  --a-alert-background: #ffe6e6;
6
6
  --a-alert-color: #d90429;
@@ -11,6 +11,7 @@ a-alert {
11
11
  }
12
12
 
13
13
  a-alert,
14
+ a-state.a-alert,
14
15
  div.a-alert,
15
16
  p.a-alert,
16
17
  unknown {
@@ -1,6 +1,6 @@
1
1
  :root {
2
- --a-debug-space: var(--a-lineHeightHalf);
3
- --a-debug-spaceHalf: var(--a-lineHeightQuarter);
2
+ --a-debug-space: var(--a-lineSizeHalf);
3
+ --a-debug-spaceHalf: var(--a-lineSizeQuarter);
4
4
  --a-debug-borderColor: #a29bfe;
5
5
  --a-debug-background: #f8f7ff;
6
6
  --a-debug-color: #443c78;
@@ -11,6 +11,7 @@ a-debug {
11
11
  }
12
12
 
13
13
  a-debug,
14
+ a-state.a-debug,
14
15
  div.a-debug,
15
16
  p.a-debug,
16
17
  unknown {
@@ -1,6 +1,6 @@
1
1
  :root {
2
- --a-done-space: var(--a-lineHeightHalf);
3
- --a-done-spaceHalf: var(--a-lineHeightQuarter);
2
+ --a-done-space: var(--a-lineSizeHalf);
3
+ --a-done-spaceHalf: var(--a-lineSizeQuarter);
4
4
  --a-done-borderColor: #2ecc71;
5
5
  --a-done-background: #f3fff7;
6
6
  --a-done-color: #1b7944;
@@ -11,6 +11,7 @@ a-done {
11
11
  }
12
12
 
13
13
  a-done,
14
+ a-state.a-done,
14
15
  div.a-done,
15
16
  p.a-done,
16
17
  unknown {
@@ -1,6 +1,6 @@
1
1
  :root {
2
- --a-error-space: var(--a-lineHeightHalf);
3
- --a-error-spaceHalf: var(--a-lineHeightQuarter);
2
+ --a-error-space: var(--a-lineSizeHalf);
3
+ --a-error-spaceHalf: var(--a-lineSizeQuarter);
4
4
  --a-error-borderColor: #f28b82;
5
5
  --a-error-background: #fff5f5;
6
6
  --a-error-color: #c62828;
@@ -11,6 +11,7 @@ a-error {
11
11
  }
12
12
 
13
13
  a-error,
14
+ a-state.a-error,
14
15
  div.a-error,
15
16
  p.a-error,
16
17
  unknown {