@jaisocx/css-clean-start-2 1.0.1 → 1.0.4

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.
@@ -8,9 +8,19 @@
8
8
  @import url("@CssCleanStart_2_MediaAndStyles/themes/theme_base/responsive_size_Imports_CssCleanStart_2_theme_base_Webpack.css");
9
9
 
10
10
 
11
+
12
+ /* layout theme */
13
+ @import url("@CssCleanStart_2_MediaAndStyles/themes/theme_visible_height/theme_visible_height.css");
14
+
15
+
16
+
11
17
  @import url("@CssCleanStart_2_MediaAndStyles/CssCleanStart_2_presets.css");
12
18
 
13
19
 
20
+ @import url("@CssCleanStart_2_MediaAndStyles/themes/theme_lightmode/CssCleanStart_2_theme_lightmode_main.css");
21
+ @import url("@CssCleanStart_2_MediaAndStyles/themes/theme_darkmode/CssCleanStart_2_theme_darkmode_main.css");
22
+
23
+
14
24
  /* main css file, css logics with rules set via variables in the theme .css files imported above */
15
25
  @import url("@CssCleanStart_2_MediaAndStyles/CssCleanStart_2_main.css");
16
26
 
@@ -9,9 +9,17 @@
9
9
  @import url("@CssCleanStart_2_MediaAndStyles/themes/theme_base/responsive_size_Imports_CssCleanStart_2_theme_base_Webpack_min.css");
10
10
 
11
11
 
12
+ /* layout theme */
13
+ @import url("@CssCleanStart_2_MediaAndStyles/themes/theme_visible_height/theme_visible_height.css");
14
+
15
+
12
16
  @import url("@CssCleanStart_2_MediaAndStyles/CssCleanStart_2_presets.css");
13
17
 
14
18
 
19
+ @import url("@CssCleanStart_2_MediaAndStyles/themes/theme_lightmode/CssCleanStart_2_theme_lightmode_main.css");
20
+ @import url("@CssCleanStart_2_MediaAndStyles/themes/theme_darkmode/CssCleanStart_2_theme_darkmode_main.css");
21
+
22
+
15
23
  /* main css file, css logics with rules set via variables in the theme .css files imported above */
16
24
  @import url("@CssCleanStart_2_MediaAndStyles/CssCleanStart_2_main.css");
17
25
 
@@ -8,10 +8,24 @@
8
8
  @import url("./themes/theme_base/responsive_size_Imports_CssCleanStart_2_theme_base_Relative.css");
9
9
 
10
10
 
11
+
12
+ /* color themes */
13
+ @import url("./themes/theme_lightmode/CssCleanStart_2_theme_lightmode_main.css");
14
+ @import url("./themes/theme_darkmode/CssCleanStart_2_theme_darkmode_main.css");
15
+
16
+
17
+
18
+ /* layout theme */
19
+ @import url("./themes/theme_visible_height/theme_visible_height.css");
20
+
21
+
22
+
23
+ /* example css code blocks */
11
24
  @import url("./CssCleanStart_2_presets.css");
12
25
 
13
26
 
14
- /* main css file, css logics with rules set via variables in the theme .css files imported above */
27
+
28
+ /* the main css file, css logics with rules set via variables in the theme .css files imported above */
15
29
  @import url("./CssCleanStart_2_main.css");
16
30
 
17
31
 
@@ -8125,6 +8125,46 @@
8125
8125
 
8126
8126
 
8127
8127
 
8128
+ .jsx.theme_visible_height {
8129
+
8130
+ --jsx--css-clean-start-2--body-tag--height: 100vh;
8131
+ --jsx--css-clean-start-2--body-tag--max-height: 100vh;
8132
+ --jsx--css-clean-start-2--body-tag--min-height: 100vh;
8133
+
8134
+ --jsx--css-clean-start-2--body-tag--overflow-y: hidden;
8135
+
8136
+
8137
+
8138
+ --jsx--css-clean-start-2--site--height: 100%;
8139
+ --jsx--css-clean-start-2--site--max-height: 100%;
8140
+ --jsx--css-clean-start-2--site--min-height: 100%;
8141
+
8142
+ --jsx--css-clean-start-2--site--overflow-y: hidden;
8143
+
8144
+ }
8145
+
8146
+
8147
+
8148
+ .jsx.theme_visible_height body main {
8149
+ display: flex;
8150
+ flex-direction: column;
8151
+ align-items: stretch;
8152
+ justify-content: stretch;
8153
+ }
8154
+
8155
+
8156
+
8157
+
8158
+ .jsx.theme_visible_height main.a-tag-in-main-tag {
8159
+
8160
+ flex-grow: 1;
8161
+
8162
+ }
8163
+
8164
+
8165
+
8166
+
8167
+
8128
8168
 
8129
8169
  .jsx.small {
8130
8170
  --jsx--css-clean-start-2--body-tag--height: 100vh;
@@ -8158,6 +8198,84 @@
8158
8198
 
8159
8199
 
8160
8200
 
8201
+ .jsx.theme_lightmode,
8202
+ .jsx .theme_lightmode {
8203
+
8204
+
8205
+ --jsx--css-clean-start-2--body-tag--background: #e0e9f4;
8206
+ --jsx--css-clean-start-2--site--background: #fff;
8207
+
8208
+
8209
+ --jsx--css-clean-start-2--all-tags--color: #333;
8210
+
8211
+ --jsx--css-clean-start-2--all-tags--border-color: #ddd;
8212
+ --jsx--css-clean-start-2--all-tags--border-style: dotted;
8213
+ --jsx--css-clean-start-2--all-tags--border-width: 0;
8214
+
8215
+
8216
+
8217
+
8218
+ --jsx--css-clean-start-2--h--color: #567;
8219
+
8220
+
8221
+
8222
+
8223
+ --jsx--css-clean-start-2--anchor--color: #00f;
8224
+ --jsx--css-clean-start-2--anchor-hover--color: #55f;
8225
+
8226
+ --jsx--css-clean-start-2--anchor-visited--color: grey;
8227
+ --jsx--css-clean-start-2--anchor-visited-hover--color: grey;
8228
+
8229
+ --jsx--css-clean-start-2--anchor-active--color: #00f;
8230
+ --jsx--css-clean-start-2--anchor-active-hover--color: #55f;
8231
+
8232
+
8233
+
8234
+ --jsx--css-clean-start-2--thead--background-color: honeydew;
8235
+ --jsx--css-clean-start-2--tfoot--background-color: cornsilk;
8236
+
8237
+ }
8238
+
8239
+
8240
+ .jsx.theme_darkmode,
8241
+ .jsx .theme_darkmode {
8242
+
8243
+
8244
+ --jsx--css-clean-start-2--body-tag--background: #457;
8245
+ --jsx--css-clean-start-2--site--background: #012;
8246
+
8247
+
8248
+ --jsx--css-clean-start-2--all-tags--color: #adf;
8249
+
8250
+ --jsx--css-clean-start-2--all-tags--border-color: #fff;
8251
+ --jsx--css-clean-start-2--all-tags--border-style: dotted;
8252
+ --jsx--css-clean-start-2--all-tags--border-width: 0;
8253
+
8254
+
8255
+
8256
+
8257
+ --jsx--css-clean-start-2--h--color: #fff;
8258
+
8259
+
8260
+
8261
+
8262
+ --jsx--css-clean-start-2--anchor--color: #00f;
8263
+ --jsx--css-clean-start-2--anchor-hover--color: #55f;
8264
+
8265
+ --jsx--css-clean-start-2--anchor-visited--color: grey;
8266
+ --jsx--css-clean-start-2--anchor-visited-hover--color: grey;
8267
+
8268
+ --jsx--css-clean-start-2--anchor-active--color: #00f;
8269
+ --jsx--css-clean-start-2--anchor-active-hover--color: #55f;
8270
+
8271
+
8272
+
8273
+ --jsx--css-clean-start-2--thead--background-color: #456;
8274
+ --jsx--css-clean-start-2--tfoot--background-color: #456;
8275
+
8276
+ }
8277
+
8278
+
8161
8279
 
8162
8280
 
8163
8281
  .jsx * {
@@ -4072,6 +4072,46 @@
4072
4072
 
4073
4073
 
4074
4074
 
4075
+ .jsx.theme_visible_height {
4076
+
4077
+ --jsx--css-clean-start-2--body-tag--height: 100vh;
4078
+ --jsx--css-clean-start-2--body-tag--max-height: 100vh;
4079
+ --jsx--css-clean-start-2--body-tag--min-height: 100vh;
4080
+
4081
+ --jsx--css-clean-start-2--body-tag--overflow-y: hidden;
4082
+
4083
+
4084
+
4085
+ --jsx--css-clean-start-2--site--height: 100%;
4086
+ --jsx--css-clean-start-2--site--max-height: 100%;
4087
+ --jsx--css-clean-start-2--site--min-height: 100%;
4088
+
4089
+ --jsx--css-clean-start-2--site--overflow-y: hidden;
4090
+
4091
+ }
4092
+
4093
+
4094
+
4095
+ .jsx.theme_visible_height body main {
4096
+ display: flex;
4097
+ flex-direction: column;
4098
+ align-items: stretch;
4099
+ justify-content: stretch;
4100
+ }
4101
+
4102
+
4103
+
4104
+
4105
+ .jsx.theme_visible_height main.a-tag-in-main-tag {
4106
+
4107
+ flex-grow: 1;
4108
+
4109
+ }
4110
+
4111
+
4112
+
4113
+
4114
+
4075
4115
 
4076
4116
  .jsx.small {
4077
4117
  --jsx--css-clean-start-2--body-tag--height: 100vh;
@@ -4105,6 +4145,84 @@
4105
4145
 
4106
4146
 
4107
4147
 
4148
+ .jsx.theme_lightmode,
4149
+ .jsx .theme_lightmode {
4150
+
4151
+
4152
+ --jsx--css-clean-start-2--body-tag--background: #e0e9f4;
4153
+ --jsx--css-clean-start-2--site--background: #fff;
4154
+
4155
+
4156
+ --jsx--css-clean-start-2--all-tags--color: #333;
4157
+
4158
+ --jsx--css-clean-start-2--all-tags--border-color: #ddd;
4159
+ --jsx--css-clean-start-2--all-tags--border-style: dotted;
4160
+ --jsx--css-clean-start-2--all-tags--border-width: 0;
4161
+
4162
+
4163
+
4164
+
4165
+ --jsx--css-clean-start-2--h--color: #567;
4166
+
4167
+
4168
+
4169
+
4170
+ --jsx--css-clean-start-2--anchor--color: #00f;
4171
+ --jsx--css-clean-start-2--anchor-hover--color: #55f;
4172
+
4173
+ --jsx--css-clean-start-2--anchor-visited--color: grey;
4174
+ --jsx--css-clean-start-2--anchor-visited-hover--color: grey;
4175
+
4176
+ --jsx--css-clean-start-2--anchor-active--color: #00f;
4177
+ --jsx--css-clean-start-2--anchor-active-hover--color: #55f;
4178
+
4179
+
4180
+
4181
+ --jsx--css-clean-start-2--thead--background-color: honeydew;
4182
+ --jsx--css-clean-start-2--tfoot--background-color: cornsilk;
4183
+
4184
+ }
4185
+
4186
+
4187
+ .jsx.theme_darkmode,
4188
+ .jsx .theme_darkmode {
4189
+
4190
+
4191
+ --jsx--css-clean-start-2--body-tag--background: #457;
4192
+ --jsx--css-clean-start-2--site--background: #012;
4193
+
4194
+
4195
+ --jsx--css-clean-start-2--all-tags--color: #adf;
4196
+
4197
+ --jsx--css-clean-start-2--all-tags--border-color: #fff;
4198
+ --jsx--css-clean-start-2--all-tags--border-style: dotted;
4199
+ --jsx--css-clean-start-2--all-tags--border-width: 0;
4200
+
4201
+
4202
+
4203
+
4204
+ --jsx--css-clean-start-2--h--color: #fff;
4205
+
4206
+
4207
+
4208
+
4209
+ --jsx--css-clean-start-2--anchor--color: #00f;
4210
+ --jsx--css-clean-start-2--anchor-hover--color: #55f;
4211
+
4212
+ --jsx--css-clean-start-2--anchor-visited--color: grey;
4213
+ --jsx--css-clean-start-2--anchor-visited-hover--color: grey;
4214
+
4215
+ --jsx--css-clean-start-2--anchor-active--color: #00f;
4216
+ --jsx--css-clean-start-2--anchor-active-hover--color: #55f;
4217
+
4218
+
4219
+
4220
+ --jsx--css-clean-start-2--thead--background-color: #456;
4221
+ --jsx--css-clean-start-2--tfoot--background-color: #456;
4222
+
4223
+ }
4224
+
4225
+
4108
4226
 
4109
4227
 
4110
4228
  .jsx * {
@@ -0,0 +1,45 @@
1
+
2
+ .jsx.theme_darkmode,
3
+ .jsx .theme_darkmode {
4
+
5
+ /** -------------------------------
6
+ background styles of the html elem <body>, and, the direct anchester html elem <main>
7
+ */
8
+ --jsx--css-clean-start-2--body-tag--background: #457;
9
+ --jsx--css-clean-start-2--site--background: #012;
10
+
11
+
12
+ --jsx--css-clean-start-2--all-tags--color: #adf;
13
+
14
+ --jsx--css-clean-start-2--all-tags--border-color: #fff;
15
+ --jsx--css-clean-start-2--all-tags--border-style: dotted;
16
+ --jsx--css-clean-start-2--all-tags--border-width: 0;
17
+
18
+
19
+
20
+ /** -------------------------------
21
+ h1 til h6 styles
22
+ */
23
+ --jsx--css-clean-start-2--h--color: #fff;
24
+
25
+
26
+
27
+ /** -------------------------------
28
+ hyperlnks text colors
29
+ */
30
+ --jsx--css-clean-start-2--anchor--color: #00f;
31
+ --jsx--css-clean-start-2--anchor-hover--color: #55f;
32
+
33
+ --jsx--css-clean-start-2--anchor-visited--color: grey;
34
+ --jsx--css-clean-start-2--anchor-visited-hover--color: grey;
35
+
36
+ --jsx--css-clean-start-2--anchor-active--color: #00f;
37
+ --jsx--css-clean-start-2--anchor-active-hover--color: #55f;
38
+
39
+
40
+
41
+ --jsx--css-clean-start-2--thead--background-color: #456;
42
+ --jsx--css-clean-start-2--tfoot--background-color: #456;
43
+
44
+ }
45
+
@@ -0,0 +1,45 @@
1
+
2
+ .jsx.theme_lightmode,
3
+ .jsx .theme_lightmode {
4
+
5
+ /** -------------------------------
6
+ background styles of the html elem <body>, and, the direct anchester html elem <main>
7
+ */
8
+ --jsx--css-clean-start-2--body-tag--background: #e0e9f4;
9
+ --jsx--css-clean-start-2--site--background: #fff;
10
+
11
+
12
+ --jsx--css-clean-start-2--all-tags--color: #333;
13
+
14
+ --jsx--css-clean-start-2--all-tags--border-color: #ddd;
15
+ --jsx--css-clean-start-2--all-tags--border-style: dotted;
16
+ --jsx--css-clean-start-2--all-tags--border-width: 0;
17
+
18
+
19
+
20
+ /** -------------------------------
21
+ h1 til h6 styles
22
+ */
23
+ --jsx--css-clean-start-2--h--color: #567;
24
+
25
+
26
+
27
+ /** -------------------------------
28
+ hyperlnks text colors
29
+ */
30
+ --jsx--css-clean-start-2--anchor--color: #00f;
31
+ --jsx--css-clean-start-2--anchor-hover--color: #55f;
32
+
33
+ --jsx--css-clean-start-2--anchor-visited--color: grey;
34
+ --jsx--css-clean-start-2--anchor-visited-hover--color: grey;
35
+
36
+ --jsx--css-clean-start-2--anchor-active--color: #00f;
37
+ --jsx--css-clean-start-2--anchor-active-hover--color: #55f;
38
+
39
+
40
+
41
+ --jsx--css-clean-start-2--thead--background-color: honeydew;
42
+ --jsx--css-clean-start-2--tfoot--background-color: cornsilk;
43
+
44
+ }
45
+
@@ -0,0 +1,39 @@
1
+ /* a layout theme */
2
+
3
+ .jsx.theme_visible_height {
4
+
5
+ --jsx--css-clean-start-2--body-tag--height: 100vh;
6
+ --jsx--css-clean-start-2--body-tag--max-height: 100vh;
7
+ --jsx--css-clean-start-2--body-tag--min-height: 100vh;
8
+
9
+ --jsx--css-clean-start-2--body-tag--overflow-y: hidden;
10
+
11
+
12
+
13
+ --jsx--css-clean-start-2--site--height: 100%;
14
+ --jsx--css-clean-start-2--site--max-height: 100%;
15
+ --jsx--css-clean-start-2--site--min-height: 100%;
16
+
17
+ --jsx--css-clean-start-2--site--overflow-y: hidden;
18
+
19
+ }
20
+
21
+
22
+
23
+ .jsx.theme_visible_height body main {
24
+ display: flex;
25
+ flex-direction: column;
26
+ align-items: stretch;
27
+ justify-content: stretch;
28
+ }
29
+
30
+
31
+
32
+ /* example when this theme css class is set in the root html tag */
33
+ .jsx.theme_visible_height main.a-tag-in-main-tag {
34
+
35
+ flex-grow: 1;
36
+
37
+ }
38
+
39
+
package/README.md CHANGED
@@ -40,7 +40,7 @@ several .css files will be loaded with size of very few KB.
40
40
 
41
41
  ## Watch site in action
42
42
 
43
- [https://sandbox.brightday.email/sites_tools/css_tools/CssCleanStart_2/index.html](https://sandbox.brightday.email/sites_tools/css_tools/CssCleanStart_2/index.html)
43
+ [https://sandbox.brightday.email/sites_tools/css_tools/CssCleanStart_2/index.example.html](https://sandbox.brightday.email/sites_tools/css_tools/CssCleanStart_2/index.example.html)
44
44
 
45
45
 
46
46
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jaisocx/css-clean-start-2",
3
- "version": "1.0.1",
3
+ "version": "1.0.4",
4
4
  "description": "",
5
5
  "author": "Jaisocx",
6
6
  "keywords": [
@@ -8,23 +8,22 @@
8
8
  "styles"
9
9
  ],
10
10
  "files": [
11
- "index.html",
11
+ "index.example.html",
12
12
  "responsive_sizes.html",
13
13
 
14
14
  "MediaAndStyles/*.css",
15
- "MediaAndStyles/themes/",
16
- "MediaAndStyles/fonts/",
15
+ "MediaAndStyles/themes",
16
+ "MediaAndStyles/fonts",
17
17
 
18
18
  "transpiled/CommonJS",
19
19
  "transpiled/ESNext",
20
- "transpiled/Simple",
21
20
 
22
21
  "webpack.aliases.json",
23
22
 
24
23
  "README.md"
25
24
  ],
26
25
  "optionalDependencies": {
27
- "@jaisocx/responsive-sizes": "~1.2.2"
26
+ "@jaisocx/responsive-sizes": "~1.3.1"
28
27
  },
29
28
  "private": false,
30
29
  "publishConfig": {
File without changes