Merge remote-tracking branch 'upstream/dev' into dev

This commit is contained in:
thororen1234 2025-05-03 21:01:22 -04:00
commit 9f92625c46
No known key found for this signature in database
2 changed files with 12 additions and 5 deletions

View file

@ -108,10 +108,17 @@ export default definePlugin({
// Enable experiment embed on sent experiment links
{
find: "dev://experiment/",
replacement: {
match: /\i\.isStaff\(\)/,
replace: "true"
}
replacement: [
{
match: /\i\.isStaff\(\)/,
replace: "true"
},
// Fix some tricky experiments name causing a client crash
{
match: /.getRegisteredExperiments\(\)(?<=(\i)=.+?).+?if\(null==(\i)(?=\)return null;)/,
replace: "$&||!Object.hasOwn($1,$2)"
}
]
},
],

View file

@ -6,5 +6,5 @@
transform: translateZ(0);
/* The new icons are fully transparent. Add a sane default to match the old behavior */
background-color: color-mix(in oklab, var(--custom-folder-color, var(--bg-brand)) 30%, var(--background-surface-higher) 70%);
background-color: color-mix(in oklab, var(--custom-folder-color, var(--bg-brand)) 40%, transparent);
}