Skip to content

Commit

Permalink
chore: update examples and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nzbin committed Oct 30, 2023
1 parent 630b112 commit 30467a9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,14 @@ export class YourAppModule {
}
```

Define a theme with Angular Material's theming system. [Guide about theming](https://material.angular.io/guide/theming).
Define a theme with Angular Material's theming system. [More about theming](https://material.angular.io/guide/theming).

```scss
@use '@angular/material' as mat;
@use '@acrodata/gui' as gui;

@include mat.core();

$primary: mat.define-palette(...);
$accent: mat.define-palette(...);
$theme: mat.define-light-theme(...);

@include gui.all-control-themes($theme);
Expand Down
2 changes: 1 addition & 1 deletion projects/dev-app/src/app/examples/examples.component.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
main {
display: grid;
grid-template-columns: 300px 1fr;
grid-template-columns: 320px 1fr;
gap: 16px;
height: 100%;
padding: 16px;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
main {
display: grid;
grid-template-columns: 1fr 300px 1fr;
grid-template-columns: 1fr 320px 1fr;
gap: 16px;
height: 100%;
padding: 16px;
Expand Down
4 changes: 1 addition & 3 deletions projects/gui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,14 @@ export class YourAppModule {
}
```

Define a theme with Angular Material's theming system. [Guide about theming](https://material.angular.io/guide/theming).
Define a theme with Angular Material's theming system. [More about theming](https://material.angular.io/guide/theming).

```scss
@use '@angular/material' as mat;
@use '@acrodata/gui' as gui;

@include mat.core();

$primary: mat.define-palette(...);
$accent: mat.define-palette(...);
$theme: mat.define-light-theme(...);

@include gui.all-control-themes($theme);
Expand Down

0 comments on commit 30467a9

Please sign in to comment.