From 6afbd2ac0c90e40a3575259a248e4c774297254b Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Thu, 14 Sep 2023 19:27:43 +0200 Subject: [PATCH] Get rid of unused theme colors --- src/fontra/client/web-components/ui-form.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/fontra/client/web-components/ui-form.js b/src/fontra/client/web-components/ui-form.js index 6afc5629f..81bd90700 100644 --- a/src/fontra/client/web-components/ui-form.js +++ b/src/fontra/client/web-components/ui-form.js @@ -5,17 +5,8 @@ import * as html from "../core/unlit.js"; import { themeColorCSS } from "./theme-support.js"; import { RangeSlider } from "/web-components/range-slider.js"; -const colors = { - "ui-form-input-foreground-color": ["black", "white"], - "ui-form-input-background-color": ["white", "#333"], - "ui-form-input-border-color": ["#888", "#222"], - "slider-thumb-color": ["#444", "#bbb"], -}; - export class Form extends SimpleElement { static styles = ` - ${themeColorCSS(colors)} - .ui-form { display: grid; grid-template-columns: 32% auto;