Skip to content

Commit fc79b71

Browse files
Update theme
1 parent 3f3dd23 commit fc79b71

1 file changed

Lines changed: 22 additions & 2 deletions

File tree

kahuna/public/js/components/gr-cql-input/gr-cql-input.ts

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,28 @@ grCqlInput.directive<
5252
const typeahead = new Typeahead(fields);
5353

5454
const CqlInput = createCqlInput(typeahead, {
55-
theme: { baseFontSize: "14px", input: { layout: { padding: "2px" } } },
56-
lang: { operators: false, groups: false }
55+
theme: {
56+
baseFontSize: "14px",
57+
input: { layout: { padding: "2px 0" } },
58+
chipWrapper: {
59+
color: { background: "#333" },
60+
},
61+
chipContent: {
62+
layout: { padding: "2px" },
63+
},
64+
chipHandle: {
65+
color: {
66+
background: "none",
67+
border: "#444",
68+
},
69+
},
70+
typeahead: {
71+
layout: {
72+
width: "300px",
73+
},
74+
},
75+
},
76+
lang: { operators: false, groups: false },
5777
});
5878

5979
customElements.define("cql-input", CqlInput as any);

0 commit comments

Comments
 (0)