@kubit-ui-web/react-components
Version:
Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience
68 lines • 2.09 kB
JavaScript
import { CarouselArrowStateType } from '../../../../components/carousel/types/state';
import { COLORS } from '../../foundations/colors';
import { SIZES } from '../../foundations/sizes';
import { SPACINGS } from '../../foundations/spacings';
import { CarouselVariantType } from './variants';
const iconContainerTokens = {
display: 'flex',
align_items: 'center',
position: 'relative',
width: SIZES.size_250,
height: SIZES.size_250,
};
export const CAROUSEL_STYLES = {
[CarouselVariantType.DEFAULT]: {
container: {
gap: SPACINGS.spacing_300,
},
arrowAndCarouselContainer: {
gap: SPACINGS.spacing_150,
},
leftArrowIcon: {
width: SIZES.size_250,
height: '100%',
color: COLORS.ACCENT.color_accent_default_icon_100,
},
rightArrowIcon: {
width: SIZES.size_250,
height: '100%',
color: COLORS.ACCENT.color_accent_default_icon_100,
},
content: {
gap: SPACINGS.spacing_150,
},
[CarouselArrowStateType.DEFAULT]: {
arrowLeftIconContainer: {
...iconContainerTokens,
},
arrowRightIconContainer: {
...iconContainerTokens,
},
},
[CarouselArrowStateType.HOVER]: {
arrowLeftIconContainer: {
...iconContainerTokens,
},
arrowRightIconContainer: {
...iconContainerTokens,
},
},
[CarouselArrowStateType.PRESSED]: {
arrowLeftIconContainer: {
...iconContainerTokens,
},
arrowRightIconContainer: {
...iconContainerTokens,
},
},
[CarouselArrowStateType.DISABLED]: {
arrowLeftIconContainer: {
...iconContainerTokens,
},
arrowRightIconContainer: {
...iconContainerTokens,
},
},
},
};
//# sourceMappingURL=styles.js.map