@neko-os/ui 0.0.13 → 0.2.0
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/dist/NekoUI.js +1 -1
- package/dist/abstractions/FlatList.native.js +1 -1
- package/dist/abstractions/KeyboardAvoidingView.js +1 -0
- package/dist/abstractions/KeyboardAvoidingView.native.js +1 -0
- package/dist/abstractions/ScrollView.native.js +1 -1
- package/dist/components/actions/ActionsDrawer.js +1 -0
- package/dist/components/actions/Button.js +1 -1
- package/dist/components/actions/FloatingMenu.js +1 -0
- package/dist/components/actions/index.js +1 -1
- package/dist/components/animations/AnimatedTopBar.js +1 -0
- package/dist/components/animations/AnimatedTopBar.native.js +1 -0
- package/dist/components/animations/AnimatedTopBar.web.js +1 -0
- package/dist/components/animations/ParallaxHeader.js +1 -0
- package/dist/components/animations/ParallaxHeader.native.js +1 -0
- package/dist/components/animations/ParallaxHeader.web.js +1 -0
- package/dist/components/animations/ReanimatedScrollHandler.js +1 -0
- package/dist/components/animations/ReanimatedScrollHandler.native.js +1 -0
- package/dist/components/animations/ReanimatedScrollHandler.web.js +1 -0
- package/dist/components/animations/index.js +1 -1
- package/dist/components/feedback/alerter.js +1 -1
- package/dist/components/feedback/confirmer.js +1 -1
- package/dist/components/form/FormItem.js +1 -1
- package/dist/components/form/FormList.js +1 -1
- package/dist/components/form/SubmitButton.js +1 -1
- package/dist/components/form/index.js +1 -1
- package/dist/components/form/useNewForm.js +1 -1
- package/dist/components/form/validation/defaultMessages.js +1 -0
- package/dist/components/form/validation/index.js +1 -0
- package/dist/components/form/validation/normalizeRules.js +1 -0
- package/dist/components/form/validation/shouldValidateOn.js +1 -0
- package/dist/components/form/validation/validateRules.js +1 -0
- package/dist/components/form/validation/validators.js +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/inputs/InputWrapper.js +1 -1
- package/dist/components/inputs/NumberInput.js +1 -1
- package/dist/components/inputs/Picker.js +1 -1
- package/dist/components/inputs/Select.js +1 -1
- package/dist/components/modals/bottomDrawer/index.js +1 -0
- package/dist/components/modals/bottomDrawer/index.native.js +1 -0
- package/dist/components/modals/bottomDrawer/index.web.js +1 -0
- package/dist/components/modals/bottomDrawer/native/BottomDrawer.js +1 -0
- package/dist/components/modals/bottomDrawer/native/DrawerContext.js +1 -0
- package/dist/components/modals/bottomDrawer/native/DrawerHandle.js +1 -0
- package/dist/components/modals/bottomDrawer/native/DrawerScrollView.js +1 -0
- package/dist/components/modals/bottomDrawer/native/createDrawerScrollComponent.js +1 -0
- package/dist/components/modals/bottomDrawer/web/BottomDrawer.js +1 -0
- package/dist/components/modals/drawer/Drawer.js +1 -0
- package/dist/components/modals/index.js +1 -0
- package/dist/components/modals/modal/Modal.js +1 -0
- package/dist/components/modals/modal/Modal.native.js +1 -0
- package/dist/components/modals/modal/ModalBackdrop.js +1 -0
- package/dist/components/modals/modal/ModalContent.js +1 -0
- package/dist/components/modals/modal/ModalFooter.js +1 -0
- package/dist/components/modals/modal/ModalHeader.js +1 -0
- package/dist/components/modals/modal/handler/ModalsHandler.js +1 -0
- package/dist/components/modals/router/ModalRoute.js +1 -0
- package/dist/components/modals/router/ModalsRouter.js +1 -0
- package/dist/components/modals/router/ModalsRouterContext.js +1 -0
- package/dist/components/modals/router/index.js +1 -0
- package/dist/components/modals/router/useAllModalsParams.js +1 -0
- package/dist/components/modals/router/useModalParams.js +1 -0
- package/dist/components/modals/router/useModalsNavigation.js +1 -0
- package/dist/components/modals/router/useUpdateModalContainer.js +1 -0
- package/dist/components/presentation/Avatar.js +1 -1
- package/dist/components/presentation/AvatarLabel.js +1 -1
- package/dist/components/presentation/LabelValue.js +1 -1
- package/dist/components/presentation/Result.js +1 -1
- package/dist/components/presentation/Tooltip.js +1 -1
- package/dist/components/sections/Section.js +1 -0
- package/dist/components/sections/SectionItem.js +1 -0
- package/dist/components/sections/SectionItemDropdown.js +1 -0
- package/dist/components/sections/SectionItemLink.js +1 -0
- package/dist/components/sections/index.js +1 -0
- package/dist/components/state/StatePresenter.js +1 -0
- package/dist/components/state/index.js +1 -1
- package/dist/components/structure/BlurView.js +1 -1
- package/dist/components/structure/KeyboardAvoidingView.js +1 -0
- package/dist/components/structure/TopBar.js +1 -0
- package/dist/components/structure/index.js +1 -1
- package/dist/components/structure/popover/Popover.js +1 -1
- package/dist/components/structure/popover/Popover.native.js +1 -1
- package/dist/components/structure/popover/Popover_BU.js +1 -1
- package/dist/components/text/DateText.js +1 -0
- package/dist/components/text/index.js +1 -1
- package/dist/components/theme/ThemePicker.js +1 -1
- package/dist/components/theme/ThemePickerDrawer.js +1 -1
- package/dist/helpers/index.js +1 -1
- package/dist/helpers/storage.js +1 -1
- package/dist/responsive/responsiveHooks.js +1 -1
- package/dist/theme/ThemeHandler.js +1 -1
- package/dist/theme/default/base.js +1 -1
- package/dist/theme/default/blackTheme.js +1 -1
- package/dist/theme/default/cyberpunkTheme.js +1 -1
- package/dist/theme/default/darkTheme.js +1 -1
- package/dist/theme/default/hackerTheme.js +1 -1
- package/dist/theme/default/lightTheme.js +1 -1
- package/dist/theme/default/paperTheme.js +1 -1
- package/dist/theme/default/themes.js +1 -1
- package/package.json +1 -1
- package/src/NekoUI.js +1 -1
- package/src/abstractions/FlatList.native.js +2 -1
- package/src/abstractions/KeyboardAvoidingView.js +3 -0
- package/src/abstractions/KeyboardAvoidingView.native.js +3 -0
- package/src/abstractions/ScrollView.native.js +2 -2
- package/src/components/actions/ActionsDrawer.js +68 -0
- package/src/components/actions/Button.js +2 -1
- package/src/components/actions/FloatingMenu.js +39 -0
- package/src/components/actions/index.js +2 -0
- package/src/components/animations/AnimatedTopBar.js +10 -0
- package/src/components/animations/AnimatedTopBar.native.js +34 -0
- package/src/components/animations/AnimatedTopBar.web.js +1 -0
- package/src/components/animations/ParallaxHeader.js +9 -0
- package/src/components/animations/ParallaxHeader.native.js +32 -0
- package/src/components/animations/ParallaxHeader.web.js +32 -0
- package/src/components/animations/ReanimatedScrollHandler.js +8 -0
- package/src/components/animations/ReanimatedScrollHandler.native.js +24 -0
- package/src/components/animations/ReanimatedScrollHandler.web.js +1 -0
- package/src/components/animations/index.js +3 -0
- package/src/components/feedback/alerter.js +1 -1
- package/src/components/feedback/confirmer.js +1 -1
- package/src/components/form/FormItem.js +42 -5
- package/src/components/form/FormList.js +23 -4
- package/src/components/form/SubmitButton.js +4 -2
- package/src/components/form/index.js +1 -0
- package/src/components/form/useNewForm.js +108 -15
- package/src/components/form/validation/defaultMessages.js +20 -0
- package/src/components/form/validation/index.js +5 -0
- package/src/components/form/validation/normalizeRules.js +22 -0
- package/src/components/form/validation/shouldValidateOn.js +21 -0
- package/src/components/form/validation/validateRules.js +83 -0
- package/src/components/form/validation/validators.js +82 -0
- package/src/components/index.js +2 -0
- package/src/components/inputs/InputWrapper.js +1 -1
- package/src/components/inputs/NumberInput.js +6 -5
- package/src/components/inputs/Picker.js +3 -2
- package/src/components/inputs/Select.js +31 -15
- package/src/components/modals/bottomDrawer/index.js +3 -0
- package/src/components/{structure → modals}/bottomDrawer/index.native.js +2 -1
- package/src/components/{structure → modals}/bottomDrawer/index.web.js +2 -1
- package/src/components/{structure → modals}/bottomDrawer/native/BottomDrawer.js +15 -21
- package/src/components/{structure → modals}/bottomDrawer/native/DrawerHandle.js +1 -1
- package/src/components/modals/bottomDrawer/native/DrawerScrollView.js +5 -0
- package/src/components/modals/bottomDrawer/native/createDrawerScrollComponent.js +131 -0
- package/src/components/modals/index.js +4 -0
- package/src/components/{structure → modals}/modal/Modal.native.js +1 -1
- package/src/components/{structure → modals}/modal/ModalBackdrop.js +1 -1
- package/src/components/{structure → modals}/modal/ModalContent.js +1 -1
- package/src/components/{structure → modals}/modal/ModalFooter.js +1 -1
- package/src/components/{structure → modals}/modal/ModalHeader.js +1 -1
- package/src/components/modals/router/ModalRoute.js +15 -0
- package/src/components/modals/router/ModalsRouter.js +120 -0
- package/src/components/modals/router/ModalsRouterContext.js +16 -0
- package/src/components/modals/router/index.js +6 -0
- package/src/components/modals/router/useAllModalsParams.js +6 -0
- package/src/components/modals/router/useModalParams.js +6 -0
- package/src/components/modals/router/useModalsNavigation.js +6 -0
- package/src/components/modals/router/useUpdateModalContainer.js +6 -0
- package/src/components/presentation/Avatar.js +2 -2
- package/src/components/presentation/AvatarLabel.js +2 -0
- package/src/components/presentation/LabelValue.js +7 -5
- package/src/components/presentation/Result.js +2 -2
- package/src/components/presentation/Tooltip.js +1 -1
- package/src/components/sections/Section.js +50 -0
- package/src/components/sections/SectionItem.js +24 -0
- package/src/components/sections/SectionItemDropdown.js +68 -0
- package/src/components/sections/SectionItemLink.js +33 -0
- package/src/components/sections/index.js +4 -0
- package/src/components/state/StatePresenter.js +41 -0
- package/src/components/state/index.js +1 -0
- package/src/components/structure/BlurView.js +1 -0
- package/src/components/structure/KeyboardAvoidingView.js +52 -0
- package/src/components/structure/TopBar.js +45 -0
- package/src/components/structure/index.js +2 -3
- package/src/components/structure/popover/Popover.js +1 -1
- package/src/components/structure/popover/Popover.native.js +1 -1
- package/src/components/structure/popover/Popover_BU.js +1 -1
- package/src/components/text/DateText.js +11 -0
- package/src/components/text/index.js +1 -0
- package/src/components/theme/ThemePicker.js +1 -2
- package/src/components/theme/ThemePickerDrawer.js +3 -4
- package/src/helpers/index.js +1 -0
- package/src/helpers/storage.js +32 -9
- package/src/responsive/responsiveHooks.js +6 -0
- package/src/theme/ThemeHandler.js +6 -3
- package/src/theme/default/base.js +16 -4
- package/src/theme/default/blackTheme.js +33 -21
- package/src/theme/default/cyberpunkTheme.js +24 -22
- package/src/theme/default/darkTheme.js +1 -0
- package/src/theme/default/hackerTheme.js +40 -19
- package/src/theme/default/lightTheme.js +1 -0
- package/src/theme/default/paperTheme.js +14 -0
- package/src/theme/default/themes.js +0 -9
- package/dist/components/structure/bottomDrawer/index.js +0 -1
- package/dist/components/structure/bottomDrawer/index.native.js +0 -1
- package/dist/components/structure/bottomDrawer/index.web.js +0 -1
- package/dist/components/structure/bottomDrawer/native/BottomDrawer.js +0 -1
- package/dist/components/structure/bottomDrawer/native/DrawerContext.js +0 -1
- package/dist/components/structure/bottomDrawer/native/DrawerHandle.js +0 -1
- package/dist/components/structure/bottomDrawer/native/DrawerScrollView.js +0 -1
- package/dist/components/structure/bottomDrawer/web/BottomDrawer.js +0 -1
- package/dist/components/structure/drawer/Drawer.js +0 -1
- package/dist/components/structure/modal/Modal.js +0 -1
- package/dist/components/structure/modal/Modal.native.js +0 -1
- package/dist/components/structure/modal/ModalBackdrop.js +0 -1
- package/dist/components/structure/modal/ModalContent.js +0 -1
- package/dist/components/structure/modal/ModalFooter.js +0 -1
- package/dist/components/structure/modal/ModalHeader.js +0 -1
- package/dist/components/structure/modal/handler/ModalsHandler.js +0 -1
- package/dist/theme/default/deepWoodsTheme.js +0 -1
- package/dist/theme/default/forestTheme.js +0 -1
- package/dist/theme/default/midnightTheme.js +0 -1
- package/dist/theme/default/msdosTheme.js +0 -1
- package/dist/theme/default/oceanTheme.js +0 -1
- package/dist/theme/default/pastelTheme.js +0 -1
- package/dist/theme/default/sunsetTheme.js +0 -1
- package/src/components/structure/bottomDrawer/index.js +0 -1
- package/src/components/structure/bottomDrawer/native/DrawerScrollView.js +0 -83
- package/src/theme/default/deepWoodsTheme.js +0 -34
- package/src/theme/default/forestTheme.js +0 -34
- package/src/theme/default/midnightTheme.js +0 -34
- package/src/theme/default/msdosTheme.js +0 -55
- package/src/theme/default/oceanTheme.js +0 -34
- package/src/theme/default/pastelTheme.js +0 -34
- package/src/theme/default/sunsetTheme.js +0 -35
- /package/dist/components/{structure → modals}/bottomDrawer/native/utils.js +0 -0
- /package/dist/components/{structure → modals}/drawer/Drawer.native.js +0 -0
- /package/dist/components/{structure → modals}/drawer/Drawer.web.js +0 -0
- /package/dist/components/{structure → modals}/drawer/index.js +0 -0
- /package/dist/components/{structure → modals}/modal/index.js +0 -0
- /package/src/components/{structure → modals}/bottomDrawer/native/DrawerContext.js +0 -0
- /package/src/components/{structure → modals}/bottomDrawer/native/utils.js +0 -0
- /package/src/components/{structure → modals}/bottomDrawer/web/BottomDrawer.js +0 -0
- /package/src/components/{structure → modals}/drawer/Drawer.js +0 -0
- /package/src/components/{structure → modals}/drawer/Drawer.native.js +0 -0
- /package/src/components/{structure → modals}/drawer/Drawer.web.js +0 -0
- /package/src/components/{structure → modals}/drawer/index.js +0 -0
- /package/src/components/{structure → modals}/modal/Modal.js +0 -0
- /package/src/components/{structure → modals}/modal/handler/ModalsHandler.js +0 -0
- /package/src/components/{structure → modals}/modal/index.js +0 -0
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import { ScrollView } from 'react-native'
|
|
3
|
-
import Animated, { useAnimatedScrollHandler, useAnimatedReaction, runOnJS } from 'react-native-reanimated'
|
|
4
|
-
import { useDrawerContext } from './DrawerContext'
|
|
5
|
-
|
|
6
|
-
const AnimatedScrollView = Animated.createAnimatedComponent(ScrollView)
|
|
7
|
-
|
|
8
|
-
export const DrawerScrollView = React.forwardRef((props, ref) => {
|
|
9
|
-
const {
|
|
10
|
-
children,
|
|
11
|
-
onScroll,
|
|
12
|
-
scrollEventThrottle = 16,
|
|
13
|
-
showsVerticalScrollIndicator = true,
|
|
14
|
-
bounces = true,
|
|
15
|
-
...scrollViewProps
|
|
16
|
-
} = props
|
|
17
|
-
|
|
18
|
-
const { scrollOffset, scrollEnabled, isScrolling } = useDrawerContext()
|
|
19
|
-
|
|
20
|
-
const scrollRef = React.useRef(null)
|
|
21
|
-
|
|
22
|
-
// Convert shared value to React state for the component
|
|
23
|
-
const [isScrollEnabled, setIsScrollEnabled] = React.useState(true)
|
|
24
|
-
|
|
25
|
-
React.useImperativeHandle(ref, () => scrollRef.current)
|
|
26
|
-
|
|
27
|
-
// Handle scroll lock/unlock based on drawer position
|
|
28
|
-
useAnimatedReaction(
|
|
29
|
-
() => scrollEnabled.value,
|
|
30
|
-
(enabled) => {
|
|
31
|
-
if (!enabled && scrollOffset.value > 0) {
|
|
32
|
-
runOnJS(() => {
|
|
33
|
-
scrollRef.current?.scrollTo({ y: 0, animated: false })
|
|
34
|
-
})()
|
|
35
|
-
scrollOffset.value = 0
|
|
36
|
-
}
|
|
37
|
-
// Update React state
|
|
38
|
-
runOnJS(setIsScrollEnabled)(enabled)
|
|
39
|
-
},
|
|
40
|
-
[]
|
|
41
|
-
)
|
|
42
|
-
|
|
43
|
-
const handleScrollBeginDrag = React.useCallback(() => {
|
|
44
|
-
isScrolling.value = true
|
|
45
|
-
}, [isScrolling])
|
|
46
|
-
|
|
47
|
-
const handleScrollEndDrag = React.useCallback(() => {
|
|
48
|
-
isScrolling.value = false
|
|
49
|
-
}, [isScrolling])
|
|
50
|
-
|
|
51
|
-
const animatedScrollHandler = useAnimatedScrollHandler({
|
|
52
|
-
onScroll: (event) => {
|
|
53
|
-
scrollOffset.value = event.contentOffset.y
|
|
54
|
-
|
|
55
|
-
if (onScroll) {
|
|
56
|
-
runOnJS(onScroll)(event)
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
onBeginDrag: () => {
|
|
60
|
-
runOnJS(handleScrollBeginDrag)()
|
|
61
|
-
},
|
|
62
|
-
onEndDrag: () => {
|
|
63
|
-
runOnJS(handleScrollEndDrag)()
|
|
64
|
-
},
|
|
65
|
-
})
|
|
66
|
-
|
|
67
|
-
return (
|
|
68
|
-
<AnimatedScrollView
|
|
69
|
-
ref={scrollRef}
|
|
70
|
-
style={{ flex: 1 }}
|
|
71
|
-
scrollEnabled={isScrollEnabled}
|
|
72
|
-
onScroll={animatedScrollHandler}
|
|
73
|
-
scrollEventThrottle={scrollEventThrottle}
|
|
74
|
-
showsVerticalScrollIndicator={showsVerticalScrollIndicator}
|
|
75
|
-
bounces={bounces}
|
|
76
|
-
{...scrollViewProps}
|
|
77
|
-
>
|
|
78
|
-
{children}
|
|
79
|
-
</AnimatedScrollView>
|
|
80
|
-
)
|
|
81
|
-
})
|
|
82
|
-
|
|
83
|
-
DrawerScrollView.displayName = 'DrawerScrollView'
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { mergeDeepRight } from 'ramda'
|
|
2
|
-
import { BASE_THEME } from './base'
|
|
3
|
-
|
|
4
|
-
export const DEEP_WOODS_DARK_THEME = mergeDeepRight(BASE_THEME, {
|
|
5
|
-
label: 'Deep Woods',
|
|
6
|
-
|
|
7
|
-
colors: {
|
|
8
|
-
primary: '#4CAF50',
|
|
9
|
-
text: '#C8E6C9',
|
|
10
|
-
text2: '#C8E6C9',
|
|
11
|
-
text3: '#A5D6A7',
|
|
12
|
-
text4: '#81C784',
|
|
13
|
-
|
|
14
|
-
mainBG: '#0D1B14',
|
|
15
|
-
overlayBG: '#16281F',
|
|
16
|
-
backdrop: '#0D1B14',
|
|
17
|
-
shadow: 'rgba(39, 45, 52, 0.6)',
|
|
18
|
-
divider: 'rgba(255,255,255, 0.2)',
|
|
19
|
-
|
|
20
|
-
blue: '#64B5F6',
|
|
21
|
-
yellow: '#FBC02D',
|
|
22
|
-
green: '#81C784',
|
|
23
|
-
purple: '#9575CD',
|
|
24
|
-
orange: '#FFB74D',
|
|
25
|
-
cyan: '#4DD0E1',
|
|
26
|
-
red: '#E57373',
|
|
27
|
-
navy: '#1B263B',
|
|
28
|
-
indigo: '#5C6BC0',
|
|
29
|
-
gray: '#9E9E9E',
|
|
30
|
-
brown: '#8D6E63',
|
|
31
|
-
lylac: '#B39DDB',
|
|
32
|
-
pink: '#F48FB1',
|
|
33
|
-
},
|
|
34
|
-
})
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { mergeDeepRight } from 'ramda'
|
|
2
|
-
import { BASE_THEME } from './base'
|
|
3
|
-
|
|
4
|
-
export const FOREST_MIST_THEME = mergeDeepRight(BASE_THEME, {
|
|
5
|
-
label: 'Forest Mist',
|
|
6
|
-
|
|
7
|
-
colors: {
|
|
8
|
-
primary: '#4CAF50',
|
|
9
|
-
text: '#0B2414',
|
|
10
|
-
text2: '#14532D',
|
|
11
|
-
text3: '#1B5E20',
|
|
12
|
-
text4: '#388E3C',
|
|
13
|
-
|
|
14
|
-
mainBG: '#E9F5EC',
|
|
15
|
-
overlayBG: '#FFFFFF',
|
|
16
|
-
backdrop: '#E9F5EC',
|
|
17
|
-
shadow: 'rgba(39, 45, 52, 0.15)',
|
|
18
|
-
divider: 'rgba(0,0,0, 0.1)',
|
|
19
|
-
|
|
20
|
-
blue: '#2563EB',
|
|
21
|
-
yellow: '#F59E0B',
|
|
22
|
-
green: '#15803D',
|
|
23
|
-
purple: '#7C3AED',
|
|
24
|
-
orange: '#EA580C',
|
|
25
|
-
cyan: '#0891B2',
|
|
26
|
-
red: '#B91C1C',
|
|
27
|
-
navy: '#1E3A8A',
|
|
28
|
-
indigo: '#4338CA',
|
|
29
|
-
gray: '#94A3B8',
|
|
30
|
-
brown: '#78350F',
|
|
31
|
-
lylac: '#A78BFA',
|
|
32
|
-
pink: '#F472B6',
|
|
33
|
-
},
|
|
34
|
-
})
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { mergeDeepRight } from 'ramda'
|
|
2
|
-
import { BASE_THEME } from './base'
|
|
3
|
-
|
|
4
|
-
export const MIDNIGHT_NEON_THEME = mergeDeepRight(BASE_THEME, {
|
|
5
|
-
label: 'Midnight',
|
|
6
|
-
|
|
7
|
-
colors: {
|
|
8
|
-
primary: '#FF00FF',
|
|
9
|
-
text: '#F0F0F0',
|
|
10
|
-
text2: '#D4D4D4',
|
|
11
|
-
text3: '#A3A3A3',
|
|
12
|
-
text4: '#7A7A7A',
|
|
13
|
-
|
|
14
|
-
mainBG: '#0D0D0D',
|
|
15
|
-
overlayBG: '#1A1A1A',
|
|
16
|
-
backdrop: '#0D0D0D',
|
|
17
|
-
shadow: 'rgba(39, 45, 52, 0.6)',
|
|
18
|
-
divider: 'rgba(255,255,255, 0.2)',
|
|
19
|
-
|
|
20
|
-
blue: '#3B82F6',
|
|
21
|
-
yellow: '#FACC15',
|
|
22
|
-
green: '#22C55E',
|
|
23
|
-
purple: '#A855F7',
|
|
24
|
-
orange: '#FB923C',
|
|
25
|
-
cyan: '#06B6D4',
|
|
26
|
-
red: '#F87171',
|
|
27
|
-
navy: '#1E3A8A',
|
|
28
|
-
indigo: '#6366F1',
|
|
29
|
-
gray: '#9CA3AF',
|
|
30
|
-
brown: '#92400E',
|
|
31
|
-
lylac: '#C084FC',
|
|
32
|
-
pink: '#F472B6',
|
|
33
|
-
},
|
|
34
|
-
})
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { mergeDeepRight } from 'ramda'
|
|
2
|
-
|
|
3
|
-
import { BASE_THEME } from './base'
|
|
4
|
-
|
|
5
|
-
export const DEFAULT_MSDOS_THEME = mergeDeepRight(BASE_THEME, {
|
|
6
|
-
label: 'MSDOS',
|
|
7
|
-
|
|
8
|
-
colors: {
|
|
9
|
-
primary: '#FFFF00',
|
|
10
|
-
text: '#FFFFFF',
|
|
11
|
-
text2: '#E0E0E0',
|
|
12
|
-
text3: '#B0B0B0',
|
|
13
|
-
text4: '#8A8A8A',
|
|
14
|
-
|
|
15
|
-
mainBG: '#0000AA',
|
|
16
|
-
overlayBG: '#000088',
|
|
17
|
-
backdrop: '#0000AA',
|
|
18
|
-
shadow: 'rgba(0, 0, 0, 0.6)',
|
|
19
|
-
divider: 'rgba(255,255,255,0.3)',
|
|
20
|
-
|
|
21
|
-
blue: '#0000FF',
|
|
22
|
-
yellow: '#FFFF00',
|
|
23
|
-
green: '#00FF00',
|
|
24
|
-
purple: '#AA00FF',
|
|
25
|
-
orange: '#FF7700',
|
|
26
|
-
cyan: '#00FFFF',
|
|
27
|
-
red: '#FF0000',
|
|
28
|
-
navy: '#000080',
|
|
29
|
-
indigo: '#4B0082',
|
|
30
|
-
gray: '#B0B0B0',
|
|
31
|
-
brown: '#8B4513',
|
|
32
|
-
lylac: '#9370DB',
|
|
33
|
-
pink: '#FF69B4',
|
|
34
|
-
},
|
|
35
|
-
|
|
36
|
-
radius: {
|
|
37
|
-
xxxs: 1,
|
|
38
|
-
xxs: 2,
|
|
39
|
-
xs: 3,
|
|
40
|
-
sm: 4,
|
|
41
|
-
md: 6,
|
|
42
|
-
lg: 8,
|
|
43
|
-
xl: 10,
|
|
44
|
-
xxl: 12,
|
|
45
|
-
xxxl: 14,
|
|
46
|
-
},
|
|
47
|
-
|
|
48
|
-
components: {
|
|
49
|
-
Card: {
|
|
50
|
-
border: 1,
|
|
51
|
-
br: 5,
|
|
52
|
-
borderColor: 'divider',
|
|
53
|
-
},
|
|
54
|
-
},
|
|
55
|
-
})
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { mergeDeepRight } from 'ramda'
|
|
2
|
-
import { BASE_THEME } from './base'
|
|
3
|
-
|
|
4
|
-
export const OCEAN_BREEZE_THEME = mergeDeepRight(BASE_THEME, {
|
|
5
|
-
label: 'Ocean Breeze',
|
|
6
|
-
|
|
7
|
-
colors: {
|
|
8
|
-
primary: '#2B90D9',
|
|
9
|
-
text: '#065277',
|
|
10
|
-
text2: '#065A82',
|
|
11
|
-
text3: '#0B84B4',
|
|
12
|
-
text4: '#3ABEFF',
|
|
13
|
-
|
|
14
|
-
mainBG: '#E6F7FF',
|
|
15
|
-
overlayBG: '#FFFFFF',
|
|
16
|
-
backdrop: '#04364A',
|
|
17
|
-
shadow: 'rgba(39, 45, 52, 0.15)',
|
|
18
|
-
divider: 'rgba(0,0,0, 0.1)',
|
|
19
|
-
|
|
20
|
-
blue: '#1D4ED8',
|
|
21
|
-
yellow: '#FACC15',
|
|
22
|
-
green: '#10B981',
|
|
23
|
-
purple: '#8B5CF6',
|
|
24
|
-
orange: '#FB923C',
|
|
25
|
-
cyan: '#06B6D4',
|
|
26
|
-
red: '#EF4444',
|
|
27
|
-
navy: '#1E3A8A',
|
|
28
|
-
indigo: '#6366F1',
|
|
29
|
-
gray: '#9CA3AF',
|
|
30
|
-
brown: '#A16207',
|
|
31
|
-
lylac: '#C4B5FD',
|
|
32
|
-
pink: '#F472B6',
|
|
33
|
-
},
|
|
34
|
-
})
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { mergeDeepRight } from 'ramda'
|
|
2
|
-
import { BASE_THEME } from './base'
|
|
3
|
-
|
|
4
|
-
export const PASTEL_DREAM_THEME = mergeDeepRight(BASE_THEME, {
|
|
5
|
-
label: 'Pastel Dream',
|
|
6
|
-
|
|
7
|
-
colors: {
|
|
8
|
-
primary: '#FFB6C1',
|
|
9
|
-
text: '#4B4453',
|
|
10
|
-
text2: '#6D6875',
|
|
11
|
-
text3: '#A093A6',
|
|
12
|
-
text4: '#C9BBCF',
|
|
13
|
-
|
|
14
|
-
mainBG: '#FFF7FA',
|
|
15
|
-
overlayBG: '#FFFFFF',
|
|
16
|
-
backdrop: '#4B4453',
|
|
17
|
-
shadow: 'rgba(39, 45, 52, 0.15)',
|
|
18
|
-
divider: '#f0f0f0',
|
|
19
|
-
|
|
20
|
-
blue: '#A5B4FC',
|
|
21
|
-
yellow: '#FDE68A',
|
|
22
|
-
green: '#BBF7D0',
|
|
23
|
-
purple: '#E9D5FF',
|
|
24
|
-
orange: '#FED7AA',
|
|
25
|
-
cyan: '#BAE6FD',
|
|
26
|
-
red: '#FCA5A5',
|
|
27
|
-
navy: '#A5B4FC',
|
|
28
|
-
indigo: '#C7D2FE',
|
|
29
|
-
gray: '#E5E7EB',
|
|
30
|
-
brown: '#E0B084',
|
|
31
|
-
lylac: '#E9D5FF',
|
|
32
|
-
pink: '#FBCFE8',
|
|
33
|
-
},
|
|
34
|
-
})
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { mergeDeepRight } from 'ramda'
|
|
2
|
-
|
|
3
|
-
import { BASE_THEME } from './base'
|
|
4
|
-
|
|
5
|
-
export const SUNSET_GLOW_THEME = mergeDeepRight(BASE_THEME, {
|
|
6
|
-
label: 'Sunset',
|
|
7
|
-
|
|
8
|
-
colors: {
|
|
9
|
-
primary: '#FF6B6B',
|
|
10
|
-
text: '#4B372E',
|
|
11
|
-
text2: '#5C4033',
|
|
12
|
-
text3: '#8C5A43',
|
|
13
|
-
text4: '#B97A57',
|
|
14
|
-
|
|
15
|
-
mainBG: '#FFF5E6',
|
|
16
|
-
overlayBG: '#FFFAF1',
|
|
17
|
-
backdrop: '#331E0A',
|
|
18
|
-
shadow: 'rgba(39, 45, 52, 0.15)',
|
|
19
|
-
divider: '#f0f0f0',
|
|
20
|
-
|
|
21
|
-
blue: '#3B82F6',
|
|
22
|
-
yellow: '#FBBF24',
|
|
23
|
-
green: '#22C55E',
|
|
24
|
-
purple: '#A855F7',
|
|
25
|
-
orange: '#FB923C',
|
|
26
|
-
cyan: '#06B6D4',
|
|
27
|
-
red: '#DC2626',
|
|
28
|
-
navy: '#1E3A8A',
|
|
29
|
-
indigo: '#4F46E5',
|
|
30
|
-
gray: '#9CA3AF',
|
|
31
|
-
brown: '#92400E',
|
|
32
|
-
lylac: '#C084FC',
|
|
33
|
-
pink: '#F472B6',
|
|
34
|
-
},
|
|
35
|
-
})
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|