diff --git a/project.json b/project.json index d431d60..624d737 100644 --- a/project.json +++ b/project.json @@ -7,7 +7,7 @@ "tags": [], "targets": { "build": { - "executor": "@angular-devkit/build-angular:browser", + "executor": "@nx/angular:browser-esbuild", "outputs": ["{options.outputPath}"], "options": { "outputPath": "dist/series-workspace", diff --git a/src/theme.less b/src/theme.less index 9101118..8e9eb28 100644 --- a/src/theme.less +++ b/src/theme.less @@ -1,25 +1,24 @@ // For more information: https://ng.ant.design/docs/customize-theme/en // -------- import official less file ----------- -@import '/node_modules/ng-zorro-antd/ng-zorro-antd.less'; -@imdb-yellow: #f5c518; // Color amarillo de IMDB -@imdb-black: #000000; // Negro -@imdb-grey: #f4f4f4; // Gris claro para fondos +@import '../node_modules/ng-zorro-antd/ng-zorro-antd.compact.less'; + +@imdb-yellow: #f5c518; +@imdb-black: #000000; +@imdb-grey: #f4f4f4; // -------- override less variables ----------- // View all variables: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/components/style/themes/default.less -// Sobrescribir variables de NG-ZORRO -@primary-color: @imdb-yellow; // Color primario -@layout-header-background: @imdb-black; // Color de fondo del header -@layout-body-background: @imdb-grey; // Color de fondo del contenido -@text-color: darken(@imdb-grey, 70%); // Color del texto -@heading-color: @imdb-black; // Color de los encabezados -@border-radius-base: 4px; // Radio de borde -@link-color: @imdb-yellow; // Color de los enlaces +@primary-color: @imdb-yellow; +@layout-header-background: @imdb-black; +@layout-body-background: @imdb-grey; +@text-color: darken(@imdb-grey, 70%); +@heading-color: @imdb-black; +@border-radius-base: 4px; +@link-color: @imdb-yellow; -// Otros colores de estado -@success-color: #52c41a; // Verde para éxitos -@warning-color: #faad14; // Amarillo para advertencias -@error-color: #f5222d; // Rojo para errores -@info-color: @primary-color; // Color para información, usa el color primario +@success-color: #52c41a; +@warning-color: #faad14; +@error-color: #f5222d; +@info-color: @primary-color;