mirror of
https://github.com/mastodon/mastodon.git
synced 2026-08-11 05:45:36 -05:00
Add webfonts for 5.0 redesign (#39868)
This commit is contained in:
@@ -21,4 +21,13 @@
|
||||
|
||||
updateColorScheme();
|
||||
updateContrast();
|
||||
|
||||
const isRedesignEnabled = (
|
||||
window.localStorage.getItem('experiments')?.split(',') ?? []
|
||||
).includes('redesign');
|
||||
|
||||
if (isRedesignEnabled) {
|
||||
element.dataset.redesign = true;
|
||||
}
|
||||
|
||||
})(document.documentElement);
|
||||
|
||||
Reference in New Issue
Block a user