Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

591 B
Raw Blame
import { createFontSizeStore } from './fontSizeStore';

const STORAGE_KEY = 'avibe.editor.fontSize.v1';

export const EDITOR_FONT_MIN = 9;
export const EDITOR_FONT_MAX = 24;
export const EDITOR_FONT_DEFAULT = 13;

const editorFontSize = createFontSizeStore(STORAGE_KEY, {
  min: EDITOR_FONT_MIN,
  max: EDITOR_FONT_MAX,
  default: EDITOR_FONT_DEFAULT,
});

export const getEditorFontSize = editorFontSize.get;
export const adjustEditorFontSize = editorFontSize.adjust;
export const resetEditorFontSize = editorFontSize.reset;
export const subscribeEditorFontSize = editorFontSize.subscribe;