Refine new editor shell host and embedded icons

This commit is contained in:
2026-04-14 14:41:45 +08:00
parent 4ee1bcc599
commit 91c62c6b14
27 changed files with 768 additions and 124 deletions

View File

@@ -19,9 +19,9 @@ constexpr float kPadding = 8.0f;
constexpr float kLineHeight = 18.0f;
constexpr float kFontSize = 11.0f;
constexpr UIColor kSurfaceColor(0.205f, 0.205f, 0.205f, 1.0f);
constexpr UIColor kTextColor(0.840f, 0.840f, 0.840f, 1.0f);
constexpr UIColor kChannelColor(0.640f, 0.640f, 0.640f, 1.0f);
constexpr UIColor kSurfaceColor(0.10f, 0.10f, 0.10f, 1.0f);
constexpr UIColor kTextColor(0.860f, 0.860f, 0.860f, 1.0f);
constexpr UIColor kChannelColor(0.660f, 0.660f, 0.660f, 1.0f);
constexpr UIColor kEmptyColor(0.580f, 0.580f, 0.580f, 1.0f);
float ResolveTextTop(float rectY, float rectHeight, float fontSize) {