Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

Add custom brush icon (#2351)

Aidan Holloway-Bidwell547719dd2f43
diff --git a/js/app/packages/block-theme/components/ThemeTools.tsx b/js/app/packages/block-theme/components/ThemeTools.tsx
index affe12e0ef..f875ec73ff 100644
--- a/js/app/packages/block-theme/components/ThemeTools.tsx
+++ b/js/app/packages/block-theme/components/ThemeTools.tsx
@@ -9,6 +9,7 @@ import IconTrash from '@macro-icons/macro-trash.svg';
import { randomizeTheme } from './ThemeEditorBasic';
import IconDice from '@macro-icons/macro-dice.svg';
import IconSave from '@macro-icons/macro-save.svg';
+import IconPaintbrush from '@macro-icons/wide/paintbrush.svg';
export function ThemeTools() {
let themeName!: HTMLDivElement;
@@ -37,7 +38,7 @@ export function ThemeTools() {
return (
<div
style={{
- 'grid-template-columns': `min-content 1fr repeat(${columnCount()}, min-content)`,
+ 'grid-template-columns': `min-content min-content 1fr repeat(${columnCount()}, min-content)`,
'padding': '0 12px 0 20px' /* (41 - 32) / 2 */,
'gap': '4.5px' /* (41 - 32) / 2 */,
'font-family': 'var( --font-mono)',
@@ -51,6 +52,10 @@ export function ThemeTools() {
'width': '100%',
}}
>
+ <div style="width: 18px; height: 18px; flex-shrink: 0; color: var(--color-text-muted)">
+ <IconPaintbrush />
+ </div>
+
<div
ref={themeName}
contentEditable
diff --git a/js/app/packages/macro-icons/wide/paintbrush.svg b/js/app/packages/macro-icons/wide/paintbrush.svg
new file mode 100644
index 0000000000..29a60865ba
--- /dev/null
+++ b/js/app/packages/macro-icons/wide/paintbrush.svg
@@ -0,0 +1,3 @@
+<svg width="100%" height="100%" viewBox="0 -3 18 18" fill="currentColor" stroke="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M17.79.09c-.13-.09-.3-.12-.46-.06l-2.16.76c-.12.04-.23.14-.29.26l-2,4.18-1.75-1.24c-.11-.08-.25-.11-.37-.08-.13.02-.25.1-.32.2l-1.62,2.29c-.14.2-.11.46.06.63-.78.42-2.37.47-3.46.35-.22-.02-.44.11-.52.32-.06.17-.03.35.08.49H0l3.75,3.82h6.69s.01,0,.02,0h.02s.07,0,.12,0h.02,0c.59-.04,2.56-.22,3.59-1.2.07.03.13.07.21.07.03,0,.06,0,.08,0,.13-.02.25-.1.32-.2l1.62-2.29c.16-.23.11-.54-.12-.7l-1.75-1.24,3.28-3.28c.09-.09.15-.22.15-.35V.5c0-.16-.08-.31-.21-.41ZM9.73,7.66l3.53,2.5.08.06c-.73.53-2.06.73-2.75.78l-3.61-2.57c.95-.04,2.06-.22,2.74-.77ZM15.34,8.19l-1.04,1.47-2.17-1.54-2.17-1.53s0,0,0,0l-.04-.03,1.04-1.48,1.82,1.29c.12.08.27.11.42.08.04,0,.08-.02.11-.04,0,.04,0,.08,0,.12.01.15.09.28.21.37l1.82,1.29ZM17,2.59l-3.36,3.36,2.05-4.28,1.3-.46v1.38Z"/>
+</svg>