@shohojdhara/atomix 0.3.3 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +46 -28
- package/dist/atomix.css +15 -9
- package/dist/atomix.css.map +1 -0
- package/dist/atomix.min.css +15108 -11
- package/dist/atomix.min.css.map +1 -0
- package/dist/charts.d.ts +1929 -0
- package/dist/charts.js +6482 -0
- package/dist/charts.js.map +1 -0
- package/dist/core.d.ts +1289 -0
- package/dist/core.js +3357 -0
- package/dist/core.js.map +1 -0
- package/dist/forms.d.ts +1085 -0
- package/dist/forms.js +2450 -0
- package/dist/forms.js.map +1 -0
- package/dist/heavy.d.ts +636 -0
- package/dist/heavy.js +4550 -0
- package/dist/heavy.js.map +1 -0
- package/dist/index.d.ts +5196 -4618
- package/dist/index.esm.js +4240 -2776
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +4057 -2571
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/layout.d.ts +300 -0
- package/dist/layout.js +336 -0
- package/dist/layout.js.map +1 -0
- package/dist/theme.d.ts +1992 -0
- package/dist/theme.js +5348 -0
- package/dist/theme.js.map +1 -0
- package/package.json +63 -68
- package/scripts/atomix-cli.js +879 -15
- package/scripts/cli/__tests__/cli-commands.test.js +204 -0
- package/scripts/cli/__tests__/utils.test.js +201 -0
- package/scripts/cli/__tests__/vitest.config.js +26 -0
- package/scripts/cli/interactive-init.js +37 -45
- package/scripts/cli/theme-bridge.js +129 -0
- package/scripts/cli/token-manager.js +32 -7
- package/scripts/cli/utils.js +347 -0
- package/scripts/sync-theme-config.js +22 -22
- package/src/components/Accordion/Accordion.tsx +5 -54
- package/src/components/Accordion/index.ts +1 -1
- package/src/components/Avatar/Avatar.tsx +3 -3
- package/src/components/Badge/Badge.tsx +3 -3
- package/src/components/Breadcrumb/Breadcrumb.tsx +3 -3
- package/src/components/Button/Button.tsx +36 -1
- package/src/components/Card/ElevationCard.tsx +1 -1
- package/src/components/Chart/AnimatedChart.tsx +19 -17
- package/src/components/Chart/AreaChart.tsx +5 -1
- package/src/components/Chart/BarChart.tsx +1 -0
- package/src/components/Chart/BubbleChart.tsx +6 -5
- package/src/components/Chart/ChartToolbar.tsx +1 -0
- package/src/components/Chart/FunnelChart.tsx +1 -1
- package/src/components/Chart/RadarChart.tsx +19 -12
- package/src/components/Chart/ScatterChart.tsx +3 -3
- package/src/components/Chart/TreemapChart.tsx +2 -1
- package/src/components/Chart/WaterfallChart.tsx +0 -1
- package/src/components/Chart/types.ts +12 -2
- package/src/components/Chart/utils.ts +4 -3
- package/src/components/DataTable/DataTable.tsx +3 -3
- package/src/components/Dropdown/Dropdown.tsx +12 -9
- package/src/components/Footer/FooterSection.tsx +3 -3
- package/src/components/Form/Checkbox.tsx +3 -3
- package/src/components/Form/Input.tsx +4 -2
- package/src/components/Form/Radio.tsx +3 -3
- package/src/components/Form/Select.tsx +3 -3
- package/src/components/Form/Textarea.tsx +4 -2
- package/src/components/List/List.stories.tsx +3 -3
- package/src/components/List/List.tsx +3 -3
- package/src/components/List/ListGroup.tsx +3 -1
- package/src/components/Modal/Modal.tsx +3 -3
- package/src/components/Navigation/Menu/MegaMenu.tsx +9 -3
- package/src/components/Navigation/Menu/Menu.tsx +9 -3
- package/src/components/Pagination/Pagination.tsx +6 -5
- package/src/components/PhotoViewer/PhotoViewerImage.tsx +2 -2
- package/src/components/Popover/Popover.tsx +4 -4
- package/src/components/Progress/Progress.tsx +6 -2
- package/src/components/Rating/Rating.tsx +5 -2
- package/src/components/Slider/Slider.tsx +10 -9
- package/src/components/Spinner/Spinner.tsx +3 -3
- package/src/components/Tabs/Tabs.tsx +3 -3
- package/src/components/Tooltip/Tooltip.tsx +3 -3
- package/src/components/index.ts +5 -2
- package/src/layouts/MasonryGrid/MasonryGrid.tsx +2 -2
- package/src/lib/composables/useChartPerformance.ts +102 -78
- package/src/lib/composables/useChartScale.ts +10 -0
- package/src/lib/composables/useHero.ts +9 -2
- package/src/lib/composables/useHeroBackgroundSlider.ts +5 -3
- package/src/lib/composables/useSideMenu.ts +1 -0
- package/src/lib/composables/useVideoPlayer.ts +3 -2
- package/src/lib/config/index.ts +275 -0
- package/src/lib/config/loader.ts +147 -0
- package/src/lib/hooks/index.ts +0 -1
- package/src/lib/hooks/useComponentCustomization.ts +10 -14
- package/src/lib/hooks/usePerformanceMonitor.ts +149 -0
- package/src/lib/index.ts +1 -0
- package/src/lib/patterns/index.ts +2 -2
- package/src/lib/patterns/slots.tsx +2 -2
- package/src/lib/theme/composeTheme.ts +1 -6
- package/src/lib/theme/config/index.ts +1 -1
- package/src/lib/theme/config/loader.ts +75 -41
- package/src/lib/theme/config/types.ts +21 -7
- package/src/lib/theme/config/validator.ts +1 -1
- package/src/lib/theme/constants.ts +12 -2
- package/src/lib/theme/core/ThemeEngine.ts +8 -0
- package/src/lib/theme/core/ThemeValidator.ts +5 -2
- package/src/lib/theme/createTheme.ts +0 -1
- package/src/lib/theme/createThemeFromConfig.ts +132 -0
- package/src/lib/theme/devtools/CLI.ts +161 -76
- package/src/lib/theme/devtools/Comparator.tsx +343 -0
- package/src/lib/theme/devtools/IMPROVEMENTS.md +429 -0
- package/src/lib/theme/devtools/Inspector.tsx +22 -7
- package/src/lib/theme/devtools/LiveEditor.tsx +399 -0
- package/src/lib/theme/devtools/README.md +433 -0
- package/src/lib/theme/devtools/index.ts +12 -11
- package/src/lib/theme/generateCSSVariables.ts +80 -39
- package/src/lib/theme/i18n/rtl.ts +2 -1
- package/src/lib/theme/index.ts +18 -2
- package/src/lib/theme/runtime/ThemeApplicator.ts +28 -11
- package/src/lib/theme/runtime/ThemeErrorBoundary.tsx +3 -3
- package/src/lib/theme/runtime/ThemeManager.test.ts +17 -1
- package/src/lib/theme/runtime/ThemeManager.ts +11 -7
- package/src/lib/theme/types.ts +42 -43
- package/src/lib/theme-tools.ts +8 -68
- package/src/lib/types/components.ts +252 -109
- package/src/lib/types/partProps.ts +0 -16
- package/src/lib/utils/fontPreloader.ts +148 -0
- package/src/lib/utils/index.ts +11 -0
- package/src/lib/utils/memoryMonitor.ts +189 -0
- package/src/styles/01-settings/_settings.fonts.scss +2 -5
- package/src/styles/01-settings/_settings.navbar.scss +1 -1
- package/src/styles/03-generic/_generated-root.css +26 -0
- package/src/styles/06-components/_components.navbar.scss +6 -5
- package/src/themes/README.md +1 -2
- package/src/themes/themes.config.js +30 -181
- package/dist/themes/applemix.css +0 -16576
- package/dist/themes/applemix.css.map +0 -1
- package/dist/themes/applemix.min.css +0 -73
- package/dist/themes/boomdevs.css +0 -16007
- package/dist/themes/boomdevs.css.map +0 -1
- package/dist/themes/boomdevs.min.css +0 -406
- package/dist/themes/esrar.css +0 -18424
- package/dist/themes/esrar.css.map +0 -1
- package/dist/themes/esrar.min.css +0 -221
- package/dist/themes/flashtrade.css +0 -17596
- package/dist/themes/flashtrade.css.map +0 -1
- package/dist/themes/flashtrade.min.css +0 -196
- package/dist/themes/mashroom.css +0 -31082
- package/dist/themes/mashroom.css.map +0 -1
- package/dist/themes/mashroom.min.css +0 -450
- package/dist/themes/shaj-default.css +0 -17200
- package/dist/themes/shaj-default.css.map +0 -1
- package/dist/themes/shaj-default.min.css +0 -502
- package/scripts/build-themes.js +0 -208
- package/src/components/AtomixGlass/atomixGLass.old.tsx +0 -1263
- package/src/lib/theme/__tests__/ThemeBuilder.test.ts +0 -223
- package/src/lib/theme/builders/ThemeBuilder.ts +0 -372
- package/src/lib/theme/errors.test.ts +0 -207
- package/src/lib/theme/generators/CSSGenerator.ts +0 -311
- package/src/lib/theme/generators/ConfigGenerator.ts +0 -287
- package/src/lib/theme/generators/TypeGenerator.ts +0 -228
- package/src/lib/theme/generators/index.ts +0 -21
- package/src/lib/theme/monitoring/ThemeAnalytics.ts +0 -409
- package/src/lib/theme/monitoring/index.ts +0 -17
- package/src/lib/theme/overrides/ComponentOverrides.ts +0 -243
- package/src/lib/theme/overrides/index.ts +0 -15
- package/src/lib/theme/whitelabel/WhiteLabelManager.ts +0 -364
- package/src/lib/theme/whitelabel/index.ts +0 -13
- package/src/themes/THEME_CHECKLIST.md +0 -74
- package/src/themes/applemix/01-settings/_index.scss +0 -24
- package/src/themes/applemix/01-settings/_settings.animations.scss +0 -0
- package/src/themes/applemix/01-settings/_settings.background.scss +0 -6
- package/src/themes/applemix/01-settings/_settings.colors.scss +0 -75
- package/src/themes/applemix/01-settings/_settings.config.scss +0 -15
- package/src/themes/applemix/01-settings/_settings.typography.scss +0 -30
- package/src/themes/applemix/02-tools/_index.scss +0 -4
- package/src/themes/applemix/03-generic/_index.scss +0 -7
- package/src/themes/applemix/04-elements/_index.scss +0 -7
- package/src/themes/applemix/05-objects/_index.scss +0 -7
- package/src/themes/applemix/06-components/_index.scss +0 -15
- package/src/themes/applemix/99-utilities/_index.scss +0 -7
- package/src/themes/applemix/README.md +0 -378
- package/src/themes/applemix/index.scss +0 -33
- package/src/themes/boomdevs/01-settings/_index.scss +0 -38
- package/src/themes/boomdevs/01-settings/_settings.accordion.scss +0 -12
- package/src/themes/boomdevs/01-settings/_settings.animations.scss +0 -11
- package/src/themes/boomdevs/01-settings/_settings.avatar.scss +0 -9
- package/src/themes/boomdevs/01-settings/_settings.badge.scss +0 -11
- package/src/themes/boomdevs/01-settings/_settings.border-radius.scss +0 -16
- package/src/themes/boomdevs/01-settings/_settings.border.scss +0 -10
- package/src/themes/boomdevs/01-settings/_settings.box-shadow.scss +0 -14
- package/src/themes/boomdevs/01-settings/_settings.breadcrumb.scss +0 -13
- package/src/themes/boomdevs/01-settings/_settings.breakpoints.scss +0 -15
- package/src/themes/boomdevs/01-settings/_settings.button.scss +0 -9
- package/src/themes/boomdevs/01-settings/_settings.callout.scss +0 -9
- package/src/themes/boomdevs/01-settings/_settings.card.scss +0 -11
- package/src/themes/boomdevs/01-settings/_settings.checkbox.scss +0 -9
- package/src/themes/boomdevs/01-settings/_settings.colors.scss +0 -145
- package/src/themes/boomdevs/01-settings/_settings.dropdown.scss +0 -11
- package/src/themes/boomdevs/01-settings/_settings.grid.scss +0 -16
- package/src/themes/boomdevs/01-settings/_settings.input.scss +0 -14
- package/src/themes/boomdevs/01-settings/_settings.link.scss +0 -11
- package/src/themes/boomdevs/01-settings/_settings.list.scss +0 -10
- package/src/themes/boomdevs/01-settings/_settings.modal.scss +0 -16
- package/src/themes/boomdevs/01-settings/_settings.navbar.scss +0 -16
- package/src/themes/boomdevs/01-settings/_settings.pagination.scss +0 -13
- package/src/themes/boomdevs/01-settings/_settings.progress.scss +0 -11
- package/src/themes/boomdevs/01-settings/_settings.rating.scss +0 -10
- package/src/themes/boomdevs/01-settings/_settings.spacing.scss +0 -33
- package/src/themes/boomdevs/01-settings/_settings.spinner.scss +0 -11
- package/src/themes/boomdevs/01-settings/_settings.steps.scss +0 -12
- package/src/themes/boomdevs/01-settings/_settings.tabs.scss +0 -12
- package/src/themes/boomdevs/01-settings/_settings.todo.scss +0 -15
- package/src/themes/boomdevs/01-settings/_settings.toggle.scss +0 -14
- package/src/themes/boomdevs/01-settings/_settings.tooltip.scss +0 -13
- package/src/themes/boomdevs/01-settings/_settings.typography.scss +0 -58
- package/src/themes/boomdevs/01-settings/_settings.video-player.scss +0 -12
- package/src/themes/boomdevs/02-tools/_index.scss +0 -7
- package/src/themes/boomdevs/03-generic/_index.scss +0 -7
- package/src/themes/boomdevs/04-elements/_index.scss +0 -7
- package/src/themes/boomdevs/05-objects/_index.scss +0 -7
- package/src/themes/boomdevs/06-components/_components.button.scss +0 -11
- package/src/themes/boomdevs/06-components/_index.scss +0 -11
- package/src/themes/boomdevs/99-utilities/_index.scss +0 -7
- package/src/themes/boomdevs/index.scss +0 -26
- package/src/themes/esrar/01-settings/_index.scss +0 -15
- package/src/themes/esrar/01-settings/_settings.colors.scss +0 -91
- package/src/themes/esrar/02-tools/_index.scss +0 -8
- package/src/themes/esrar/02-tools/_tools.animations.scss +0 -342
- package/src/themes/esrar/06-components/_components.accordion.scss +0 -49
- package/src/themes/esrar/06-components/_components.avatar-group.scss +0 -14
- package/src/themes/esrar/06-components/_components.avatar.scss +0 -61
- package/src/themes/esrar/06-components/_components.badge.scss +0 -117
- package/src/themes/esrar/06-components/_components.breadcrumb.scss +0 -65
- package/src/themes/esrar/06-components/_components.btn-group.scss +0 -19
- package/src/themes/esrar/06-components/_components.button.scss +0 -224
- package/src/themes/esrar/06-components/_components.callout.scss +0 -51
- package/src/themes/esrar/06-components/_components.card.scss +0 -134
- package/src/themes/esrar/06-components/_components.chart.scss +0 -24
- package/src/themes/esrar/06-components/_components.checkbox-group.scss +0 -26
- package/src/themes/esrar/06-components/_components.checkbox.scss +0 -71
- package/src/themes/esrar/06-components/_components.color-mode-toggle.scss +0 -29
- package/src/themes/esrar/06-components/_components.countdown.scss +0 -67
- package/src/themes/esrar/06-components/_components.data-table.scss +0 -22
- package/src/themes/esrar/06-components/_components.datepicker.scss +0 -20
- package/src/themes/esrar/06-components/_components.dropdown.scss +0 -272
- package/src/themes/esrar/06-components/_components.edge-panel.scss +0 -10
- package/src/themes/esrar/06-components/_components.form-group.scss +0 -15
- package/src/themes/esrar/06-components/_components.form.scss +0 -66
- package/src/themes/esrar/06-components/_components.hero.scss +0 -251
- package/src/themes/esrar/06-components/_components.icon.scss +0 -33
- package/src/themes/esrar/06-components/_components.image-gallery.scss +0 -29
- package/src/themes/esrar/06-components/_components.input.scss +0 -91
- package/src/themes/esrar/06-components/_components.list-group.scss +0 -26
- package/src/themes/esrar/06-components/_components.modal.scss +0 -148
- package/src/themes/esrar/06-components/_components.notification.scss +0 -80
- package/src/themes/esrar/06-components/_components.pagination.scss +0 -84
- package/src/themes/esrar/06-components/_components.popover.scss +0 -10
- package/src/themes/esrar/06-components/_components.progress.scss +0 -64
- package/src/themes/esrar/06-components/_components.rating.scss +0 -26
- package/src/themes/esrar/06-components/_components.skeleton.scss +0 -15
- package/src/themes/esrar/06-components/_components.slider.scss +0 -90
- package/src/themes/esrar/06-components/_components.spinner.scss +0 -71
- package/src/themes/esrar/06-components/_components.steps.scss +0 -76
- package/src/themes/esrar/06-components/_components.tab.scss +0 -58
- package/src/themes/esrar/06-components/_components.tag.scss +0 -21
- package/src/themes/esrar/06-components/_components.timeline.scss +0 -19
- package/src/themes/esrar/06-components/_components.toast.scss +0 -91
- package/src/themes/esrar/06-components/_components.toggle.scss +0 -74
- package/src/themes/esrar/06-components/_components.tooltip.scss +0 -45
- package/src/themes/esrar/06-components/_components.upload.scss +0 -102
- package/src/themes/esrar/06-components/_index.scss +0 -42
- package/src/themes/esrar/index.scss +0 -30
- package/src/themes/flashtrade/01-settings/_index.scss +0 -19
- package/src/themes/flashtrade/01-settings/_settings.animations.scss +0 -11
- package/src/themes/flashtrade/01-settings/_settings.background.scss +0 -9
- package/src/themes/flashtrade/01-settings/_settings.colors.scss +0 -79
- package/src/themes/flashtrade/01-settings/_settings.config.scss +0 -16
- package/src/themes/flashtrade/01-settings/_settings.typography.scss +0 -35
- package/src/themes/flashtrade/02-tools/_index.scss +0 -8
- package/src/themes/flashtrade/03-generic/_index.scss +0 -8
- package/src/themes/flashtrade/04-elements/_index.scss +0 -12
- package/src/themes/flashtrade/05-objects/_index.scss +0 -8
- package/src/themes/flashtrade/06-components/_components.badge.scss +0 -156
- package/src/themes/flashtrade/06-components/_components.button.scss +0 -135
- package/src/themes/flashtrade/06-components/_components.card.scss +0 -214
- package/src/themes/flashtrade/06-components/_components.navbar.scss +0 -227
- package/src/themes/flashtrade/06-components/_index.scss +0 -13
- package/src/themes/flashtrade/99-utilities/_index.scss +0 -9
- package/src/themes/flashtrade/99-utilities/_utilities.trading.scss +0 -187
- package/src/themes/flashtrade/README.md +0 -386
- package/src/themes/flashtrade/demo.html +0 -272
- package/src/themes/flashtrade/index.scss +0 -36
- package/src/themes/mashroom/01-settings/_index.scss +0 -69
- package/src/themes/mashroom/01-settings/_settings.accordion.scss +0 -32
- package/src/themes/mashroom/01-settings/_settings.animations.scss +0 -26
- package/src/themes/mashroom/01-settings/_settings.avatar-group.scss +0 -22
- package/src/themes/mashroom/01-settings/_settings.avatar.scss +0 -57
- package/src/themes/mashroom/01-settings/_settings.badge.scss +0 -19
- package/src/themes/mashroom/01-settings/_settings.border-radius.scss +0 -24
- package/src/themes/mashroom/01-settings/_settings.border.scss +0 -14
- package/src/themes/mashroom/01-settings/_settings.box-shadow.scss +0 -40
- package/src/themes/mashroom/01-settings/_settings.breadcrumb.scss +0 -0
- package/src/themes/mashroom/01-settings/_settings.breakpoints.scss +0 -17
- package/src/themes/mashroom/01-settings/_settings.btn-group.scss +0 -5
- package/src/themes/mashroom/01-settings/_settings.button.scss +0 -50
- package/src/themes/mashroom/01-settings/_settings.callout.scss +0 -81
- package/src/themes/mashroom/01-settings/_settings.card.scss +0 -52
- package/src/themes/mashroom/01-settings/_settings.checkbox-group.scss +0 -5
- package/src/themes/mashroom/01-settings/_settings.checkbox.scss +0 -23
- package/src/themes/mashroom/01-settings/_settings.color-mode.scss +0 -7
- package/src/themes/mashroom/01-settings/_settings.colors.scss +0 -180
- package/src/themes/mashroom/01-settings/_settings.config.scss +0 -4
- package/src/themes/mashroom/01-settings/_settings.countdown.scss +0 -20
- package/src/themes/mashroom/01-settings/_settings.data-table.scss +0 -56
- package/src/themes/mashroom/01-settings/_settings.datepicker.scss +0 -45
- package/src/themes/mashroom/01-settings/_settings.design-tokens.scss +0 -3
- package/src/themes/mashroom/01-settings/_settings.dropdown.scss +0 -45
- package/src/themes/mashroom/01-settings/_settings.edge-panel.scss +0 -24
- package/src/themes/mashroom/01-settings/_settings.fonts.scss +0 -8
- package/src/themes/mashroom/01-settings/_settings.form-group.scss +0 -14
- package/src/themes/mashroom/01-settings/_settings.form.scss +0 -6
- package/src/themes/mashroom/01-settings/_settings.grid.scss +0 -23
- package/src/themes/mashroom/01-settings/_settings.hero.scss +0 -41
- package/src/themes/mashroom/01-settings/_settings.input.scss +0 -51
- package/src/themes/mashroom/01-settings/_settings.link.scss +0 -13
- package/src/themes/mashroom/01-settings/_settings.list-group.scss +0 -16
- package/src/themes/mashroom/01-settings/_settings.list.scss +0 -13
- package/src/themes/mashroom/01-settings/_settings.masonry-grid.scss +0 -23
- package/src/themes/mashroom/01-settings/_settings.menu.scss +0 -50
- package/src/themes/mashroom/01-settings/_settings.messages.scss +0 -98
- package/src/themes/mashroom/01-settings/_settings.modal.scss +0 -41
- package/src/themes/mashroom/01-settings/_settings.nav.scss +0 -20
- package/src/themes/mashroom/01-settings/_settings.navbar.scss +0 -54
- package/src/themes/mashroom/01-settings/_settings.pagination.scss +0 -30
- package/src/themes/mashroom/01-settings/_settings.photoviewer.scss +0 -45
- package/src/themes/mashroom/01-settings/_settings.popover.scss +0 -20
- package/src/themes/mashroom/01-settings/_settings.position.scss +0 -9
- package/src/themes/mashroom/01-settings/_settings.progress.scss +0 -17
- package/src/themes/mashroom/01-settings/_settings.rating.scss +0 -11
- package/src/themes/mashroom/01-settings/_settings.river.scss +0 -50
- package/src/themes/mashroom/01-settings/_settings.sectionintro.scss +0 -31
- package/src/themes/mashroom/01-settings/_settings.select.scss +0 -47
- package/src/themes/mashroom/01-settings/_settings.side-menu.scss +0 -79
- package/src/themes/mashroom/01-settings/_settings.skeleton.scss +0 -24
- package/src/themes/mashroom/01-settings/_settings.spacing.scss +0 -66
- package/src/themes/mashroom/01-settings/_settings.spinner.scss +0 -34
- package/src/themes/mashroom/01-settings/_settings.steps.scss +0 -33
- package/src/themes/mashroom/01-settings/_settings.tabs.scss +0 -33
- package/src/themes/mashroom/01-settings/_settings.testimonials.scss +0 -24
- package/src/themes/mashroom/01-settings/_settings.todo.scss +0 -52
- package/src/themes/mashroom/01-settings/_settings.toggle.scss +0 -49
- package/src/themes/mashroom/01-settings/_settings.tooltip.scss +0 -20
- package/src/themes/mashroom/01-settings/_settings.typography.scss +0 -95
- package/src/themes/mashroom/01-settings/_settings.upload.scss +0 -96
- package/src/themes/mashroom/01-settings/_settings.z-layers.scss +0 -19
- package/src/themes/mashroom/02-tools/_index.scss +0 -8
- package/src/themes/mashroom/02-tools/_tools.psychedelic-gradients.scss +0 -78
- package/src/themes/mashroom/02-tools/_tools.trippy-effects.scss +0 -114
- package/src/themes/mashroom/03-generic/_index.scss +0 -6
- package/src/themes/mashroom/04-elements/_index.scss +0 -6
- package/src/themes/mashroom/05-objects/_index.scss +0 -6
- package/src/themes/mashroom/06-components/_components.accordion.scss +0 -187
- package/src/themes/mashroom/06-components/_components.avatar-group.scss +0 -276
- package/src/themes/mashroom/06-components/_components.avatar.scss +0 -114
- package/src/themes/mashroom/06-components/_components.badge.scss +0 -152
- package/src/themes/mashroom/06-components/_components.breadcrumb.scss +0 -162
- package/src/themes/mashroom/06-components/_components.btn-group.scss +0 -404
- package/src/themes/mashroom/06-components/_components.button.scss +0 -160
- package/src/themes/mashroom/06-components/_components.callout.scss +0 -140
- package/src/themes/mashroom/06-components/_components.card.scss +0 -225
- package/src/themes/mashroom/06-components/_components.checkbox.scss +0 -186
- package/src/themes/mashroom/06-components/_components.color-mode-toggle.scss +0 -308
- package/src/themes/mashroom/06-components/_components.countdown.scss +0 -402
- package/src/themes/mashroom/06-components/_components.data-table.scss +0 -354
- package/src/themes/mashroom/06-components/_components.datepicker.scss +0 -349
- package/src/themes/mashroom/06-components/_components.dropdown.scss +0 -334
- package/src/themes/mashroom/06-components/_components.edge-panel.scss +0 -413
- package/src/themes/mashroom/06-components/_components.form-group.scss +0 -433
- package/src/themes/mashroom/06-components/_components.form.scss +0 -358
- package/src/themes/mashroom/06-components/_components.hero.scss +0 -151
- package/src/themes/mashroom/06-components/_components.input.scss +0 -147
- package/src/themes/mashroom/06-components/_components.list-group.scss +0 -456
- package/src/themes/mashroom/06-components/_components.list.scss +0 -145
- package/src/themes/mashroom/06-components/_components.menu.scss +0 -497
- package/src/themes/mashroom/06-components/_components.messages.scss +0 -277
- package/src/themes/mashroom/06-components/_components.modal.scss +0 -264
- package/src/themes/mashroom/06-components/_components.nav.scss +0 -181
- package/src/themes/mashroom/06-components/_components.navbar.scss +0 -538
- package/src/themes/mashroom/06-components/_components.pagination.scss +0 -400
- package/src/themes/mashroom/06-components/_components.photoviewer.scss +0 -498
- package/src/themes/mashroom/06-components/_components.popover.scss +0 -383
- package/src/themes/mashroom/06-components/_components.product-review.scss +0 -408
- package/src/themes/mashroom/06-components/_components.progress.scss +0 -249
- package/src/themes/mashroom/06-components/_components.rating.scss +0 -300
- package/src/themes/mashroom/06-components/_components.river.scss +0 -570
- package/src/themes/mashroom/06-components/_components.sectionintro.scss +0 -546
- package/src/themes/mashroom/06-components/_components.select.scss +0 -455
- package/src/themes/mashroom/06-components/_components.side-menu.scss +0 -635
- package/src/themes/mashroom/06-components/_components.skeleton.scss +0 -447
- package/src/themes/mashroom/06-components/_components.slider.scss +0 -414
- package/src/themes/mashroom/06-components/_components.spinner.scss +0 -198
- package/src/themes/mashroom/06-components/_components.steps.scss +0 -350
- package/src/themes/mashroom/06-components/_components.tabs.scss +0 -269
- package/src/themes/mashroom/06-components/_components.testimonials.scss +0 -561
- package/src/themes/mashroom/06-components/_components.toggle.scss +0 -231
- package/src/themes/mashroom/06-components/_components.tooltip.scss +0 -167
- package/src/themes/mashroom/06-components/_components.upload.scss +0 -537
- package/src/themes/mashroom/06-components/_components.video-player.scss +0 -560
- package/src/themes/mashroom/06-components/_index.scss +0 -55
- package/src/themes/mashroom/99-utilities/_index.scss +0 -6
- package/src/themes/mashroom/index.scss +0 -26
- package/src/themes/shaj-default/01-settings/_index.scss +0 -69
- package/src/themes/shaj-default/01-settings/_settings.accordion.scss +0 -38
- package/src/themes/shaj-default/01-settings/_settings.animations.scss +0 -32
- package/src/themes/shaj-default/01-settings/_settings.avatar-group.scss +0 -28
- package/src/themes/shaj-default/01-settings/_settings.avatar.scss +0 -63
- package/src/themes/shaj-default/01-settings/_settings.badge.scss +0 -25
- package/src/themes/shaj-default/01-settings/_settings.border-radius.scss +0 -24
- package/src/themes/shaj-default/01-settings/_settings.border.scss +0 -20
- package/src/themes/shaj-default/01-settings/_settings.box-shadow.scss +0 -46
- package/src/themes/shaj-default/01-settings/_settings.breadcrumb.scss +0 -0
- package/src/themes/shaj-default/01-settings/_settings.breakpoints.scss +0 -23
- package/src/themes/shaj-default/01-settings/_settings.btn-group.scss +0 -11
- package/src/themes/shaj-default/01-settings/_settings.button.scss +0 -56
- package/src/themes/shaj-default/01-settings/_settings.callout.scss +0 -87
- package/src/themes/shaj-default/01-settings/_settings.card.scss +0 -52
- package/src/themes/shaj-default/01-settings/_settings.checkbox-group.scss +0 -11
- package/src/themes/shaj-default/01-settings/_settings.checkbox.scss +0 -29
- package/src/themes/shaj-default/01-settings/_settings.color-mode.scss +0 -13
- package/src/themes/shaj-default/01-settings/_settings.colors.scss +0 -91
- package/src/themes/shaj-default/01-settings/_settings.config.scss +0 -4
- package/src/themes/shaj-default/01-settings/_settings.countdown.scss +0 -26
- package/src/themes/shaj-default/01-settings/_settings.data-table.scss +0 -62
- package/src/themes/shaj-default/01-settings/_settings.datepicker.scss +0 -51
- package/src/themes/shaj-default/01-settings/_settings.design-tokens.scss +0 -9
- package/src/themes/shaj-default/01-settings/_settings.dropdown.scss +0 -51
- package/src/themes/shaj-default/01-settings/_settings.edge-panel.scss +0 -30
- package/src/themes/shaj-default/01-settings/_settings.fonts.scss +0 -13
- package/src/themes/shaj-default/01-settings/_settings.form-group.scss +0 -20
- package/src/themes/shaj-default/01-settings/_settings.form.scss +0 -12
- package/src/themes/shaj-default/01-settings/_settings.grid.scss +0 -29
- package/src/themes/shaj-default/01-settings/_settings.hero.scss +0 -47
- package/src/themes/shaj-default/01-settings/_settings.input.scss +0 -57
- package/src/themes/shaj-default/01-settings/_settings.link.scss +0 -19
- package/src/themes/shaj-default/01-settings/_settings.list-group.scss +0 -22
- package/src/themes/shaj-default/01-settings/_settings.list.scss +0 -19
- package/src/themes/shaj-default/01-settings/_settings.masonry-grid.scss +0 -29
- package/src/themes/shaj-default/01-settings/_settings.menu.scss +0 -56
- package/src/themes/shaj-default/01-settings/_settings.messages.scss +0 -104
- package/src/themes/shaj-default/01-settings/_settings.modal.scss +0 -47
- package/src/themes/shaj-default/01-settings/_settings.nav.scss +0 -26
- package/src/themes/shaj-default/01-settings/_settings.navbar.scss +0 -60
- package/src/themes/shaj-default/01-settings/_settings.pagination.scss +0 -36
- package/src/themes/shaj-default/01-settings/_settings.photoviewer.scss +0 -51
- package/src/themes/shaj-default/01-settings/_settings.popover.scss +0 -26
- package/src/themes/shaj-default/01-settings/_settings.position.scss +0 -15
- package/src/themes/shaj-default/01-settings/_settings.progress.scss +0 -23
- package/src/themes/shaj-default/01-settings/_settings.rating.scss +0 -17
- package/src/themes/shaj-default/01-settings/_settings.river.scss +0 -56
- package/src/themes/shaj-default/01-settings/_settings.sectionintro.scss +0 -37
- package/src/themes/shaj-default/01-settings/_settings.select.scss +0 -53
- package/src/themes/shaj-default/01-settings/_settings.side-menu.scss +0 -85
- package/src/themes/shaj-default/01-settings/_settings.skeleton.scss +0 -30
- package/src/themes/shaj-default/01-settings/_settings.spacing.scss +0 -72
- package/src/themes/shaj-default/01-settings/_settings.spinner.scss +0 -24
- package/src/themes/shaj-default/01-settings/_settings.steps.scss +0 -39
- package/src/themes/shaj-default/01-settings/_settings.tabs.scss +0 -39
- package/src/themes/shaj-default/01-settings/_settings.testimonials.scss +0 -30
- package/src/themes/shaj-default/01-settings/_settings.todo.scss +0 -58
- package/src/themes/shaj-default/01-settings/_settings.toggle.scss +0 -55
- package/src/themes/shaj-default/01-settings/_settings.tooltip.scss +0 -26
- package/src/themes/shaj-default/01-settings/_settings.typography.scss +0 -101
- package/src/themes/shaj-default/01-settings/_settings.upload.scss +0 -102
- package/src/themes/shaj-default/01-settings/_settings.z-layers.scss +0 -25
- package/src/themes/shaj-default/02-tools/_index.scss +0 -0
- package/src/themes/shaj-default/03-generic/_generic.root.scss +0 -0
- package/src/themes/shaj-default/03-generic/_index.scss +0 -2
- package/src/themes/shaj-default/04-elements/_index.scss +0 -0
- package/src/themes/shaj-default/05-objects/_index.scss +0 -0
- package/src/themes/shaj-default/06-components/_components.button.scss +0 -55
- package/src/themes/shaj-default/06-components/_components.card.scss +0 -57
- package/src/themes/shaj-default/06-components/_components.input.scss +0 -58
- package/src/themes/shaj-default/06-components/_components.navbar.scss +0 -99
- package/src/themes/shaj-default/06-components/_components.tooltip.scss +0 -0
- package/src/themes/shaj-default/06-components/_index.scss +0 -13
- package/src/themes/shaj-default/99-utilities/_index.scss +0 -0
- package/src/themes/shaj-default/index.scss +0 -25
- package/theme.config.ts +0 -360
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Shaj Default Theme Navbar Component Overrides
|
|
3
|
-
* Additional styling for modern navbar aesthetics
|
|
4
|
-
*/
|
|
5
|
-
@use '../01-settings/settings.config' as *;
|
|
6
|
-
|
|
7
|
-
.c-navbar {
|
|
8
|
-
// Enhanced backdrop blur effect
|
|
9
|
-
backdrop-filter: blur(12px);
|
|
10
|
-
-webkit-backdrop-filter: blur(12px);
|
|
11
|
-
|
|
12
|
-
// Subtle border
|
|
13
|
-
border-bottom: 1px solid var(--#{$prefix}gray-2);
|
|
14
|
-
|
|
15
|
-
// Brand styling
|
|
16
|
-
.c-navbar-brand {
|
|
17
|
-
font-weight: 700;
|
|
18
|
-
letter-spacing: -0.02em;
|
|
19
|
-
color: var(--#{$prefix}gray-9);
|
|
20
|
-
|
|
21
|
-
&:hover {
|
|
22
|
-
color: var(--#{$prefix}primary-6);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
// Nav links
|
|
27
|
-
.c-navbar-nav {
|
|
28
|
-
.c-nav-link {
|
|
29
|
-
font-weight: 500;
|
|
30
|
-
color: var(--#{$prefix}gray-7);
|
|
31
|
-
transition: all 200ms ease-in-out;
|
|
32
|
-
position: relative;
|
|
33
|
-
|
|
34
|
-
&:hover {
|
|
35
|
-
color: var(--#{$prefix}primary-6);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&.active {
|
|
39
|
-
color: var(--#{$prefix}primary-6);
|
|
40
|
-
font-weight: 600;
|
|
41
|
-
|
|
42
|
-
// Active indicator
|
|
43
|
-
&::after {
|
|
44
|
-
content: '';
|
|
45
|
-
position: absolute;
|
|
46
|
-
bottom: -8px;
|
|
47
|
-
left: 50%;
|
|
48
|
-
transform: translateX(-50%);
|
|
49
|
-
width: 4px;
|
|
50
|
-
height: 4px;
|
|
51
|
-
background: var(--#{$prefix}primary-6);
|
|
52
|
-
border-radius: 50%;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
// Mobile toggler
|
|
59
|
-
.c-navbar-toggler {
|
|
60
|
-
border: none;
|
|
61
|
-
padding: 8px;
|
|
62
|
-
|
|
63
|
-
&:focus {
|
|
64
|
-
box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.25);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.c-navbar-toggler-icon {
|
|
68
|
-
background-image: none;
|
|
69
|
-
width: 20px;
|
|
70
|
-
height: 2px;
|
|
71
|
-
background: var(--#{$prefix}gray-7);
|
|
72
|
-
position: relative;
|
|
73
|
-
transition: all 200ms ease-in-out;
|
|
74
|
-
|
|
75
|
-
&::before,
|
|
76
|
-
&::after {
|
|
77
|
-
content: '';
|
|
78
|
-
position: absolute;
|
|
79
|
-
width: 20px;
|
|
80
|
-
height: 2px;
|
|
81
|
-
background: var(--#{$prefix}gray-7);
|
|
82
|
-
transition: all 200ms ease-in-out;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
&::before {
|
|
86
|
-
top: -6px;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
&::after {
|
|
90
|
-
bottom: -6px;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Fixed navbar styling
|
|
96
|
-
&.c-navbar-fixed {
|
|
97
|
-
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
File without changes
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Shaj Default Theme Component Overrides
|
|
3
|
-
* Additional component styling for modern aesthetics
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
@use '../01-settings/settings.config' as *;
|
|
7
|
-
|
|
8
|
-
// Import component overrides
|
|
9
|
-
@forward './components.button';
|
|
10
|
-
@forward './components.card';
|
|
11
|
-
@forward './components.input';
|
|
12
|
-
@forward './components.navbar';
|
|
13
|
-
@forward './components.tooltip';
|
|
File without changes
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Atomix Design System theme Shaj Default
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
// Import and forward local theme settings first (these override base settings)
|
|
6
|
-
@use '01-settings/index' as *;
|
|
7
|
-
|
|
8
|
-
// Import and forward base styles with local overrides
|
|
9
|
-
@use '02-tools/index' as *;
|
|
10
|
-
@use '../../styles/02-tools/index' as tools;
|
|
11
|
-
|
|
12
|
-
@use '03-generic/index' as *;
|
|
13
|
-
@use '../../styles/03-generic/index' as generic;
|
|
14
|
-
|
|
15
|
-
@use '04-elements/index' as *;
|
|
16
|
-
@use '../../styles/04-elements/index' as elements;
|
|
17
|
-
|
|
18
|
-
@use '05-objects/index' as *;
|
|
19
|
-
@use '../../styles/05-objects/index' as objects;
|
|
20
|
-
|
|
21
|
-
@use '06-components/index' as *;
|
|
22
|
-
@use '../../styles/06-components/index';
|
|
23
|
-
|
|
24
|
-
@use '99-utilities/index' as *;
|
|
25
|
-
@use '../../styles/99-utilities/index' as utilities;
|
package/theme.config.ts
DELETED
|
@@ -1,360 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Atomix Theme Configuration
|
|
3
|
-
*
|
|
4
|
-
* Global configuration file for the Atomix Design System theme system.
|
|
5
|
-
* This file defines all available themes, build settings, runtime configuration,
|
|
6
|
-
* and integration settings.
|
|
7
|
-
*
|
|
8
|
-
* @example
|
|
9
|
-
* ```typescript
|
|
10
|
-
* import { loadThemeConfig } from '@shohojdhara/atomix/theme/config';
|
|
11
|
-
* const config = loadThemeConfig();
|
|
12
|
-
* ```
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import type { Theme } from './src/lib/theme/types';
|
|
16
|
-
import { createTheme } from './src/lib/theme/createTheme';
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* CSS Theme Definition
|
|
20
|
-
* Defines a theme that is loaded from a CSS file
|
|
21
|
-
*/
|
|
22
|
-
export interface CSSThemeDefinition {
|
|
23
|
-
/** Theme type identifier */
|
|
24
|
-
type: 'css';
|
|
25
|
-
/** Display name of the theme */
|
|
26
|
-
name: string;
|
|
27
|
-
/** Unique identifier/class name for the theme */
|
|
28
|
-
class?: string;
|
|
29
|
-
/** Theme description */
|
|
30
|
-
description?: string;
|
|
31
|
-
/** Theme author */
|
|
32
|
-
author?: string;
|
|
33
|
-
/** Theme version (semver) */
|
|
34
|
-
version?: string;
|
|
35
|
-
/** Theme tags for categorization */
|
|
36
|
-
tags?: string[];
|
|
37
|
-
/** Whether the theme supports dark mode */
|
|
38
|
-
supportsDarkMode?: boolean;
|
|
39
|
-
/** Theme status: stable, beta, experimental, deprecated */
|
|
40
|
-
status?: 'stable' | 'beta' | 'experimental' | 'deprecated';
|
|
41
|
-
/** Accessibility information */
|
|
42
|
-
a11y?: {
|
|
43
|
-
/** Target contrast ratio */
|
|
44
|
-
contrastTarget?: number;
|
|
45
|
-
/** Supported color modes */
|
|
46
|
-
modes?: string[];
|
|
47
|
-
};
|
|
48
|
-
/** Primary theme color (for UI display) */
|
|
49
|
-
color?: string;
|
|
50
|
-
/** Theme features list */
|
|
51
|
-
features?: string[];
|
|
52
|
-
/** Theme dependencies (other themes required) */
|
|
53
|
-
dependencies?: string[];
|
|
54
|
-
/** Custom CSS file path (optional, defaults to theme name) */
|
|
55
|
-
cssPath?: string;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* JavaScript Theme Definition
|
|
60
|
-
* Defines a theme created programmatically using createTheme
|
|
61
|
-
*/
|
|
62
|
-
export interface JSThemeDefinition {
|
|
63
|
-
/** Theme type identifier */
|
|
64
|
-
type: 'js';
|
|
65
|
-
/** Display name of the theme */
|
|
66
|
-
name: string;
|
|
67
|
-
/** Unique identifier/class name for the theme */
|
|
68
|
-
class?: string;
|
|
69
|
-
/** Theme description */
|
|
70
|
-
description?: string;
|
|
71
|
-
/** Theme author */
|
|
72
|
-
author?: string;
|
|
73
|
-
/** Theme version (semver) */
|
|
74
|
-
version?: string;
|
|
75
|
-
/** Theme tags for categorization */
|
|
76
|
-
tags?: string[];
|
|
77
|
-
/** Whether the theme supports dark mode */
|
|
78
|
-
supportsDarkMode?: boolean;
|
|
79
|
-
/** Theme status: stable, beta, experimental, deprecated */
|
|
80
|
-
status?: 'stable' | 'beta' | 'experimental' | 'deprecated';
|
|
81
|
-
/** Accessibility information */
|
|
82
|
-
a11y?: {
|
|
83
|
-
/** Target contrast ratio */
|
|
84
|
-
contrastTarget?: number;
|
|
85
|
-
/** Supported color modes */
|
|
86
|
-
modes?: string[];
|
|
87
|
-
};
|
|
88
|
-
/** Primary theme color (for UI display) */
|
|
89
|
-
color?: string;
|
|
90
|
-
/** Theme features list */
|
|
91
|
-
features?: string[];
|
|
92
|
-
/** Theme dependencies (other themes required) */
|
|
93
|
-
dependencies?: string[];
|
|
94
|
-
/** Function that creates the theme object */
|
|
95
|
-
createTheme: () => Theme;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Theme definition (CSS or JS)
|
|
100
|
-
*/
|
|
101
|
-
export type ThemeDefinition = CSSThemeDefinition | JSThemeDefinition;
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* Build configuration
|
|
105
|
-
*/
|
|
106
|
-
export interface BuildConfig {
|
|
107
|
-
/** Output directory for compiled themes */
|
|
108
|
-
output: {
|
|
109
|
-
/** Output directory path */
|
|
110
|
-
directory: string;
|
|
111
|
-
/** Output file formats */
|
|
112
|
-
formats: {
|
|
113
|
-
/** Expanded format extension */
|
|
114
|
-
expanded: string;
|
|
115
|
-
/** Compressed format extension */
|
|
116
|
-
compressed: string;
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
/** Sass compilation settings */
|
|
120
|
-
sass: {
|
|
121
|
-
/** Output style */
|
|
122
|
-
style: 'expanded' | 'compressed' | 'compact' | 'nested';
|
|
123
|
-
/** Generate source maps */
|
|
124
|
-
sourceMap: boolean;
|
|
125
|
-
/** Additional load paths */
|
|
126
|
-
loadPaths: string[];
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* Runtime configuration
|
|
132
|
-
*/
|
|
133
|
-
export interface RuntimeConfig {
|
|
134
|
-
/** Base path for theme CSS files (relative to public directory) */
|
|
135
|
-
basePath: string;
|
|
136
|
-
/** Optional CDN path for theme files */
|
|
137
|
-
cdnPath?: string | null;
|
|
138
|
-
/** Themes to preload on initialization */
|
|
139
|
-
preload?: string[];
|
|
140
|
-
/** Enable lazy loading of themes */
|
|
141
|
-
lazy?: boolean;
|
|
142
|
-
/** Default theme name */
|
|
143
|
-
defaultTheme: string;
|
|
144
|
-
/** localStorage key for theme persistence */
|
|
145
|
-
storageKey?: string;
|
|
146
|
-
/** Data attribute name for theme */
|
|
147
|
-
dataAttribute?: string;
|
|
148
|
-
/** Enable persistence */
|
|
149
|
-
enablePersistence?: boolean;
|
|
150
|
-
/** Use minified CSS files in production */
|
|
151
|
-
useMinified?: boolean;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* Integration configuration
|
|
156
|
-
*/
|
|
157
|
-
export interface IntegrationConfig {
|
|
158
|
-
/** CSS variables for theme integration */
|
|
159
|
-
cssVariables: {
|
|
160
|
-
/** Color mode variable name */
|
|
161
|
-
colorMode?: string;
|
|
162
|
-
/** Additional custom variables */
|
|
163
|
-
[key: string]: string | undefined;
|
|
164
|
-
};
|
|
165
|
-
/** Attribute names used for theme and color mode */
|
|
166
|
-
classNames: {
|
|
167
|
-
/** Theme attribute name */
|
|
168
|
-
theme: string;
|
|
169
|
-
/** Color mode attribute name */
|
|
170
|
-
colorMode: string;
|
|
171
|
-
};
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* Complete theme configuration
|
|
176
|
-
*/
|
|
177
|
-
export interface ThemeConfig {
|
|
178
|
-
/** Available themes */
|
|
179
|
-
themes: Record<string, ThemeDefinition>;
|
|
180
|
-
/** Build configuration */
|
|
181
|
-
build: BuildConfig;
|
|
182
|
-
/** Runtime configuration */
|
|
183
|
-
runtime: RuntimeConfig;
|
|
184
|
-
/** Integration settings */
|
|
185
|
-
integration: IntegrationConfig;
|
|
186
|
-
/** Theme dependencies mapping */
|
|
187
|
-
dependencies?: Record<string, string[]>;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
* Default build configuration
|
|
192
|
-
*/
|
|
193
|
-
const defaultBuildConfig: BuildConfig = {
|
|
194
|
-
output: {
|
|
195
|
-
directory: 'themes',
|
|
196
|
-
formats: {
|
|
197
|
-
expanded: '.css',
|
|
198
|
-
compressed: '.min.css',
|
|
199
|
-
},
|
|
200
|
-
},
|
|
201
|
-
sass: {
|
|
202
|
-
style: 'expanded',
|
|
203
|
-
sourceMap: true,
|
|
204
|
-
loadPaths: ['src'],
|
|
205
|
-
},
|
|
206
|
-
};
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* Default runtime configuration
|
|
210
|
-
*/
|
|
211
|
-
const defaultRuntimeConfig: RuntimeConfig = {
|
|
212
|
-
basePath: '/themes',
|
|
213
|
-
cdnPath: null,
|
|
214
|
-
preload: ['shaj-default'],
|
|
215
|
-
lazy: true,
|
|
216
|
-
defaultTheme: 'shaj-default',
|
|
217
|
-
storageKey: 'atomix-theme',
|
|
218
|
-
dataAttribute: 'data-theme',
|
|
219
|
-
enablePersistence: true,
|
|
220
|
-
useMinified: process.env.NODE_ENV === 'production',
|
|
221
|
-
};
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* Default integration configuration
|
|
225
|
-
*/
|
|
226
|
-
const defaultIntegrationConfig: IntegrationConfig = {
|
|
227
|
-
cssVariables: {
|
|
228
|
-
colorMode: '--storybook-color-mode',
|
|
229
|
-
},
|
|
230
|
-
classNames: {
|
|
231
|
-
theme: 'data-theme',
|
|
232
|
-
colorMode: 'data-atomix-color-mode',
|
|
233
|
-
},
|
|
234
|
-
};
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* Theme configuration
|
|
238
|
-
*
|
|
239
|
-
* This is the main configuration object that defines all themes,
|
|
240
|
-
* build settings, runtime behavior, and integration options.
|
|
241
|
-
*/
|
|
242
|
-
const themeConfig: ThemeConfig = {
|
|
243
|
-
themes: {
|
|
244
|
-
'shaj-default': {
|
|
245
|
-
type: 'css',
|
|
246
|
-
name: 'Shaj Default',
|
|
247
|
-
description: 'The default theme for the Atomix Design System',
|
|
248
|
-
author: 'Shohoj Dhara',
|
|
249
|
-
version: '1.0.0',
|
|
250
|
-
tags: ['default', 'light'],
|
|
251
|
-
supportsDarkMode: true,
|
|
252
|
-
status: 'stable',
|
|
253
|
-
a11y: { contrastTarget: 4.5, modes: ['light', 'dark'] },
|
|
254
|
-
color: '#3b82f6',
|
|
255
|
-
},
|
|
256
|
-
boomdevs: {
|
|
257
|
-
type: 'css',
|
|
258
|
-
name: 'BoomDevs',
|
|
259
|
-
description: 'BoomDevs theme for the Atomix Design System',
|
|
260
|
-
author: 'BoomDevs Team',
|
|
261
|
-
version: '1.0.0',
|
|
262
|
-
tags: ['dark', 'modern'],
|
|
263
|
-
supportsDarkMode: true,
|
|
264
|
-
status: 'beta',
|
|
265
|
-
a11y: { contrastTarget: 4.5, modes: ['light', 'dark'] },
|
|
266
|
-
color: '#8b5cf6',
|
|
267
|
-
},
|
|
268
|
-
esrar: {
|
|
269
|
-
type: 'css',
|
|
270
|
-
name: 'Esrar',
|
|
271
|
-
description: 'Esrar theme for the Atomix Design System',
|
|
272
|
-
author: 'Esrar Team',
|
|
273
|
-
version: '1.0.0',
|
|
274
|
-
tags: ['light', 'minimal'],
|
|
275
|
-
supportsDarkMode: true,
|
|
276
|
-
status: 'beta',
|
|
277
|
-
a11y: { contrastTarget: 4.5, modes: ['light', 'dark'] },
|
|
278
|
-
color: '#10b981',
|
|
279
|
-
},
|
|
280
|
-
mashroom: {
|
|
281
|
-
type: 'css',
|
|
282
|
-
name: 'Mashroom',
|
|
283
|
-
description: 'Mashroom theme for the Atomix Design System',
|
|
284
|
-
author: 'Mashroom Team',
|
|
285
|
-
version: '1.0.0',
|
|
286
|
-
tags: ['dark', 'contrast'],
|
|
287
|
-
supportsDarkMode: true,
|
|
288
|
-
status: 'beta',
|
|
289
|
-
a11y: { contrastTarget: 4.5, modes: ['light', 'dark'] },
|
|
290
|
-
color: '#f59e0b',
|
|
291
|
-
},
|
|
292
|
-
applemix: {
|
|
293
|
-
type: 'css',
|
|
294
|
-
name: 'Applemix',
|
|
295
|
-
description: 'Apple Mac OS 2026 Liquid Glass inspired theme with morphism effects',
|
|
296
|
-
author: 'Atomix Design System',
|
|
297
|
-
version: '1.0.0',
|
|
298
|
-
tags: ['glass', 'apple', 'modern', 'liquid', 'morphism'],
|
|
299
|
-
supportsDarkMode: true,
|
|
300
|
-
features: [
|
|
301
|
-
'Liquid glass morphism effects',
|
|
302
|
-
'Apple-inspired color palette',
|
|
303
|
-
'Chromatic aberration effects',
|
|
304
|
-
'Smooth animations and transitions',
|
|
305
|
-
'AtomixGlass component integration',
|
|
306
|
-
'Comprehensive component overrides',
|
|
307
|
-
'Light and dark mode support',
|
|
308
|
-
],
|
|
309
|
-
status: 'experimental',
|
|
310
|
-
a11y: { contrastTarget: 4.5, modes: ['light', 'dark'] },
|
|
311
|
-
color: '#f5f5f5',
|
|
312
|
-
},
|
|
313
|
-
flashtrade: {
|
|
314
|
-
type: 'css',
|
|
315
|
-
name: 'Flash Trade',
|
|
316
|
-
description: 'Professional dark crypto perpetuals trading platform theme inspired by flash.trade',
|
|
317
|
-
author: 'Atomix Design System',
|
|
318
|
-
version: '1.1.0',
|
|
319
|
-
tags: ['dark', 'crypto', 'trading', 'glass', 'modern', 'decentralized', 'defi'],
|
|
320
|
-
supportsDarkMode: true,
|
|
321
|
-
features: [
|
|
322
|
-
'Ultra-dark trading interface aesthetic matching flash.trade',
|
|
323
|
-
'Bright cyan (#06b6d4) primary color for brand consistency',
|
|
324
|
-
'High contrast for financial data readability',
|
|
325
|
-
'Trading-focused color palette (green for long/profit, red for short/loss)',
|
|
326
|
-
'Glass morphism effects for modern UI depth',
|
|
327
|
-
'Optimized Inter typography for trading information',
|
|
328
|
-
'Fast animations for real-time data updates',
|
|
329
|
-
'Professional navbar with asset selector bar',
|
|
330
|
-
'Trading cards with hover effects and glass morphism',
|
|
331
|
-
'Comprehensive button styles for trading actions',
|
|
332
|
-
'Price change badges with glow effects',
|
|
333
|
-
'Responsive mobile-first design',
|
|
334
|
-
'AtomixGlass component integration',
|
|
335
|
-
],
|
|
336
|
-
status: 'stable',
|
|
337
|
-
a11y: { contrastTarget: 4.5, modes: ['dark'] },
|
|
338
|
-
color: '#06b6d4',
|
|
339
|
-
},
|
|
340
|
-
},
|
|
341
|
-
build: defaultBuildConfig,
|
|
342
|
-
runtime: defaultRuntimeConfig,
|
|
343
|
-
integration: defaultIntegrationConfig,
|
|
344
|
-
dependencies: {},
|
|
345
|
-
};
|
|
346
|
-
|
|
347
|
-
/**
|
|
348
|
-
* Helper function to define theme configuration with type safety
|
|
349
|
-
*
|
|
350
|
-
* @param config - Theme configuration object
|
|
351
|
-
* @returns The configuration object with proper typing
|
|
352
|
-
*/
|
|
353
|
-
export function defineThemeConfig(config: ThemeConfig): ThemeConfig {
|
|
354
|
-
return config;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
/**
|
|
358
|
-
* Default export of theme configuration
|
|
359
|
-
*/
|
|
360
|
-
export default themeConfig;
|