Skip to content

Commit d7667bc

Browse files
Merge pull request #3076 from Tony133/fix/update-color-for-illustrative-image
fix: update image color for dark mode in the "shared module" section.
2 parents 6058fa5 + c6b601c commit d7667bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/modules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Here is how our directory structure looks now:
7979

8080
In Nest, modules are **singletons** by default, and thus you can share the same instance of any provider between multiple modules effortlessly.
8181

82-
<figure><img src="/assets/Shared_Module_1.png" /></figure>
82+
<figure><img class="illustrative-image" src="/assets/Shared_Module_1.png" /></figure>
8383

8484
Every module is automatically a **shared module**. Once created it can be reused by any module. Let's imagine that we want to share an instance of the `CatsService` between several other modules. In order to do that, we first need to **export** the `CatsService` provider by adding it to the module's `exports` array, as shown below:
8585

0 commit comments

Comments
 (0)