From 7efe9d5950e4e4a894aa0e36630951a6d95fee8d Mon Sep 17 00:00:00 2001 From: Sercan Yemen <117369+srcn@users.noreply.github.com> Date: Thu, 19 Jan 2023 11:10:04 +0300 Subject: [PATCH] Fixed: Tooltip background color --- src/@fuse/styles/overrides/angular-material.scss | 14 ++++++++++++++ src/app/modules/admin/docs/changelog/changelog.ts | 6 ++++++ 2 files changed, 20 insertions(+) diff --git a/src/@fuse/styles/overrides/angular-material.scss b/src/@fuse/styles/overrides/angular-material.scss index 12a77e1b..99d2b488 100644 --- a/src/@fuse/styles/overrides/angular-material.scss +++ b/src/@fuse/styles/overrides/angular-material.scss @@ -1341,3 +1341,17 @@ textarea.mat-mdc-input-element { } } } + +/* -------------------------------------------------------------------------- */ +/* @ Tooltip +/* -------------------------------------------------------------------------- */ + +.mat-mdc-tooltip .mdc-tooltip__surface { + background-color: var(--fuse-text-default) !important; + color: white; + + .dark & { + background-color: var(--fuse-text-secondary) !important; + color: var(--fuse-bg-default) !important; + } +} diff --git a/src/app/modules/admin/docs/changelog/changelog.ts b/src/app/modules/admin/docs/changelog/changelog.ts index 25901631..a745bdbd 100644 --- a/src/app/modules/admin/docs/changelog/changelog.ts +++ b/src/app/modules/admin/docs/changelog/changelog.ts @@ -21,6 +21,12 @@ export class ChangelogComponent '(Dependencies) Updated Angular & Angular Material to v15.1.1', '(Dependencies) Updated various other packages' ] + }, + { + type: 'Fixed', + list: [ + '(Angular Material) Fixed: Tooltip background color is not correct', + ] } ] },