Skip to content

Commit

Permalink
Merge pull request #8 from oidacra/use-esbuild
Browse files Browse the repository at this point in the history
Use Esbuild to build the app
  • Loading branch information
oidacra authored Jan 27, 2024
2 parents 723989f + e51645c commit 0a3c07d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 18 deletions.
2 changes: 1 addition & 1 deletion project.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
33 changes: 16 additions & 17 deletions src/theme.less
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 0a3c07d

Please sign in to comment.