Skip to content

Commit

Permalink
use esbuild to build the app
Browse files Browse the repository at this point in the history
  • Loading branch information
oidacra committed Jan 27, 2024
1 parent 8fc56bc commit 22d0b3f
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
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
26 changes: 26 additions & 0 deletions src/theme.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// 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";
@import "../node_modules/ng-zorro-antd/ng-zorro-antd.compact.less";

@imdb-yellow: #f5c518; // Color amarillo de IMDB
@imdb-black: #000000; // Negro
@imdb-grey: #f4f4f4; // Gris claro para fondos

// -------- 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

// 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

0 comments on commit 22d0b3f

Please sign in to comment.