From 53b3f5cc37826b10d292eb3ad48ddd0d0a70657c Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Mon, 30 Dec 2024 10:28:44 -0500 Subject: [PATCH] use codicons --- frontend/app/element/search.scss | 7 ++----- frontend/app/element/search.tsx | 6 +++--- public/fontawesome/css/custom-icons.min.css | 2 +- .../fontawesome/webfonts/custom-icons.woff2 | Bin 1448 -> 1856 bytes 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/frontend/app/element/search.scss b/frontend/app/element/search.scss index bb1fd15d1..42869105c 100644 --- a/frontend/app/element/search.scss +++ b/frontend/app/element/search.scss @@ -49,13 +49,10 @@ } .additional-buttons { - gap: 2px; + gap: 1px; padding-left: 5px; button { - font-size: 10px; - i { - margin: 1px; - } + font-size: 14px; } } } diff --git a/frontend/app/element/search.tsx b/frontend/app/element/search.tsx index 15dfa7221..1081da939 100644 --- a/frontend/app/element/search.tsx +++ b/frontend/app/element/search.tsx @@ -136,9 +136,9 @@ const SearchComponent = ({ click: () => setIsOpen(false), }; - const regexDecl = createToggleButtonDecl(regexAtom, "asterisk", "Regular Expression"); - const wholeWordDecl = createToggleButtonDecl(wholeWordAtom, "w", "Whole Word"); - const caseSensitiveDecl = createToggleButtonDecl(caseSensitiveAtom, "font-case", "Case Sensitive"); + const regexDecl = createToggleButtonDecl(regexAtom, "custom@regex", "Regular Expression"); + const wholeWordDecl = createToggleButtonDecl(wholeWordAtom, "custom@whole-word", "Whole Word"); + const caseSensitiveDecl = createToggleButtonDecl(caseSensitiveAtom, "custom@case-sensitive", "Case Sensitive"); return ( <> diff --git a/public/fontawesome/css/custom-icons.min.css b/public/fontawesome/css/custom-icons.min.css index 78afccc25..49676f454 100644 --- a/public/fontawesome/css/custom-icons.min.css +++ b/public/fontawesome/css/custom-icons.min.css @@ -1 +1 @@ -@charset "utf-8";.fak.fa-wave-logo-outline,.fa-kit.fa-wave-logo-outline{--fa:"";--fa--fa:""}.fak.fa-wave-logo-solid,.fa-kit.fa-wave-logo-solid{--fa:"";--fa--fa:""}.fak,.fa-kit{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:var(--fa-display,inline-block);font-variant:normal;text-rendering:auto;font-family:Font Awesome Kit;font-style:normal;font-weight:400;line-height:1}.fak:before,.fa-kit:before{content:var(--fa)}@font-face{font-family:Font Awesome Kit;font-style:normal;font-display:block;src:url(../webfonts/custom-icons.woff2)format("woff2"),url(../webfonts/custom-icons.ttf)format("truetype")} \ No newline at end of file +@charset "utf-8";.fak.fa-case-sensitive,.fa-kit.fa-case-sensitive{--fa:"";--fa--fa:""}.fak.fa-regex,.fa-kit.fa-regex{--fa:"";--fa--fa:""}.fak.fa-wave-logo-outline,.fa-kit.fa-wave-logo-outline{--fa:"";--fa--fa:""}.fak.fa-wave-logo-solid,.fa-kit.fa-wave-logo-solid{--fa:"";--fa--fa:""}.fak.fa-whole-word,.fa-kit.fa-whole-word{--fa:"";--fa--fa:""}.fak,.fa-kit{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:var(--fa-display,inline-block);font-variant:normal;text-rendering:auto;font-family:Font Awesome Kit;font-style:normal;font-weight:400;line-height:1}.fak:before,.fa-kit:before{content:var(--fa)}@font-face{font-family:Font Awesome Kit;font-style:normal;font-display:block;src:url(../webfonts/custom-icons.woff2)format("woff2"),url(../webfonts/custom-icons.ttf)format("truetype")} \ No newline at end of file diff --git a/public/fontawesome/webfonts/custom-icons.woff2 b/public/fontawesome/webfonts/custom-icons.woff2 index aece50c2a902daf3e0bd03ad76c534d115701c6f..822af88c1d33c02a61978925f3cac080bbfebc52 100644 GIT binary patch delta 1849 zcmV-92gdlQ3&0K=cTYw#00961000L-015yA000Yz000L1001?S8yFS30X)`B_6ilk_QIRYN7DN+q(??wmZwU#oxspu`{cXZPF@oc15o#UB8w ze)ZM|e?2x@9*O(t2!IWc!35CJ@(2(Q0D!oUR_Y8%>LiJ8zyekU2#~`~;n8bhLC~di zKY$C?+x-VCcp)HQ86?Z7fm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