generated from ita-social-projects/DevTemplate
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #785 from ita-social-projects/#784fix-toastify-styles
fix Bug css
- Loading branch information
Showing
3 changed files
with
52 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,48 @@ | ||
const customTheme = { | ||
components: { | ||
Carousel: { | ||
colorBgContainer: 'var(--carousel-color)', | ||
dotActiveWidth: 32, | ||
dotWidth: 32, | ||
dotHeight: 6, | ||
lineHeight: 1, | ||
}, | ||
Button: { | ||
defaultColor: 'var(--main-button-color)', | ||
colorPrimaryHover: 'var(--button-color-hover)', | ||
fontWeight: 600, | ||
contentFontSize: 16, | ||
fontFamilyCode: 'var(--font-main)', | ||
}, | ||
Radio: { | ||
colorPrimary: 'var(--radio-color)', | ||
borderRadius: 2, | ||
colorBorder: 'var(--radio-color-border)', | ||
buttonColor: 'var(--radio-button-color)', | ||
fontFamily: 'var(--font-main)', | ||
fontSize: 'var(-radio-font-size)', | ||
algorithm: true, | ||
}, | ||
Pagination: { | ||
colorPrimary: 'var(--pagination-color)', | ||
colorPrimaryHover: 'var(--pagination-color-hover)', | ||
}, | ||
Select: { | ||
colorPrimary: 'var(--select-primary-color)', | ||
borderRadiusSM: 'var(--select-border-radius)', | ||
optionPadding: 'var(--select-option-padding)', | ||
optionFontSize: 'var(--select-option-font-size)', | ||
optionLineHeight: 'var(--select-option-line-height)', | ||
optionSelectedBg: 'var(--select-option-selected-bg)', | ||
optionSelectedColor: 'var(--select-option-selected-color)', | ||
multipleItemBorderColor: 'var(--select-multiple-color)', | ||
multipleItemBg: 'var(--select-multiple-bg)', | ||
}, | ||
Checkbox: { | ||
colorPrimary: 'var(--checkbox-primary-color)', | ||
colorPrimaryHover: 'var(--checkbox-primary-hover-color)', | ||
} | ||
Carousel: { | ||
colorBgContainer: '#40af85', | ||
dotActiveWidth: 32, | ||
dotWidth: 32, | ||
dotHeight: 6, | ||
lineHeight: 1, | ||
}, | ||
Button: { | ||
defaultColor: '#1F9A7C', | ||
colorPrimaryHover: '#0b6c61', | ||
fontWeight: 600, | ||
contentFontSize: 16, | ||
fontFamilyCode: 'Inter', | ||
}, | ||
Radio: { | ||
colorPrimary: '#1f9a7c', | ||
borderRadius: 2, | ||
colorBorder: '#DEE1E8', | ||
buttonColor: '#25292C', | ||
fontFamily: 'Inter', | ||
fontSize: 16, | ||
algorithm: true, // Enable algorithm | ||
}, | ||
Pagination: { | ||
colorPrimary: '#1F9A7C', | ||
colorPrimaryHover: '#0b6c61', | ||
}, | ||
Select: { | ||
colorPrimary: '#1f9a7c', | ||
borderRadiusSM: '2px', | ||
optionPadding: '5px 12px', | ||
optionFontSize: 14, | ||
optionLineHeight: '22px', | ||
optionSelectedBg: '#EFFFF6', | ||
optionSelectedColor: '#25292C', | ||
multipleItemBorderColor: '#D9D9D9', | ||
multipleItemBg: '#F8F8F8', | ||
}, | ||
Checkbox: { | ||
colorPrimary: '#1f9a7c', | ||
colorPrimaryHover: '#1f9a7c', | ||
} | ||
}, | ||
}; | ||
}; | ||
|
||
export default customTheme; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters