@7365admin1/layer-common 3.2.2-staging.162 → 3.2.2-staging.164
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/assets/css/screens.css +29 -0
- package/package.json +1 -1
package/assets/css/screens.css
CHANGED
|
@@ -456,6 +456,21 @@
|
|
|
456
456
|
letter-spacing: 0;
|
|
457
457
|
text-transform: none;
|
|
458
458
|
color: var(--text2);
|
|
459
|
+
/*
|
|
460
|
+
* THE EDGE IS THE GHOST. The handoff draws this button as "40px, 1px border,
|
|
461
|
+
* card fill" - the border is what separates it from the page, since the fill
|
|
462
|
+
* is the same `--card` as the surface behind it.
|
|
463
|
+
*
|
|
464
|
+
* `border-color` alone does not draw anything. It only tinted an edge that
|
|
465
|
+
* Vuetify's `variant` had already decided the width of: `outlined` gives
|
|
466
|
+
* `thin`, `flat` gives 0. So the same class rendered a bordered button at 48
|
|
467
|
+
* call sites and a borderless one at 13 - measured 1px vs 0px, both themes -
|
|
468
|
+
* and which you got depended on a `variant` a caller had no reason to think
|
|
469
|
+
* was load-bearing. Naming the width here makes the class draw the design's
|
|
470
|
+
* button whichever variant it is paired with.
|
|
471
|
+
*/
|
|
472
|
+
border-width: 1px;
|
|
473
|
+
border-style: solid;
|
|
459
474
|
border-color: var(--border);
|
|
460
475
|
background: var(--card);
|
|
461
476
|
}
|
|
@@ -737,6 +752,20 @@
|
|
|
737
752
|
font-weight: var(--fw-btn);
|
|
738
753
|
letter-spacing: 0;
|
|
739
754
|
color: var(--text2);
|
|
755
|
+
/*
|
|
756
|
+
* Same reason as `.screen-btn-ghost` (#1200): `border-color` alone draws
|
|
757
|
+
* nothing, it only tints an edge whose width the Vuetify `variant` decided.
|
|
758
|
+
* Measured: paired with `outlined` this rule gives 1px, paired with `flat`
|
|
759
|
+
* it gives 0px - and the fill is `--card`, the same colour as the surface
|
|
760
|
+
* behind it, so a borderless copy has no boundary at all.
|
|
761
|
+
*
|
|
762
|
+
* The one call site today (`TableMain.vue`, Scan QR Code) does use
|
|
763
|
+
* `outlined`, so nothing is visibly broken right now. This is the latent
|
|
764
|
+
* half of the same defect: the next caller who writes `flat` gets an
|
|
765
|
+
* invisible button and no error. Naming the width closes it.
|
|
766
|
+
*/
|
|
767
|
+
border-width: 1px;
|
|
768
|
+
border-style: solid;
|
|
740
769
|
border-color: var(--border);
|
|
741
770
|
background: var(--card);
|
|
742
771
|
}
|
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.
|
|
5
|
+
"version": "3.2.2-staging.164",
|
|
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.",
|