Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apps/docs/docs/customize/dark-mode/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ keyword: DarkModePage

## Enable dark mode

All you need to do is add `FlowbiteThemeDirective` as a `hostDirectives` in your `app.component.ts`.
All you need to do is add `Theme` as a `hostDirectives` in your `app.component.ts`.

```angular-ts
...
import { FlowbiteThemeDirective } from 'flowbite-angular/theme-toggle';
import { Theme } from 'flowbite-angular/theme-toggle';
...

@Component({
...
hostDirectives: [FlowbiteThemeDirective],
hostDirectives: [Theme],
})
export class AppComponent {
...
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/docs/getting-started/quickstart/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ npm install flowbite-angular
Make sure to use the flowbite-angular configuration preset in your styles.css

```css
@import 'tailwindcss' source('node_modules/flowbite-angular');
@import 'tailwindcss';

@source "src/";
@source "node_modules/flowbite-angular";
```
6 changes: 4 additions & 2 deletions apps/docs/public/css/styles.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
@custom-variant dark (&:where([data-theme=dark], [data-theme=dark] *));
@import 'tailwindcss';

@source "../../../../libs/flowbite-angular";

@import '../../../../libs/flowbite-angular/styles/flowbite-angular.css';
@custom-variant dark (&:where([data-theme=dark], [data-theme=dark] *));

@import './tw/fonts.css';

Expand Down
2 changes: 0 additions & 2 deletions libs/flowbite-angular/styles/flowbite-angular.css
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
@import 'tailwindcss';

@import './part/animation.css';