aboutsummaryrefslogtreecommitdiff
path: root/src/services/theme_data/theme2_to_theme3.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2024-02-21 13:10:11 +0200
committerHenry Jameson <me@hjkos.com>2024-02-21 13:10:11 +0200
commitf609aaba0c9a7c4d3c3d579a2a0021ecd5fc4028 (patch)
treeab8964d6835d2d7f5e072520472b445b50d3fa74 /src/services/theme_data/theme2_to_theme3.js
parent8a47069cee4bb85e7e1dc291e8d2e7aaf6fddf1d (diff)
improve checkbox styles
Diffstat (limited to 'src/services/theme_data/theme2_to_theme3.js')
-rw-r--r--src/services/theme_data/theme2_to_theme3.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/services/theme_data/theme2_to_theme3.js b/src/services/theme_data/theme2_to_theme3.js
index 48ab96ff..743bc386 100644
--- a/src/services/theme_data/theme2_to_theme3.js
+++ b/src/services/theme_data/theme2_to_theme3.js
@@ -30,7 +30,7 @@ export const shadowsKeys = new Set([
export const radiiKeys = new Set([
'btn',
'input',
- // 'checkbox',
+ 'checkbox',
'panel',
'avatar',
'avatarAlt',
@@ -122,10 +122,10 @@ export const convertTheme2To3 = (data) => {
case 'input':
rule.component = 'Input'
break
- // TODO: missing feature?
- // case 'checkbox':
- // rule.component = 'Input'
- // break
+ case 'checkbox':
+ rule.component = 'Input'
+ rule.variant = 'checkbox'
+ break
case 'panel':
rule.component = 'Panel'
break