Themes as data: the settings and the rest of TikTok take a look (Stickers, Windows 95, or a theme a plugin brings with the right ui.theme); the DEBUG recovery mode (Clear cache in Android resets the look and puts the plugins in safe mode); new plugin functions (name.style, confetti and buzz on a tap); a few memory trims in the chat bubbles; the person list for bubbles no longer shows screen labels. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
10 lines
532 B
Python
10 lines
532 B
Python
# Пример 7: тема оформления. Тема только красит экраны мода и TikTok: она ничего не прячет и не двигает.
|
|
from lihont_ltp import *
|
|
|
|
plugin = Plugin("Закат", author="Вася", description="Тёмно-лиловый фон и тёплый акцент", license="MIT")
|
|
|
|
plugin.theme("Закат", page="#2b1d3a", card="#3d2b52", text="#fbe9ff", accent="#ff8a5b",
|
|
on_accent="#2b1d3a", dark=True, radius=20, outline=2, shadow=4)
|
|
|
|
plugin.save()
|