From 37317f0d17bf2a2948196c32119170e4eac5d904 Mon Sep 17 00:00:00 2001 From: Syb Wartna Date: Mon, 18 Dec 2023 12:12:27 +0100 Subject: [PATCH] add config for sidekick --- tools/sidekick/library.html | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/tools/sidekick/library.html b/tools/sidekick/library.html index 5ba2b470..42e539c7 100644 --- a/tools/sidekick/library.html +++ b/tools/sidekick/library.html @@ -34,6 +34,34 @@ const library = document.createElement('sidekick-library') library.config = { base: '/block-library/library.json', + plugins: { + blocks: { + viewPorts: [ + { + width: '375px', + label: 'Phone', + icon: 'device-phone', + }, + { + width: '744px', + label: 'Tablet', + icon: 'device-tablet', + }, + { + width: '1200px', + label: 'Desktop 1200', + icon: 'device-desktop', + default: true, + }, + { + width: '1440px', + label: 'Desktop 1440', + icon: 'device-desktop', + default: true, + }, + ], + } + } } document.body.prepend(library)