From ebaf893b5a5f4689455debb5ea9ce252fe802c57 Mon Sep 17 00:00:00 2001 From: Mariela Tihova Date: Wed, 30 Oct 2024 11:53:44 +0200 Subject: [PATCH] Adding requested changes --- code-gen-library/WebGridRowEditingStyle/Blazor.js | 13 ++++--------- code-gen-library/WebGridRowEditingStyle/Web.ts | 11 +++-------- 2 files changed, 7 insertions(+), 17 deletions(-) diff --git a/code-gen-library/WebGridRowEditingStyle/Blazor.js b/code-gen-library/WebGridRowEditingStyle/Blazor.js index d1080365..4677a1d4 100644 --- a/code-gen-library/WebGridRowEditingStyle/Blazor.js +++ b/code-gen-library/WebGridRowEditingStyle/Blazor.js @@ -9,15 +9,10 @@ let requiredStyles = ` #grid { --ig-banner-banner-background: #292826; --ig-banner-banner-message-color: #ffcd0f; + --ig-button-foreground: #ffcd0f; + --ig-button-hover-foreground: white; + --ig-button-font-weight: 600; } - -#grid .igx-button { - color: #ffcd0f; -} - -#grid .igx-button:hover { - color: white; - font-weight: 600; -} + `; \ No newline at end of file diff --git a/code-gen-library/WebGridRowEditingStyle/Web.ts b/code-gen-library/WebGridRowEditingStyle/Web.ts index a3f0cb08..8e40cd95 100644 --- a/code-gen-library/WebGridRowEditingStyle/Web.ts +++ b/code-gen-library/WebGridRowEditingStyle/Web.ts @@ -12,16 +12,11 @@ export class WebGridRowEditingStyle { #grid { --ig-banner-banner-background: #292826; --ig-banner-banner-message-color: #ffcd0f; + --ig-button-foreground: #ffcd0f; + --ig-button-hover-foreground: white; + --ig-button-font-weight: 600; } -#grid .igx-button { - color: #ffcd0f; -} - -#grid .igx-button:hover { - color: white; - font-weight: 600; -} `; } \ No newline at end of file