@7365admin1/layer-common 3.2.2-staging.166 → 3.2.2-staging.168

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.
@@ -183,9 +183,28 @@
183
183
  * appear on 35 files across the layer and eleven applications.
184
184
  *
185
185
  * `--muted` is the design's own secondary ink and is a token, so it follows
186
- * the theme: 4.77:1 light, 4.71:1 dark on the same surfaces. Redirected here,
187
- * once, rather than renamed at 35 call sites - the layer's stylesheet ships to
188
- * every application, so the class keeps working and simply reads correctly.
186
+ * the theme. Redirected here, once, rather than renamed at 35 call sites - the
187
+ * layer's stylesheet ships to every application, so the class keeps working.
188
+ *
189
+ * THE READING THIS COMMENT USED TO CLAIM IS NO LONGER TRUE, and the correction
190
+ * matters because it inverts the justification above.
191
+ *
192
+ * It said "4.77:1 light, 4.71:1 dark". That was measured when `--muted` was
193
+ * `#6b7079` - one of the six values darkened on 2026-08-13 to clear AA. The
194
+ * owner REVERSED that on 2026-08-14 in favour of 100% design fidelity, and
195
+ * `--muted` went back to the handoff's `#8b8f98`. Re-measured on the current
196
+ * token, alpha composited:
197
+ *
198
+ * --muted on a card 3.24:1 (the old #7e7e7e read 4.06:1)
199
+ * --muted on the page 2.99:1 - below even the 3.0 large-text floor
200
+ *
201
+ * So on the LIGHT theme this redirect is now a DOWNGRADE for the ~5 files that
202
+ * still use the class, not the improvement the original comment describes. It
203
+ * is left in place deliberately: `#7e7e7e` was a fixed grey that ignored the
204
+ * theme entirely and read 4.10:1 on dark where `--muted` reads 4.93:1, so
205
+ * reverting would trade a light-theme gain for a dark-theme loss. Which way
206
+ * this should go is a PALETTE decision for the owner, not a per-class one -
207
+ * see `utils/theme-aa-ledger.ts`, which pins every one of these readings.
189
208
  */
190
209
  .text-fontgray {
191
210
  color: var(--muted) !important;
@@ -2,7 +2,7 @@
2
2
  <v-card width="100%">
3
3
  <v-toolbar class="screen-dialog-bar">
4
4
  <v-row no-gutters class="fill-height px-6" align="center">
5
- <span class="font-weight-bold text-h5 text-capitalize">
5
+ <span class="screen-card-title text-capitalize">
6
6
  {{ title }}
7
7
  </span>
8
8
  </v-row>
@@ -15,7 +15,7 @@
15
15
  <v-form ref="formRef" v-model="valid" @submit.prevent="submit">
16
16
  <v-row no-gutters>
17
17
  <v-col cols="12" class="mb-4">
18
- <label class="text-subtitle-2 font-weight-medium mb-2">
18
+ <label class="nfc-tag__label mb-2">
19
19
  Name <span class="text-error">*</span>
20
20
  </label>
21
21
  <v-text-field
@@ -29,7 +29,7 @@
29
29
  </v-col>
30
30
 
31
31
  <v-col cols="12" class="mb-4">
32
- <label class="text-subtitle-2 font-weight-medium mb-2">
32
+ <label class="nfc-tag__label mb-2">
33
33
  Tag ID <span class="text-error">*</span>
34
34
  </label>
35
35
  <v-text-field
@@ -238,3 +238,13 @@ async function submit() {
238
238
  }
239
239
  }
240
240
  </script>
241
+
242
+ <style scoped>
243
+ /* Was `text-subtitle-2`, Vuetify's 14px. The required asterisk beside it
244
+ keeps `text-error`; only the label's size and ink move. */
245
+ .nfc-tag__label {
246
+ font-size: var(--fs-cell);
247
+ font-weight: 500;
248
+ color: var(--text);
249
+ }
250
+ </style>
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="mt-6">
3
- <div class="text-h6 font-weight-bold mb-4">
3
+ <div class="screen-card-title mb-4">
4
4
  {{ title }}
5
5
  </div>
6
6
 
@@ -74,11 +74,11 @@
74
74
  <v-list>
75
75
  <v-list-item @click="openActionDialog(item, 'approved')">
76
76
  <v-list-item-title>
77
- <v-icon class="text-success mr-2 text-subtitle-1">mdi-check</v-icon>Approve</v-list-item-title>
77
+ <v-icon class="text-success mr-2" size="16">mdi-check</v-icon>Approve</v-list-item-title>
78
78
  </v-list-item>
79
79
  <v-list-item @click="openActionDialog(item, 'rejected')">
80
80
  <v-list-item-title>
81
- <v-icon class="text-error mr-2 text-subtitle-1">mdi-close</v-icon>Reject</v-list-item-title>
81
+ <v-icon class="text-error mr-2" size="16">mdi-close</v-icon>Reject</v-list-item-title>
82
82
  </v-list-item>
83
83
  </v-list>
84
84
  </v-menu>
@@ -107,7 +107,7 @@
107
107
 
108
108
  <v-dialog v-model="actionDialog.open" max-width="520" persistent>
109
109
  <v-card>
110
- <v-card-title class="text-subtitle-1 font-weight-bold pt-4 px-4">
110
+ <v-card-title class="screen-card-title pt-4 px-4">
111
111
  {{ actionDialog.action === 'approved' ? 'Approve Request' : 'Reject Request' }}
112
112
  </v-card-title>
113
113
  <v-card-text class="px-4 pb-2">
@@ -14,7 +14,7 @@
14
14
  :length="pages"
15
15
  >
16
16
  <template #title>
17
- <span class="text-h6 font-weight-regular">Work Order</span>
17
+ <span class="screen-card-title">Work Order</span>
18
18
  </template>
19
19
  <template #action-button>
20
20
  <v-btn
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@7365admin1/layer-common",
3
3
  "license": "MIT",
4
4
  "type": "module",
5
- "version": "3.2.2-staging.166",
5
+ "version": "3.2.2-staging.168",
6
6
  "author": "7365admin1",
7
7
  "main": "./nuxt.config.ts",
8
8
  "//files": "What a consumer extending this layer actually loads. Without this npm ships the whole working tree - the changesets, the CI workflows, the render harness in tools/ and any scratch directory that happened to exist at publish time. Nuxt resolves a layer by directory, so every runtime directory below has to stay listed; adding a new top-level runtime directory means adding it here too.",