-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Refactor conditional styles in conguration componets to common …
…branding styles (#1166) * common main page padding style conversion
- Loading branch information
1 parent
d6a7307
commit dac3bf2
Showing
21 changed files
with
70 additions
and
41 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,15 +1,22 @@ | ||
import { BrandingConfiguration } from "../core/models/branding/branding-configuration.model"; | ||
import config from './config.json'; | ||
|
||
export const brandingConfig: BrandingConfiguration = config as BrandingConfiguration; | ||
|
||
export const c1Styles = { | ||
common: { | ||
configurationContents: 'tw-mx-60-px tw-shadow-shadow-level-1', | ||
mainComponentPadding: 'tw-px-60-px', | ||
mainComponentShadow: 'tw-shadow-shadow-level-1' | ||
mainComponentShadow: 'tw-shadow-shadow-level-1', | ||
inputLabelTextStyle: 'tw-pt-4-px', | ||
configurationBrandingClass: 'co' | ||
}, | ||
mapping: { | ||
mappingHeaderBoxShadow: 'tw-shadow-shadow-level-1' | ||
}, | ||
configuration: { | ||
importSvgPadding: 'tw-pt-16-px', | ||
importFieldDependentField: 'tw-pr-24-px tw-pl-[58px]', | ||
importFieldDependentFieldSvg: 'tw-pt-42-px', | ||
importFieldDropDownText: '!tw-font-600 tw-text-12-px', | ||
stepHeaderH3Text: 'tw-text-18-px' | ||
}, | ||
dashboard: { | ||
dashboardErrorResolveBtnText: 'p-button primary-outline' | ||
} | ||
}; |
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,15 +1,22 @@ | ||
import { BrandingConfiguration } from "../core/models/branding/branding-configuration.model"; | ||
import config from './config.json'; | ||
|
||
export const brandingConfig: BrandingConfiguration = config as BrandingConfiguration; | ||
|
||
export const fyleStyles = { | ||
common: { | ||
configurationContents: 'tw-mx-120-px tw-shadow-app-card', | ||
mainComponentPadding: 'tw-px-120-px', | ||
mainComponentShadow: 'tw-shadow-app-card' | ||
mainComponentShadow: 'tw-shadow-app-card', | ||
inputLabelTextStyle: 'tw-pt-8-px', | ||
configurationBrandingClass: 'fyle' | ||
}, | ||
mapping: { | ||
mappingHeaderBoxShadow: 'tw-shadow-stats-box' | ||
}, | ||
configuration: { | ||
importSvgPadding: 'tw-pt-18-px', | ||
importFieldDependentField: '', | ||
importFieldDependentFieldSvg: 'tw-pt-46-px', | ||
importFieldDropDownText: '!tw-font-400 tw-text-14-px', | ||
stepHeaderH3Text: '' | ||
}, | ||
dashboard: { | ||
dashboardErrorResolveBtnText: 'p-button secondary-sm' | ||
} | ||
}; |
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
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
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
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
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
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
Oops, something went wrong.