From f5032b5b1f4a601217d51e7aec09e5c3482b08bd Mon Sep 17 00:00:00 2001 From: Christine Lin Date: Tue, 6 Feb 2024 13:31:43 -0800 Subject: [PATCH 1/2] chrlin new variant --- libs/blocks/marquee/marquee.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libs/blocks/marquee/marquee.js b/libs/blocks/marquee/marquee.js index 9ec1373b013..d264d4535f0 100644 --- a/libs/blocks/marquee/marquee.js +++ b/libs/blocks/marquee/marquee.js @@ -79,6 +79,11 @@ export async function loadMnemonicList(foreground) { } export default async function init(el) { + + if (el.classList.contains('new-variant')) { + console.log('has new-variant'); + } + const excDark = ['light', 'quiet']; if (!excDark.some((s) => el.classList.contains(s))) el.classList.add('dark'); const children = el.querySelectorAll(':scope > div'); From 6ae07d541ca71706a2f628a759e810b9f3c9b964 Mon Sep 17 00:00:00 2001 From: Christine Lin Date: Tue, 6 Feb 2024 13:52:00 -0800 Subject: [PATCH 2/2] chrlin - commit 3 --- libs/blocks/marquee/marquee.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/blocks/marquee/marquee.js b/libs/blocks/marquee/marquee.js index d264d4535f0..4badcb0056c 100644 --- a/libs/blocks/marquee/marquee.js +++ b/libs/blocks/marquee/marquee.js @@ -81,7 +81,7 @@ export async function loadMnemonicList(foreground) { export default async function init(el) { if (el.classList.contains('new-variant')) { - console.log('has new-variant'); + console.log('has new-variant NEW'); } const excDark = ['light', 'quiet'];