@timus-networks/theme 2.4.135 → 2.4.136

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.
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@timus-networks/theme",
3
3
  "configKey": "themeOptions",
4
- "version": "2.4.134",
4
+ "version": "2.4.135",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.4",
7
7
  "unbuild": "2.0.0"
package/dist/module.mjs CHANGED
@@ -11,7 +11,7 @@ const __filename = __cjs_url__.fileURLToPath(import.meta.url);
11
11
  const __dirname = __cjs_path__.dirname(__filename);
12
12
  const require = __cjs_mod__.createRequire(import.meta.url);
13
13
  const name = "@timus-networks/theme";
14
- const version = "2.4.134";
14
+ const version = "2.4.135";
15
15
  const description = "A comprehensive Nuxt.js module providing a tailored theme experience with integrated TailwindCSS support for applications.";
16
16
  const type = "module";
17
17
  const exports = {
@@ -1212,6 +1212,20 @@ select {
1212
1212
  white-space: nowrap;
1213
1213
  }
1214
1214
 
1215
+ /* Element Chalk Variables */
1216
+ /**
1217
+ Bununla selectorun içerisine variable ekleyebiliyorsun
1218
+ .selector{
1219
+ // --el-button-text-color: var(--el-color-primary); -> bu eklenir
1220
+ @include css-var-from-global(('button-text-color'), ('color-primary'));
1221
+
1222
+ // bununla property'ye değer atayabilirsin (hiyerarşik alıyor)
1223
+ color: getCssVar('colors-neutral-light-2');
1224
+
1225
+ // bununla da property alınabililyor
1226
+ font-size: map.get($select, 'font-size');
1227
+ }
1228
+ **/
1215
1229
  html,
1216
1230
  body,
1217
1231
  #main {
@@ -1236,6 +1250,39 @@ body {
1236
1250
  flex-basis: 100%;
1237
1251
  justify-content: center;
1238
1252
  }
1253
+ .page-footer .el-button:first-child {
1254
+ --el-button-text-color: var(--el-color-secondary-light-9);
1255
+ --el-button-bg-color: var(--el-color-secondary-light-1);
1256
+ --el-button-border-color: var(--el-color-secondary-light-2);
1257
+ --el-button-outline-color: var(--el-color-secondary-light-5);
1258
+ --el-button-active-color: var(--el-color-secondary-dark-2);
1259
+ --el-button-hover-text-color: var(--el-color-secondary-light-9);
1260
+ --el-button-hover-link-text-color: var(--el-color-secondary-light-5);
1261
+ --el-button-hover-bg-color: var(--el-color-white);
1262
+ --el-button-hover-border-color: var(--el-color-secondary-light-3);
1263
+ --el-button-active-bg-color: var(--el-color-secondary-light-2);
1264
+ --el-button-active-border-color: var(--el-color-secondary-light-2);
1265
+ --el-button-disabled-text-color: var(--el-color-white);
1266
+ --el-button-disabled-bg-color: var(--el-color-secondary-light-1);
1267
+ --el-button-disabled-border-color: var(--el-color-secondary-light-1);
1268
+ }
1269
+ .page-footer .el-button:first-child.is-plain, .page-footer .el-button:first-child.is-text, .page-footer .el-button:first-child.is-link {
1270
+ --el-button-text-color: var(--el-color-secondary);
1271
+ --el-button-disabled-text-color: var(--el-color-secondary-light-9);
1272
+ --el-button-bg-color: var(--el-color-white);
1273
+ --el-button-border-color: var(--el-color-secondary-light-5);
1274
+ --el-button-hover-text-color: var(--el-color-secondary-light-4);
1275
+ --el-button-hover-bg-color: var(--el-color-white);
1276
+ --el-button-hover-border-color: var(--el-color-secondary-light-4);
1277
+ --el-button-active-text-color: var(--el-color-secondary-light-6);
1278
+ --el-button-active-bg-color: var(--el-color-white);
1279
+ --el-button-active-border-color: var(--el-color-secondary-light-6);
1280
+ }
1281
+ .page-footer .el-button:first-child.is-plain.is-disabled, .page-footer .el-button:first-child.is-plain.is-disabled:hover, .page-footer .el-button:first-child.is-plain.is-disabled:focus, .page-footer .el-button:first-child.is-plain.is-disabled:active, .page-footer .el-button:first-child.is-text.is-disabled, .page-footer .el-button:first-child.is-text.is-disabled:hover, .page-footer .el-button:first-child.is-text.is-disabled:focus, .page-footer .el-button:first-child.is-text.is-disabled:active, .page-footer .el-button:first-child.is-link.is-disabled, .page-footer .el-button:first-child.is-link.is-disabled:hover, .page-footer .el-button:first-child.is-link.is-disabled:focus, .page-footer .el-button:first-child.is-link.is-disabled:active {
1282
+ color: var(--el-color-secondary-light-2);
1283
+ background-color: transparent;
1284
+ border-color: var(--el-color-secondary-light-2);
1285
+ }
1239
1286
 
1240
1287
  .el-icon.more-icon {
1241
1288
  align-items: center;
@@ -1250,20 +1297,6 @@ body {
1250
1297
  width: 20px;
1251
1298
  }
1252
1299
 
1253
- /* Element Chalk Variables */
1254
- /**
1255
- Bununla selectorun içerisine variable ekleyebiliyorsun
1256
- .selector{
1257
- // --el-button-text-color: var(--el-color-primary); -> bu eklenir
1258
- @include css-var-from-global(('button-text-color'), ('color-primary'));
1259
-
1260
- // bununla property'ye değer atayabilirsin (hiyerarşik alıyor)
1261
- color: getCssVar('colors-neutral-light-2');
1262
-
1263
- // bununla da property alınabililyor
1264
- font-size: map.get($select, 'font-size');
1265
- }
1266
- **/
1267
1300
  :root {
1268
1301
  --el-color-white: #ffffff;
1269
1302
  --el-color-black: #000000;
@@ -208,6 +208,10 @@
208
208
  </code>
209
209
  </template>
210
210
  </el-card>
211
+ <div class="page-footer">
212
+ <el-button>Cancel</el-button>
213
+ <el-button>Submit</el-button>
214
+ </div>
211
215
  </div>
212
216
  </template>
213
217
 
@@ -1,3 +1,4 @@
1
+ @charset "UTF-8";
1
2
  :root {
2
3
  --font-size: 1em;
3
4
  --border-width: 1px;
@@ -1206,6 +1207,20 @@ select {
1206
1207
  white-space: nowrap;
1207
1208
  }
1208
1209
 
1210
+ /* Element Chalk Variables */
1211
+ /**
1212
+ Bununla selectorun içerisine variable ekleyebiliyorsun
1213
+ .selector{
1214
+ // --el-button-text-color: var(--el-color-primary); -> bu eklenir
1215
+ @include css-var-from-global(('button-text-color'), ('color-primary'));
1216
+
1217
+ // bununla property'ye değer atayabilirsin (hiyerarşik alıyor)
1218
+ color: getCssVar('colors-neutral-light-2');
1219
+
1220
+ // bununla da property alınabililyor
1221
+ font-size: map.get($select, 'font-size');
1222
+ }
1223
+ **/
1209
1224
  html,
1210
1225
  body,
1211
1226
  #main {
@@ -1230,6 +1245,39 @@ body {
1230
1245
  flex-basis: 100%;
1231
1246
  justify-content: center;
1232
1247
  }
1248
+ .page-footer .el-button:first-child {
1249
+ --el-button-text-color: var(--el-color-secondary-light-9);
1250
+ --el-button-bg-color: var(--el-color-secondary-light-1);
1251
+ --el-button-border-color: var(--el-color-secondary-light-2);
1252
+ --el-button-outline-color: var(--el-color-secondary-light-5);
1253
+ --el-button-active-color: var(--el-color-secondary-dark-2);
1254
+ --el-button-hover-text-color: var(--el-color-secondary-light-9);
1255
+ --el-button-hover-link-text-color: var(--el-color-secondary-light-5);
1256
+ --el-button-hover-bg-color: var(--el-color-white);
1257
+ --el-button-hover-border-color: var(--el-color-secondary-light-3);
1258
+ --el-button-active-bg-color: var(--el-color-secondary-light-2);
1259
+ --el-button-active-border-color: var(--el-color-secondary-light-2);
1260
+ --el-button-disabled-text-color: var(--el-color-white);
1261
+ --el-button-disabled-bg-color: var(--el-color-secondary-light-1);
1262
+ --el-button-disabled-border-color: var(--el-color-secondary-light-1);
1263
+ }
1264
+ .page-footer .el-button:first-child.is-plain, .page-footer .el-button:first-child.is-text, .page-footer .el-button:first-child.is-link {
1265
+ --el-button-text-color: var(--el-color-secondary);
1266
+ --el-button-disabled-text-color: var(--el-color-secondary-light-9);
1267
+ --el-button-bg-color: var(--el-color-white);
1268
+ --el-button-border-color: var(--el-color-secondary-light-5);
1269
+ --el-button-hover-text-color: var(--el-color-secondary-light-4);
1270
+ --el-button-hover-bg-color: var(--el-color-white);
1271
+ --el-button-hover-border-color: var(--el-color-secondary-light-4);
1272
+ --el-button-active-text-color: var(--el-color-secondary-light-6);
1273
+ --el-button-active-bg-color: var(--el-color-white);
1274
+ --el-button-active-border-color: var(--el-color-secondary-light-6);
1275
+ }
1276
+ .page-footer .el-button:first-child.is-plain.is-disabled, .page-footer .el-button:first-child.is-plain.is-disabled:hover, .page-footer .el-button:first-child.is-plain.is-disabled:focus, .page-footer .el-button:first-child.is-plain.is-disabled:active, .page-footer .el-button:first-child.is-text.is-disabled, .page-footer .el-button:first-child.is-text.is-disabled:hover, .page-footer .el-button:first-child.is-text.is-disabled:focus, .page-footer .el-button:first-child.is-text.is-disabled:active, .page-footer .el-button:first-child.is-link.is-disabled, .page-footer .el-button:first-child.is-link.is-disabled:hover, .page-footer .el-button:first-child.is-link.is-disabled:focus, .page-footer .el-button:first-child.is-link.is-disabled:active {
1277
+ color: var(--el-color-secondary-light-2);
1278
+ background-color: transparent;
1279
+ border-color: var(--el-color-secondary-light-2);
1280
+ }
1233
1281
 
1234
1282
  .el-icon.more-icon {
1235
1283
  align-items: center;
@@ -8,6 +8,7 @@
8
8
  @use 'logo' as *;
9
9
  @use 'selectbox' as *;
10
10
  @use 'sass:map';
11
+ @use 'element-plus/mixins/button' as *;
11
12
 
12
13
  // @use 'layers' as *;
13
14
 
@@ -38,6 +39,10 @@ body {
38
39
  .el-button {
39
40
  flex-basis: 100%;
40
41
  justify-content: center;
42
+
43
+ &:first-child {
44
+ @include button-variant('secondary');
45
+ }
41
46
  }
42
47
  }
43
48
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timus-networks/theme",
3
- "version": "2.4.135",
3
+ "version": "2.4.136",
4
4
  "description": "A comprehensive Nuxt.js module providing a tailored theme experience with integrated TailwindCSS support for applications.",
5
5
  "type": "module",
6
6
  "exports": {