Commit graph

114 commits

Author SHA1 Message Date
Timothy Jaeryang Baek
0eafc09965 refac: styling 2025-12-09 22:28:38 -05:00
Timothy Jaeryang Baek
3ebb3e2143 refac: styling 2025-11-30 03:56:12 -05:00
davecrab
7762fa5ddf
feat: Add adjustable text size setting to interface (#19186)
* Add adjustable text size setting to interface

Introduces a user-configurable text size (scale) setting, accessible via a slider in the interface settings. Updates CSS and Sidebar chat item components to respect the new --app-text-scale variable, and persists the setting in the store. Adds related i18n strings and ensures the text scale is applied globally and clamped to allowed values.

* Refactor text scale logic into utility module

Moved all text scale related constants and functions from components and stores into a new utility module (src/lib/utils/text-scale.ts). Updated imports and usage in Interface.svelte and index.ts to use the new module, improving code organization and reusability.

* Adjust sidebar chat scaling without extra classes

keep sidebar markup using existing Tailwind utility classes so chat items render identically pre-feature
move all text-scale sizing into app.css under the #sidebar-chat-item selectors
change the root font-size multiplier to use 1rem instead of an explicit 16px so browser/user preferences propagate

* Update Switch.svelte

Adjust toggles from fixed pixel to rem to scale with the text size

* Update Interface.svelte

Updated label from 'Text Scale' to 'UI Scale'.
Added padding around slider

* Update app.css

Added comments
2025-11-19 00:55:52 -05:00
Timothy Jaeryang Baek
fdc0f04a36 refac 2025-11-01 05:56:44 -04:00
Timothy Jaeryang Baek
a70bc52c34 chore: format 2025-10-26 19:33:39 -07:00
_00_
2f6a050325
Refactor dark mode select styles-more specific
Refactor dark mode select styles to be more specific and avoid interference with already classed select elements.
2025-10-26 15:05:42 +01:00
_00_
235ed8956c
UPD: Refactor dark select styles using Tailwind CSS classes
### UPD_Styles: Add dark mode styles for select elements and options.

Actually some select "boxes" have css dark theme support, but other not.
This PR add CSS for dark theme selects.
2025-10-26 09:40:05 +01:00
_00_
f06e2c1a4a
FIX:style_dark_mode_select_boxes
### UPD_Styles: Add dark mode styles for select elements and options.

Actually some select "boxes" have css dark theme support, but other not.
This PR add CSS for dark theme selects.
2025-10-25 13:35:58 +02:00
Timothy Jaeryang Baek
8f5eb03a40 refac: styling 2025-10-22 17:12:00 -04:00
Timothy Jaeryang Baek
9762ef3ef6 refac 2025-10-19 12:53:34 -04:00
Taylor Wilsdon
fbeff475cf restore visible scrollbar 2025-10-16 09:05:17 -04:00
Timothy Jaeryang Baek
aeb5288a3c refac 2025-09-22 23:28:19 -04:00
Timothy Jaeryang Baek
e4e97e727e enh: note drag handle 2025-09-22 20:02:37 -04:00
Timothy Jaeryang Baek
94770f6059 refac 2025-09-20 01:33:36 -05:00
Timothy Jaeryang Baek
aef1e06f0b refac: user status 2025-09-16 22:17:35 -05:00
Timothy Jaeryang Baek
b27243df81 refac 2025-09-16 21:47:08 -05:00
Timothy Jaeryang Baek
c744ae0d63 refac: styling 2025-09-15 14:55:05 -05:00
Timothy Jaeryang Baek
098f34f400 refac/enh: mention token rendering 2025-09-14 18:49:01 -04:00
Timothy Jaeryang Baek
22e11760a1 refac 2025-09-14 18:08:31 -04:00
Timothy Jaeryang Baek
926954f93b refac: styling 2025-09-03 18:37:25 +04:00
Timothy Jaeryang Baek
f4d2c6027a refac 2025-08-09 21:10:12 +04:00
Timothy Jaeryang Baek
0b68fc0a1b refac: styling 2025-08-08 04:10:58 +04:00
Timothy Jaeryang Baek
3af2938efc enh: note selection edit support 2025-07-19 16:35:03 +04:00
Timothy Jaeryang Baek
12edc3221e refac: styling 2025-07-12 22:14:41 +04:00
Timothy Jaeryang Baek
fb78bff3c0 refac 2025-07-12 21:39:31 +04:00
Timothy Jaeryang Baek
5b50f3cd69 chore: dep 2025-07-11 17:54:27 +04:00
Timothy Jaeryang Baek
6ee4274b3b enh: rich text input link 2025-07-09 13:29:27 +04:00
Timothy Jaeryang Baek
b615d13e46 refac: styling 2025-07-09 11:44:51 +04:00
Timothy Jaeryang Baek
0a3c448a52 refac: styling 2025-07-09 11:06:40 +04:00
Timothy Jaeryang Baek
a1ddbff744 refac: styling 2025-07-09 04:36:21 +04:00
Timothy Jaeryang Baek
04ac14463b refac: styling 2025-07-09 04:33:52 +04:00
Timothy Jaeryang Baek
c2ac797650 feat: formatting buttons 2025-07-09 03:11:51 +04:00
Timothy Jaeryang Baek
6bf218f720 refac: styling 2025-07-09 00:22:25 +04:00
Timothy Jaeryang Baek
248fd10406 enh: task list rich text input 2025-07-08 23:57:34 +04:00
Timothy Jaeryang Baek
8cd7de3740 refac: styling 2025-07-07 19:56:31 +04:00
Timothy Jaeryang Baek
aeafcc7903 refac: styling 2025-06-04 02:51:42 +04:00
Timothy Jaeryang Baek
33f2fdb91e refac: styling 2025-05-25 02:07:13 +04:00
Tim Jaeryang Baek
17263a294f
Merge pull request #14284 from diwakar-s-maurya/patch-7
feat: add support for table formatting in knowledge collection
2025-05-24 23:02:46 +04:00
Diwakar Singh Maurya
e31a7bcc4c feat: add support for table formatting in knowledge collection 2025-05-24 16:21:55 +00:00
Timothy Jaeryang Baek
261328077d refac 2025-05-24 17:20:40 +04:00
Timothy Jaeryang Baek
aebbc2593b refac: scrollbar thumb styling 2025-05-24 17:19:47 +04:00
Sine Jespersen
8eacd26573 add placeholder dark mode 2025-05-14 12:50:47 +02:00
Sine Jespersen
90bcf45b7b placeholder contrast changed 2025-05-14 10:24:09 +02:00
Timothy Jaeryang Baek
4c06683e95 refac: Vazirmatn 2025-05-12 00:05:04 +04:00
Timothy Jaeryang Baek
0f40cb0de4 feat: Vazirmatn font for Persian and Arabic languages 2025-05-07 22:31:59 +04:00
Timothy Jaeryang Baek
d5ee39de21 fix: katex display overflow issue 2025-04-12 18:27:23 -07:00
Timothy Jaeryang Baek
5fea0a2221 refac: styling 2025-04-10 21:52:03 -07:00
Timothy Jaeryang Baek
20211a489f refac 2025-04-06 16:57:36 -07:00
Taylor Wilsdon
1119b06678 Widen scrollbar so that it can be clicked and dragged with a mouse or trackpad 2025-03-17 13:00:55 -04:00
Timothy Jaeryang Baek
a6a7c548d5 refac: code block styling 2025-02-18 20:24:04 -08:00