diff --git a/.eslintrc.cjs b/.eslintrc.cjs
index 70183d00..df4b3e2b 100644
--- a/.eslintrc.cjs
+++ b/.eslintrc.cjs
@@ -16,7 +16,7 @@ module.exports = {
es2022: true,
},
rules: {
- indent: ['error', 2, { 'SwitchCase': 1 }],
+ indent: ['error', 2, { SwitchCase: 1 }],
semi: ['error', 'always'],
'comma-dangle': [
'error',
@@ -36,7 +36,7 @@ module.exports = {
files: ['*.svelte'],
parser: 'svelte-eslint-parser',
parserOptions: {
- parser: '@typescript-eslint/parser'
+ parser: '@typescript-eslint/parser',
},
rules: {
'no-multiple-empty-lines': ['error', { max: 2, maxBOF: 2 }],
diff --git a/src/components/InfoBox/InfoBox.stories.svelte b/src/components/InfoBox/InfoBox.stories.svelte
index e30faf99..7c8688d4 100644
--- a/src/components/InfoBox/InfoBox.stories.svelte
+++ b/src/components/InfoBox/InfoBox.stories.svelte
@@ -11,6 +11,10 @@
const metaProps = {
...withComponentDocs(componentDocs),
argTypes: {
+ theme: {
+ control: 'select',
+ options: ['light', 'dark'],
+ },
width: {
control: 'select',
options: ['normal', 'wide', 'wider', 'widest', 'fluid'],
diff --git a/src/components/InfoBox/InfoBox.svelte b/src/components/InfoBox/InfoBox.svelte
index b811dbcd..ed6eb570 100644
--- a/src/components/InfoBox/InfoBox.svelte
+++ b/src/components/InfoBox/InfoBox.svelte
@@ -1,6 +1,10 @@
-