Override default color-indicator from shoelace

This commit is contained in:
Hadi Nategh 2022-08-04 16:31:14 +02:00
parent de699325a6
commit 47825f1be3
2 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,7 @@ import {et2_directChildrenByTagName, et2_filteredNodeIterator, et2_readAttrWithD
import {css, PropertyValues} from "@lion/core"; import {css, PropertyValues} from "@lion/core";
import shoelace from "../../Styles/shoelace"; import shoelace from "../../Styles/shoelace";
import {et2_createWidget} from "../../et2_core_widget"; import {et2_createWidget} from "../../et2_core_widget";
import {colorsDefStyles} from "../../Styles/colorsDefStyles";
export class Et2Tabs extends Et2Widget(SlTabGroup) export class Et2Tabs extends Et2Widget(SlTabGroup)
@ -21,6 +22,7 @@ export class Et2Tabs extends Et2Widget(SlTabGroup)
{ {
return [ return [
...super.styles, ...super.styles,
colorsDefStyles,
...shoelace, ...shoelace,
css` css`
.tab-group--top { .tab-group--top {

View File

@ -36,5 +36,7 @@ export const colorsDefStyles = css`
--bg_color_50_gray : #808080; --bg_color_50_gray : #808080;
--row_hover : rgba(153,204,255,.4); --row_hover : rgba(153,204,255,.4);
--indicator-color: #696969;
} }
`; `;