Skip to content

Commit

Permalink
[ACS-4795] Remove all custom CSS/CSS variables that already have defa…
Browse files Browse the repository at this point in the history
…ults in ADF (#3242)

* [ACS-4795] removed redundant css variables

* [ACS-4795] - removed pointless adf customisations
  • Loading branch information
nikita-web-ua committed Jun 5, 2023
1 parent f997226 commit e9dce5f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,10 @@
margin: 24px !important;
width: 95%;
border: 1px solid var(--theme-about-panel-border-color);
background-color: var(--theme-about-panel-background-color);
}

mat-expansion-panel-header {
display: flex;
height: 80px !important;
padding: 24px;
line-height: 32px;
}

Expand All @@ -31,8 +28,6 @@
font-weight: 700;
font-size: 14px;
line-height: 24px;
color: var(--theme-about-panel-title-color);
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
height: 32px !important;
line-height: 24px !important;
padding: 16px 0;
background: var(--theme-pagination-background-color);
}

.adf-pagination__range-block {
Expand Down
8 changes: 0 additions & 8 deletions projects/aca-content/src/lib/ui/variables/variables.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/* stylelint-disable scss/no-global-function-names */
@use '@angular/material' as mat;

$warn: map-get($custom-theme, warn);
$accent: map-get($custom-theme, accent);
$primary: map-get($custom-theme, primary);
$foreground: map-get($custom-theme, foreground);
$background: map-get($custom-theme, background);

Expand Down Expand Up @@ -42,11 +39,6 @@ $aca-user-initials-text-color: #212121;

// CSS Variables
$defaults: (
--theme-primary-color: mat.get-color-from-palette($primary),
--theme-primary-color-default-contrast: mat.get-color-from-palette($primary, default-contrast),
--theme-warn-color: mat.get-color-from-palette($warn),
--theme-accent-color: mat.get-color-from-palette($accent),
--theme-background-color: mat.get-color-from-palette($background, background),
--theme-text-color: mat.get-color-from-palette($foreground, text, 0.54),
--theme-text-bold-color: mat.get-color-from-palette($foreground, text, 0.87),
--theme-title-color: mat.get-color-from-palette($foreground, text, 0.87),
Expand Down

0 comments on commit e9dce5f

Please sign in to comment.