AAE-34458 Cleanup deprecated styles, bug fixes (#10819)

This commit is contained in:
Denys Vuika 2025-04-24 10:10:46 -04:00 committed by GitHub
parent f34bbf59be
commit 7b67c7cf3a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7 additions and 83 deletions

View File

@ -1,73 +0,0 @@
/* stylelint-disable */
// Accent color palette
$black-87-opacity: rgba(black, 0.87);
$white-87-opacity: rgba(white, 0.87);
// [AAE-34457] TODO: move to the alfresco-applications: apps/admin-cc/src/custom-style.scss
$alfresco-warn: (
50: #ffebee,
100: #ffcdd2,
200: #ef9a9a,
300: #e57373,
400: #ef5350,
500: #f44336,
600: #e53935,
700: #d32f2f,
800: #c62828,
900: #b71c1c,
A100: #ff8a80,
A200: #ff5252,
A400: #ff1744,
A700: #c95100,
contrast: (
50: $black-87-opacity,
100: $black-87-opacity,
200: $black-87-opacity,
300: $black-87-opacity,
400: $black-87-opacity,
500: white,
600: white,
700: white,
800: $white-87-opacity,
900: $white-87-opacity,
A100: $black-87-opacity,
A200: white,
A400: white,
A700: white
)
);
// [AAE-34458] TODO: move to HxP: apps/admin-apa/src/custom-style.scss
$alfresco-accent-orange: (
50: #fff3e0,
100: #ffe0b2,
200: #ffcc80,
300: #ffb74d,
400: #ffa726,
500: #ff9800,
600: #fb8c00,
700: #f57c00,
800: #ef6c00,
900: #e65100,
A100: #ffd180,
A200: #ffab40,
A400: #ff9100,
A700: #ff6d00,
contrast: (
50: $white-87-opacity,
100: $white-87-opacity,
200: $white-87-opacity,
300: $white-87-opacity,
400: $white-87-opacity,
500: $white-87-opacity,
600: $white-87-opacity,
700: $white-87-opacity,
800: white,
900: white,
A100: $black-87-opacity,
A200: $black-87-opacity,
A400: $black-87-opacity,
A700: black
)
);
/* stylelint-enable */

View File

@ -1,16 +1,15 @@
/* stylelint-disable value-keyword-case */ /* stylelint-disable value-keyword-case */
@use '@angular/material' as mat; @use '@angular/material' as mat;
@use '@mat-datetimepicker/core/datetimepicker/datetimepicker-theme';
/* stylelint-disable value-list-max-empty-lines */ /* stylelint-disable value-list-max-empty-lines */
/* stylelint-disable scss/no-global-function-names */ /* stylelint-disable scss/no-global-function-names */
/* stylelint-disable scss/at-import-partial-extension */ /* stylelint-disable scss/at-import-partial-extension */
@import '../styles/colors'; @import './mixins';
@import '../styles/mixins'; @import './mat-selectors';
@import '../styles/mat-selectors';
@import '../form/components/widgets/form.theme'; @import '../form/components/widgets/form.theme';
@import '../clipboard/clipboard.theme'; @import '../clipboard/clipboard.theme';
@import './snackbar.theme'; @import './snackbar.theme';
@import './material.theme'; @import './material.theme';
@import '../../../../../node_modules/@mat-datetimepicker/core/datetimepicker/datetimepicker-theme';
@mixin alfresco-material-theme($theme) { @mixin alfresco-material-theme($theme) {
@include adf-core-theme($theme); @include adf-core-theme($theme);

View File

@ -1,5 +1,3 @@
@import '../styles/colors'; @import './mixins';
@import '../styles/mixins'; @import './typography';
@import '../styles/typography'; @import './mat-selectors';
@import '../styles/mat-selectors';

View File

@ -1,7 +1,7 @@
@use '@angular/material' as mat; @use '@angular/material' as mat;
$alfresco-typography: mat.define-typography-config( $alfresco-typography: mat.define-typography-config(
$font-family: 'Muli, Roboto, "Helvetica Neue", sans-serif', $font-family: 'Roboto, "Helvetica Neue", sans-serif',
$headline-1: mat.define-typography-level(112px, 112px, 300), $headline-1: mat.define-typography-level(112px, 112px, 300),
$headline-2: mat.define-typography-level(56px, 56px, 400), $headline-2: mat.define-typography-level(56px, 56px, 400),
$headline-3: mat.define-typography-level(45px, 48px, 400), $headline-3: mat.define-typography-level(45px, 48px, 400),