Skip to content

Commit

Permalink
[ACS-5551] update style
Browse files Browse the repository at this point in the history
  • Loading branch information
AnukritiGL committed Oct 12, 2023
1 parent 83cde6a commit 958b307
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,9 @@ describe('DetailsComponent', () => {
fixture.whenStable().then(() => {
expect(component.aspectActions).toEqual(mockAspectActions);
});
it('should return the icon when getInfoDrawerIcon is called', () => {
});

it('should return the icon when getNodeIcon is called', () => {
const expectedIcon = 'assets/images/ft_ic_folder';
spyOn(component['nodeActionsService'], 'getNodeIcon').and.returnValue(expectedIcon);
fixture.detectChanges();
Expand Down
22 changes: 12 additions & 10 deletions projects/aca-content/src/lib/ui/variables/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@ $page-layout-header-background-color: #fff;
$search-chip-icon-color: #757575;
$disabled-chip-background-color: #f5f5f5;
$contrast-gray: #646569;
$adf-metadata-property-panel-border-color: rgba(0, 0, 0, 0.12);
$adf-metadata-buttons-background-color: rgba(33, 33, 33, 0.05);
$adf-metadata-property-panel-text-color: rgba(33, 35, 40, 0.7);
$adf-metadata-property-panel-label-color: rgba(33, 33, 33, 0.24);
$metadata-property-panel-border-color: rgba(0, 0, 0, 0.12);
$metadata-buttons-background-color: rgba(33, 33, 33, 0.05);
$metadata-action-button-clear-color: #212328b2;
$metadata-property-panel-text-color: rgba(33, 35, 40, 0.7);
$metadata-property-panel-label-color: rgba(33, 33, 33, 0.24);

// CSS Variables
$defaults: (
Expand Down Expand Up @@ -80,12 +81,13 @@ $defaults: (
--theme-page-layout-header-background-color: $page-layout-header-background-color,
--theme-search-chip-icon-color: $search-chip-icon-color,
--theme-disabled-chip-background-color: $disabled-chip-background-color,
--theme-contrast-gray: $contrast-gray
--adf-metadata-property-panel-border-color: $adf-metadata-property-panel-border-color,
--adf-metadata-buttons-background-color: $adf-metadata-buttons-background-color,
--adf-metadata-property-panel-title-color: $selected-text-color,
--adf-metadata-property-panel-text-color: $adf-metadata-property-panel-text-color,
--adf-metadata-property-panel-label-color: $adf-metadata-property-panel-label-color
--theme-contrast-gray: $contrast-gray,
--theme-metadata-property-panel-border-color: $metadata-property-panel-border-color,
--theme-metadata-buttons-background-color: $metadata-buttons-background-color,
--theme-metadata-action-button-clear-color: $metadata-action-button-clear-color,
--theme-metadata-property-panel-title-color: $selected-text-color,
--theme-metadata-property-panel-text-color: $metadata-property-panel-text-color,
--theme-metadata-property-panel-label-color: $metadata-property-panel-label-color
);

// propagates SCSS variables into the CSS variables scope
Expand Down

0 comments on commit 958b307

Please sign in to comment.