mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-17 05:32:56 +08:00
1 parent
b1cd3aafd3
commit
3cdb943a21
25 files changed
+614
-77
No files matched your search
@@ -159,6 +159,10 @@ body[data-bg] .login-card {
|
||||
|
||||
.login-error {
|
||||
@apply bg-danger-surface text-danger border-hairline rounded-2xl border px-3 py-2 text-center text-sm;
|
||||
|
||||
&.warning {
|
||||
@apply bg-warning-surface text-warning;
|
||||
}
|
||||
}
|
||||
|
||||
.login-actions {
|
||||
|
||||
@@ -19,7 +19,8 @@ test("production assets stay within raw-transfer budgets", () => {
|
||||
|
||||
// 187K: pseudo-elements are nested rules, one content declaration each.
|
||||
assert.ok(main <= 187_000, "main.css exceeds 187 KB");
|
||||
assert.ok(login <= 12_000, "login.css exceeds 12 KB");
|
||||
// 12.5K: auth_plugin warning tokens added ~0.35 KB.
|
||||
assert.ok(login <= 12_500, "login.css exceeds 12.5 KB");
|
||||
// 22K: palette recents (record on pick, pure-LRU browse order, storage
|
||||
// validation) added ~0.8 KB and the ">" logout command ~0.2 KB. The total
|
||||
// budget below moved by the same amount.
|
||||
|
||||
Reference in new issue
Block a user