From 47825f1be3d20ab137484aa62f6d2f3e2b97a235 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 4 Aug 2022 16:31:14 +0200 Subject: [PATCH] Override default color-indicator from shoelace --- api/js/etemplate/Layout/Et2Tabs/Et2Tabs.ts | 2 ++ api/js/etemplate/Styles/colorsDefStyles.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/api/js/etemplate/Layout/Et2Tabs/Et2Tabs.ts b/api/js/etemplate/Layout/Et2Tabs/Et2Tabs.ts index e126e9ba3e..47bd8bfe9f 100644 --- a/api/js/etemplate/Layout/Et2Tabs/Et2Tabs.ts +++ b/api/js/etemplate/Layout/Et2Tabs/Et2Tabs.ts @@ -13,6 +13,7 @@ import {et2_directChildrenByTagName, et2_filteredNodeIterator, et2_readAttrWithD import {css, PropertyValues} from "@lion/core"; import shoelace from "../../Styles/shoelace"; import {et2_createWidget} from "../../et2_core_widget"; +import {colorsDefStyles} from "../../Styles/colorsDefStyles"; export class Et2Tabs extends Et2Widget(SlTabGroup) @@ -21,6 +22,7 @@ export class Et2Tabs extends Et2Widget(SlTabGroup) { return [ ...super.styles, + colorsDefStyles, ...shoelace, css` .tab-group--top { diff --git a/api/js/etemplate/Styles/colorsDefStyles.ts b/api/js/etemplate/Styles/colorsDefStyles.ts index 1c8f7d2909..9616b1f1d1 100644 --- a/api/js/etemplate/Styles/colorsDefStyles.ts +++ b/api/js/etemplate/Styles/colorsDefStyles.ts @@ -36,5 +36,7 @@ export const colorsDefStyles = css` --bg_color_50_gray : #808080; --row_hover : rgba(153,204,255,.4); + + --indicator-color: #696969; } `; \ No newline at end of file