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.

style(fonts): update FormaMacro font file (#23)

Nick Noble6dd732a2fe35
diff --git a/js/app/packages/app/asset/fonts/FormaDJRVariable.woff2 b/js/app/packages/app/asset/fonts/FormaDJRVariable.woff2
deleted file mode 100644
index 81c90fc4d3..0000000000
Binary files a/js/app/packages/app/asset/fonts/FormaDJRVariable.woff2 and /dev/null differ
diff --git a/js/app/packages/app/asset/fonts/FormaMacroVariable.woff2 b/js/app/packages/app/asset/fonts/FormaMacroVariable.woff2
index 49abdaaa72..c5523708c9 100644
Binary files a/js/app/packages/app/asset/fonts/FormaMacroVariable.woff2 and b/js/app/packages/app/asset/fonts/FormaMacroVariable.woff2 differ
diff --git a/js/app/packages/app/index.css b/js/app/packages/app/index.css
index 58d655f72d..c655fbd033 100644
--- a/js/app/packages/app/index.css
+++ b/js/app/packages/app/index.css
@@ -462,8 +462,7 @@
@theme default {
/* Font families */
- --font-sans: "Forma DJR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
- --font-sans--font-feature-settings: "ss03" on, "ss04" on, "calt", "liga", "rlig", "rvrn", "kern", "rclt";
+ --font-sans: "Forma Macro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
--font-mono: "Forma DJR Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
--font-mono--font-feature-settings: "ss03" on, "calt", "liga", "rlig", "rvrn", "kern", "rclt";
@@ -565,7 +564,6 @@
/* Need to set opsz here so that it will apply to MD */
font-variation-settings: "opsz" 11;
font-synthesis: none;
- font-stretch: 100%;
color: var(--color-ink);
}
@@ -576,12 +574,14 @@
}
@font-face {
- font-family: "Forma DJR";
- src: url("./asset/fonts/FormaDJRVariable.woff2") format("woff2");
- font-weight: 1 900;
- font-style: normal italic;
+ font-family: "Forma Macro";
+ src: url("./asset/fonts/FormaMacroVariable.woff2") format("woff2");
+ font-weight: 200 700;
+ font-style: oblique 0deg 13deg;
+ font-feature-settings: "ss17" on, "calt", "liga", "rlig", "rvrn", "kern", "rclt";
+
font-display: swap;
- ascent-override: 100%;
+ /* ascent-override: 100%; No longer needed but keeping just in case */
}
@font-face {
diff --git a/js/app/packages/core/component/FormControls/ToggleButton.tsx b/js/app/packages/core/component/FormControls/ToggleButton.tsx
index 5397bf4c20..c849e44d73 100644
--- a/js/app/packages/core/component/FormControls/ToggleButton.tsx
+++ b/js/app/packages/core/component/FormControls/ToggleButton.tsx
@@ -79,7 +79,7 @@ export const ToggleButton: ParentComponent<
>
{(state) => (
<div
- class="border border-ink min-w-[22px] font-medium font-stretch-80% text-center uppercase leading-none"
+ class="border border-ink min-w-[22px] font-medium font-mono text-center uppercase leading-none"
classList={{
[`${sizeClass[props.size || 'Base']}`]: true,
'bg-ink text-panel': state.pressed(),