Skip to content

A local-first personal finance app

:art: Update storybook fonts and brand image (#7536)

Michael Clark5bf160463cca
diff --git a/packages/component-library/.storybook/manager-head.html b/packages/component-library/.storybook/manager-head.html
index 5e01a16d90..c8647bb829 100644
--- a/packages/component-library/.storybook/manager-head.html
+++ b/packages/component-library/.storybook/manager-head.html
@@ -45,6 +45,27 @@
-->
<style>
+ /* Show logo icon next to brand title text */
+ .sidebar-header a[href='https://actualbudget.org'] {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ text-decoration: none;
+ font-weight: 700;
+ font-size: 16px;
+ }
+ .sidebar-header a[href='https://actualbudget.org']::before {
+ content: '';
+ display: inline-block;
+ width: 32px;
+ height: 32px;
+ min-width: 32px;
+ background-image: url('https://actualbudget.org/img/logo.webp');
+ background-size: contain;
+ background-repeat: no-repeat;
+ background-position: center;
+ }
+
#storybook-explorer-searchfield {
font-weight: 400 !important;
font-size: 14px !important;
diff --git a/packages/component-library/.storybook/manager.ts b/packages/component-library/.storybook/manager.ts
index a42b3d195c..b3f4d24701 100644
--- a/packages/component-library/.storybook/manager.ts
+++ b/packages/component-library/.storybook/manager.ts
@@ -16,7 +16,6 @@ const theme = create({
base: 'light',
brandTitle: 'Actual Budget',
brandUrl: 'https://actualbudget.org',
- brandImage: 'https://actualbudget.org/img/actual.webp',
brandTarget: '_blank',
// UI colors
@@ -32,7 +31,7 @@ const theme = create({
// Fonts
fontBase:
- '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',
+ '"Inter Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif',
fontCode: 'ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace',
// Text colors
diff --git a/upcoming-release-notes/7536.md b/upcoming-release-notes/7536.md
new file mode 100644
index 0000000000..083decd1b7
--- /dev/null
+++ b/upcoming-release-notes/7536.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [MikesGlitch]
+---
+
+Update storybook logo and fonts to match the docs site