feat: custom Gradient theme with primary and secondary colors (#1309)

* feat: a custom Gradient theme with a primary and a secondary colour, picked with a wheel, sliders and a hex box

* Gradient theme: OK waits for a valid hex, deep blues are made paler, button text suits the worse gradient colour

* Gradient theme: nudge only the gradient colour that button text cannot read on

* fix: meet readable contrast across gradient themes

* fix: preserve contrast through gradient interpolation

---------

Co-authored-by: xXJsonDeruloXx <danielhimebauch@gmail.com>
This commit is contained in:
FX1922andxXJsonDeruloXx authored and GitHub committed 2026-10-22 10:26:53 -04:00
1 parent d2abaef2a3
commit 7482f797c7
43 files changed
+789 -5

No files matched your search

+8
View File
@@ -1390,6 +1390,14 @@
<string name="theme_icon_blue_detail">พื้นดำ ตัวอักษรขาว สีฟ้าสำหรับทุกสิ่งที่ถูกเลือก โฟกัส หรือกด</string>
<string name="theme_electric">กรมท่าไฟฟ้า</string>
<string name="theme_electric_detail">สีฟ้าสว่างขึ้น บนพื้นผิวที่เอียงไปทางกรมท่ามากกว่าเทา</string>
<string name="theme_gradient">ไล่เฉดสี</string>
<string name="theme_gradient_detail">สีหลักและสีรองที่คุณเลือกเอง ผสมกันบนปุ่มและส่วนที่เน้น</string>
<string name="theme_gradient_primary">สีหลัก</string>
<string name="theme_gradient_secondary">สีรอง</string>
<string name="theme_color_hue">เฉดสี</string>
<string name="theme_color_saturation">ความอิ่มตัว</string>
<string name="theme_color_brightness">ความสว่าง</string>
<string name="theme_color_hex">สีเลขฐานสิบหก</string>
<string name="pckb_key_esc">Esc</string>
<string name="pckb_key_ins">Ins</string>
<string name="pckb_key_del">Del</string>