From 4378c6662cfea0362bc76b6b9c876470f4a174ba Mon Sep 17 00:00:00 2001 From: Mahmut Gundogdu Date: Mon, 3 Apr 2023 11:52:01 +0300 Subject: [PATCH 1/3] Remove preview tag and add theme-configuration link --- docs/en/Themes/LeptonXLite/Angular.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/docs/en/Themes/LeptonXLite/Angular.md b/docs/en/Themes/LeptonXLite/Angular.md index 950cd20c8b..c758c6a5c0 100644 --- a/docs/en/Themes/LeptonXLite/Angular.md +++ b/docs/en/Themes/LeptonXLite/Angular.md @@ -14,7 +14,7 @@ To add `LeptonX-lite` into your project, - Install `@abp/ng.theme.lepton-x` -`yarn add @abp/ng.theme.lepton-x@preview` +`yarn add @abp/ng.theme.lepton-x` - Install `bootstrap-icons` @@ -22,11 +22,8 @@ To add `LeptonX-lite` into your project, - Then, we need to edit the styles array in `angular.json` to replace the existing style with the new one. -Add the following style - -```json -"node_modules/bootstrap-icons/font/bootstrap-icons.css", -``` +Note: If you are moved from `ThemeBasic` or `Lepton`, you should remove the old styles from `angular.json` +Check the list of styles [Theme Configurations](../../UI/Angular/Theme-Configurations). When you change your styles on angular.json depend on your theme. - Finally, remove `ThemeBasicModule` from `app.module.ts`, and import the related modules in `app.module.ts` @@ -38,7 +35,7 @@ import { SideMenuLayoutModule } from "@abp/ng.theme.lepton-x/layouts"; imports: [ // ... - // do not forget to remove ThemeBasicModule + // do not forget to remove ThemeBasicModule or other old theme module // ThemeBasicModule.forRoot(), ThemeLeptonXModule.forRoot(), SideMenuLayoutModule.forRoot(), From b610daff6e140afa0f087181301a2cb691823061 Mon Sep 17 00:00:00 2001 From: Mahmut Gundogdu Date: Mon, 3 Apr 2023 13:53:00 +0300 Subject: [PATCH 2/3] update doc --- docs/en/Themes/LeptonXLite/Angular.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/en/Themes/LeptonXLite/Angular.md b/docs/en/Themes/LeptonXLite/Angular.md index c758c6a5c0..d1098d90d7 100644 --- a/docs/en/Themes/LeptonXLite/Angular.md +++ b/docs/en/Themes/LeptonXLite/Angular.md @@ -22,9 +22,8 @@ To add `LeptonX-lite` into your project, - Then, we need to edit the styles array in `angular.json` to replace the existing style with the new one. -Note: If you are moved from `ThemeBasic` or `Lepton`, you should remove the old styles from `angular.json` -Check the list of styles [Theme Configurations](../../UI/Angular/Theme-Configurations). When you change your styles on angular.json depend on your theme. - +Note: You should remove the old theme styles from "angular.json" if you are switching from "ThemeBasic" or "Lepton." +Look at the [Theme Configurations](../../UI/Angular/Theme-Configurations) list of styles. Depending on your theme, you can alter your styles in angular.json. - Finally, remove `ThemeBasicModule` from `app.module.ts`, and import the related modules in `app.module.ts` ```js From 832cd4b7e688828d674c5561104b5216191feeab Mon Sep 17 00:00:00 2001 From: Masum ULU <49063256+masumulu28@users.noreply.github.com> Date: Tue, 4 Apr 2023 13:45:21 +0300 Subject: [PATCH 3/3] Update Angular.md --- docs/en/Themes/LeptonXLite/Angular.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/en/Themes/LeptonXLite/Angular.md b/docs/en/Themes/LeptonXLite/Angular.md index ca56239435..3a82c77495 100644 --- a/docs/en/Themes/LeptonXLite/Angular.md +++ b/docs/en/Themes/LeptonXLite/Angular.md @@ -14,7 +14,9 @@ To add `LeptonX-lite` into your project, - Install `@abp/ng.theme.lepton-x` -`yarn add @abp/ng.theme.lepton-x` +```bash +yarn add @abp/ng.theme.lepton-x +``` - Install `bootstrap-icons`