Skip to content

Commit

Permalink
fix: multiple typo
Browse files Browse the repository at this point in the history
  • Loading branch information
MGREMY committed Oct 31, 2024
1 parent a3d9611 commit 96343bb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions libs/flowbite-angular/core/flowbite.theme.init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ import {
NavbarItemThemeService,
navbarTheme,
NavbarThemeService,
navbarToggleTheme,
NavbarToggleThemeService,
navbarToogleTheme,
} from 'flowbite-angular/navbar';
import {
FLOWBITE_SCROLL_TOP_THEME_TOKEN,
Expand Down Expand Up @@ -341,7 +341,7 @@ export function initFlowbite(): EnvironmentProviders {
},
{
provide: FLOWBITE_NAVBAR_TOGGLE_THEME_TOKEN,
useValue: navbarToogleTheme,
useValue: navbarToggleTheme,
},
{
provide: FLOWBITE_NAVBAR_ICON_BUTTON_THEME_TOKEN,
Expand Down
2 changes: 1 addition & 1 deletion libs/flowbite-angular/navbar/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export type {
NavbarToggleClass,
NavbarToggleProperties,
} from './navbar-toggle.theme';
export { navbarToogleTheme } from './navbar-toggle.theme';
export { navbarToggleTheme } from './navbar-toggle.theme';
export {
FLOWBITE_NAVBAR_TOGGLE_THEME_TOKEN,
NavbarToggleThemeService,
Expand Down
2 changes: 1 addition & 1 deletion libs/flowbite-angular/navbar/navbar-toggle.theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export interface NavbarToggleTheme {
/**
* Default theme for `NavbarToggleComponent`
*/
export const navbarToogleTheme: NavbarToggleTheme = createTheme({
export const navbarToggleTheme: NavbarToggleTheme = createTheme({
root: {
base: 'cursor-pointer inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600',
},
Expand Down
2 changes: 1 addition & 1 deletion libs/flowbite-angular/scroll-top/scroll-top.theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export interface ScrollTopPositions extends Omit<FlowbitePositions, 'center'> {
* Required properties for the class generation for `ScrollTopComponent`
*/
export interface ScrollTopProperties {
color: keyof ScrollTopPositions;
color: keyof ScrollTopColors;
position: keyof ScrollTopPositions;
customStyle: DeepPartial<ScrollTopTheme>;
}
Expand Down

0 comments on commit 96343bb

Please sign in to comment.