From 5b1a92c861ac641e87eaff7fe7704aea4de8d114 Mon Sep 17 00:00:00 2001 From: Aliullov Vlad <91639107+GoodDayForSurf@users.noreply.github.com> Date: Mon, 23 Oct 2023 12:27:58 +0400 Subject: [PATCH] Add button "fluent theme" on selection page (#191) * Add "fluent theme" on selection page + fix styles --- src/app/app.module.ts | 2 ++ src/app/icons/icon-fluent/icon-fluent.component.css | 7 +++++++ src/app/icons/icon-fluent/icon-fluent.component.html | 6 ++++++ src/app/icons/icon-fluent/icon-fluent.component.ts | 8 ++++++++ src/app/index/index.component.html | 6 ++++++ src/index.html | 2 +- 6 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 src/app/icons/icon-fluent/icon-fluent.component.css create mode 100644 src/app/icons/icon-fluent/icon-fluent.component.html create mode 100644 src/app/icons/icon-fluent/icon-fluent.component.ts diff --git a/src/app/app.module.ts b/src/app/app.module.ts index e0389776..42a12c48 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -36,6 +36,7 @@ import { AppComponent } from './app.component'; import { IconBootstrapComponent } from './icons/icon-bootstrap/icon-bootstrap.component'; import { IconExportComponent } from './icons/icon-export/icon-export.component'; import { IconGenericComponent } from './icons/icon-generic/icon-generic.component'; +import { IconFluentComponent } from './icons/icon-fluent/icon-fluent.component'; import { IconMaterialComponent } from './icons/icon-material/icon-material.component'; import { IconMetadataComponent } from './icons/icon-metadata/icon-metadata.component'; import { IconThemeCircleComponent } from './icons/icon-theme-circle/icon-theme-circle.component'; @@ -83,6 +84,7 @@ import { HelpTooltipComponent } from './layouts/header/export-popup/help-tooltip IconThemesComponent, IconGenericComponent, IconMaterialComponent, + IconFluentComponent, IconMetadataComponent, IconExportComponent, IconBootstrapComponent, diff --git a/src/app/icons/icon-fluent/icon-fluent.component.css b/src/app/icons/icon-fluent/icon-fluent.component.css new file mode 100644 index 00000000..4885d3ab --- /dev/null +++ b/src/app/icons/icon-fluent/icon-fluent.component.css @@ -0,0 +1,7 @@ +.st0 { + fill: #2190F7; +} + +.st1 { + fill: #ffffff; +} diff --git a/src/app/icons/icon-fluent/icon-fluent.component.html b/src/app/icons/icon-fluent/icon-fluent.component.html new file mode 100644 index 00000000..2df0dc5b --- /dev/null +++ b/src/app/icons/icon-fluent/icon-fluent.component.html @@ -0,0 +1,6 @@ + diff --git a/src/app/icons/icon-fluent/icon-fluent.component.ts b/src/app/icons/icon-fluent/icon-fluent.component.ts new file mode 100644 index 00000000..0433ff9d --- /dev/null +++ b/src/app/icons/icon-fluent/icon-fluent.component.ts @@ -0,0 +1,8 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-icon-fluent', + templateUrl: './icon-fluent.component.html', + styleUrls: ['./icon-fluent.component.css'] +}) +export class IconFluentComponent { } diff --git a/src/app/index/index.component.html b/src/app/index/index.component.html index 65c65515..27512311 100644 --- a/src/app/index/index.component.html +++ b/src/app/index/index.component.html @@ -68,6 +68,12 @@