AAE-34390 Clean old theming files (#10800)

This commit is contained in:
Denys Vuika
2025-04-22 18:30:30 -04:00
committed by GitHub
parent 4cfda763b6
commit d829d8eefb
26 changed files with 20 additions and 1041 deletions

View File

@@ -27,13 +27,3 @@ typings/
fonts/
i18n/
assets/
!/lib/prebuilt-themes/
!/lib/prebuilt-themes/adf-indigo-pink.css
!/lib/prebuilt-themes/adf-cyan-purple.css
!/lib/prebuilt-themes/adf-green-purple.css
!/lib/prebuilt-themes/adf-cyan-orange.css
!/lib/prebuilt-themes/adf-green-orange.css
!/lib/prebuilt-themes/adf-blue-purple.css
!/lib/prebuilt-themes/adf-blue-orange.css
!/lib/prebuilt-themes/adf-pink-bluegrey.css
!/lib/prebuilt-themes/adf-purple-green.css

View File

@@ -92,7 +92,7 @@
"styles": [
"node_modules/cropperjs/dist/cropper.min.css",
"node_modules/pdfjs-dist/web/pdf_viewer.css",
"lib/core/src/lib/styles/prebuilt/adf-blue-orange.scss"
"node_modules/@angular/material/prebuilt-themes/indigo-pink.css"
],
"stylePreprocessorOptions": {
"includePaths": ["lib", "lib/core/src/lib"]
@@ -124,19 +124,9 @@
]
}
},
"pretheme": {
"executor": "nx:run-commands",
"options": {
"commands": [
{
"command": "npx webpack -- --config ./lib/config/webpack.style.js --progress --profile --bail"
}
]
}
},
"npm-publish": {
"executor": "nx:run-commands",
"dependsOn": ["build", "pretheme", "build-schematics"],
"dependsOn": ["build", "build-schematics"],
"options": {
"cwd": "dist/libs/core",
"commands": [

View File

@@ -1 +0,0 @@
@import '../index';

View File

@@ -1,21 +0,0 @@
@use '@angular/material' as mat;
@import '../theming';
@import './all-theme';
@include mat.all-component-typographies;
@include mat.core;
$primary: mat.define-palette($alfresco-ecm-blue);
$accent: mat.define-palette($alfresco-accent-orange);
$warn: mat.define-palette($alfresco-warn);
$theme: mat.define-light-theme(
(
color: (
primary: $primary,
accent: $accent,
),
typography: $alfresco-typography
)
);
@include mat.all-component-themes($theme);
@include alfresco-material-theme($theme);

View File

@@ -1,21 +0,0 @@
@use '@angular/material' as mat;
@import '../theming';
@import './all-theme';
@include mat.all-component-typographies;
@include mat.core;
$primary: mat.define-palette(mat.$pink-palette, 700, 500, 900);
$accent: mat.define-palette($alfresco-accent-purple);
$warn: mat.define-palette($alfresco-warn);
$theme: mat.define-light-theme(
(
color: (
primary: $primary,
accent: $accent,
),
typography: $alfresco-typography
)
);
@include mat.all-component-themes($theme);
@include alfresco-material-theme($theme);

View File

@@ -1,21 +0,0 @@
@use '@angular/material' as mat;
@import '../theming';
@import './all-theme';
@include mat.all-component-typographies;
@include mat.core;
$primary: mat.define-palette($alfresco-ecm-cyan);
$accent: mat.define-palette($alfresco-accent-orange);
$warn: mat.define-palette($alfresco-warn);
$theme: mat.define-light-theme(
(
color: (
primary: $primary,
accent: $accent,
),
typography: $alfresco-typography
)
);
@include mat.all-component-themes($theme);
@include alfresco-material-theme($theme);

View File

@@ -1,21 +0,0 @@
@use '@angular/material' as mat;
@import '../theming';
@import './all-theme';
@include mat.all-component-typographies;
@include mat.core;
$primary: mat.define-palette($alfresco-ecm-cyan);
$accent: mat.define-palette($alfresco-accent-purple);
$warn: mat.define-palette($alfresco-warn);
$theme: mat.define-light-theme(
(
color: (
primary: $primary,
accent: $accent,
),
typography: $alfresco-typography
)
);
@include mat.all-component-themes($theme);
@include alfresco-material-theme($theme);

View File

@@ -1,21 +0,0 @@
@use '@angular/material' as mat;
@import '../theming';
@import './all-theme';
@include mat.all-component-typographies;
@include mat.core;
$primary: mat.define-palette($alfresco-bpm-green);
$accent: mat.define-palette($alfresco-accent-orange);
$warn: mat.define-palette($alfresco-warn);
$theme: mat.define-light-theme(
(
color: (
primary: $primary,
accent: $accent,
),
typography: $alfresco-typography
)
);
@include mat.all-component-themes($theme);
@include alfresco-material-theme($theme);

View File

@@ -1,21 +0,0 @@
@use '@angular/material' as mat;
@import '../theming';
@import './all-theme';
@include mat.all-component-typographies;
@include mat.core;
$primary: mat.define-palette($alfresco-bpm-green);
$accent: mat.define-palette($alfresco-accent-purple);
$warn: mat.define-palette($alfresco-warn);
$theme: mat.define-light-theme(
(
color: (
primary: $primary,
accent: $accent,
),
typography: $alfresco-typography
)
);
@include mat.all-component-themes($theme);
@include alfresco-material-theme($theme);

View File

@@ -1,22 +0,0 @@
/* stylelint-disable value-keyword-case */
@use '@angular/material' as mat;
@import '../theming';
@import './all-theme';
@include mat.all-component-typographies;
@include mat.core;
$primary: mat.define-palette(mat.$indigo-palette);
$accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
$warn: mat.define-palette($alfresco-warn);
$theme: mat.define-light-theme(
(
color: (
primary: $primary,
accent: $accent,
),
typography: $alfresco-typography
)
);
@include mat.all-component-themes($theme);
@include alfresco-material-theme($theme);

View File

@@ -1,22 +0,0 @@
/* stylelint-disable value-keyword-case */
@use '@angular/material' as mat;
@import '../theming';
@import './all-theme';
@include mat.all-component-typographies;
@include mat.core;
$primary: mat.define-palette(mat.$pink-palette, 700, 500, 900);
$accent: mat.define-palette(mat.$blue-grey-palette, A200, A100, A400);
$warn: mat.define-palette($alfresco-warn);
$theme: mat.define-dark-theme(
(
color: (
primary: $primary,
accent: $accent,
),
typography: $alfresco-typography
)
);
@include mat.all-component-themes($theme);
@include alfresco-material-theme($theme);

View File

@@ -1,22 +0,0 @@
/* stylelint-disable value-keyword-case */
@use '@angular/material' as mat;
@import '../theming';
@import './all-theme';
@include mat.all-component-typographies;
@include mat.core;
$primary: mat.define-palette(mat.$purple-palette, 700, 500, 800);
$accent: mat.define-palette(mat.$green-palette, A200, A100, A400);
$warn: mat.define-palette($alfresco-warn);
$theme: mat.define-dark-theme(
(
color: (
primary: $primary,
accent: $accent,
),
typography: $alfresco-typography
)
);
@include mat.all-component-themes($theme);
@include alfresco-material-theme($theme);