Skip to content

Commit 03e846b

Browse files
authored
Merge pull request #24017 from abpframework/issue/24016
Angular - Fixing the lepton theme customization document
2 parents 5f24e3a + 595e829 commit 03e846b

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

docs/en/ui-themes/lepton/customizing-lepton-theme.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,16 @@ export const appConfig: ApplicationConfig = {
4545

4646
Import your style file to `src/style.scss`
4747

48-
```css
48+
```scss
49+
/* style.scss */
50+
@import 'your-custom-style';
51+
```
52+
53+
or
54+
55+
```scss
4956
/* style.scss */
50-
import 'your-custom-style';
57+
@use 'your-custom-style';
5158
```
5259

5360
Or add your style file to the `styles` arrays which in `angular.json` file

0 commit comments

Comments
 (0)