More style cleanup

This commit is contained in:
nathan 2024-07-15 09:40:28 -06:00
parent 4b3e09092c
commit 844f64fffa
2 changed files with 16 additions and 17 deletions

View File

@ -130,7 +130,7 @@ export const ButtonMixin = <T extends Constructor>(superclass : T) => class exte
/* Override primary styling - we use variant=primary on first dialog button */ /* Override primary styling - we use variant=primary on first dialog button */
.button--standard.button--primary { .button--standard.button--primary {
background-color: hsl(240deg 5% 96%); background-color: var(--sl-color-gray-100);
border-color: var(--sl-color-gray-400); border-color: var(--sl-color-gray-400);
color: var(--sl-input-color-hover); color: var(--sl-input-color-hover);
} }

View File

@ -1,4 +1,3 @@
import sl_css from '@shoelace-style/shoelace/dist/themes/light.styles.js';
import {css} from "lit"; import {css} from "lit";
import {registerIconLibrary} from '@shoelace-style/shoelace/dist/utilities/icon-library.js'; import {registerIconLibrary} from '@shoelace-style/shoelace/dist/utilities/icon-library.js';
@ -38,7 +37,7 @@ if(typeof egw !== "undefined" && typeof egw.image == "function")
* Customise shoelace styles to match our stuff * Customise shoelace styles to match our stuff
* External CSS & widget styles will override this * External CSS & widget styles will override this
*/ */
export default [sl_css, css` export default [css`
:root, :root,
:host, :host,
.sl-theme-light { .sl-theme-light {
@ -54,9 +53,9 @@ export default [sl_css, css`
--indicator-color: #696969; --indicator-color: #696969;
--sl-input-focus-ring-color: #26537C; --sl-input-focus-ring-color: #26537C;
--sl-focus-ring-width: 2px; --sl-focus-ring-width: 2px;
--sl-color-gray-150: #f0f0f0; --sl-color-gray-150: hsl(240, 4.9%, 92.5%);
} }
.tab-group--top .tab-group__tabs { .tab-group--top .tab-group__tabs {
--track-width: 3px; --track-width: 3px;
} }