2 Commits

Author SHA1 Message Date
rain9
fb90b53bda style: adjust placeholder styles 2025-12-25 18:26:08 +08:00
SteveLauC
20597b2e86 feat: read localized names from root InfoPlist.strings (#1029)
* feat(mac): read localized names from root InfoPlist.strings

* release notes
2025-12-25 15:35:16 +08:00
5 changed files with 32 additions and 5 deletions

View File

@@ -14,6 +14,7 @@ Information about release notes of Coco App is provided here.
### 🚀 Features
- feat: support app search even if Spotlight is disabled #1028
- feat: read localized names from root InfoPlist.strings #1029
### 🐛 Bug fix
@@ -524,4 +525,4 @@ Information about release notes of Coco App is provided here.
### Bug fix
### Improvements
### Improvements

2
src-tauri/Cargo.lock generated
View File

@@ -332,7 +332,7 @@ checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61"
[[package]]
name = "applications"
version = "0.3.1"
source = "git+https://github.com/infinilabs/applications-rs?rev=ec174b7761bfa5eb7af0a93218b014e2d1505643#ec174b7761bfa5eb7af0a93218b014e2d1505643"
source = "git+https://github.com/infinilabs/applications-rs?rev=0b086c036b13178048252cddba2c46868a55352e#0b086c036b13178048252cddba2c46868a55352e"
dependencies = [
"anyhow",
"core-foundation 0.9.4",

View File

@@ -62,7 +62,7 @@ tauri-plugin-drag = "2"
tauri-plugin-macos-permissions = "2"
tauri-plugin-fs-pro = "2"
tauri-plugin-screenshots = "2"
applications = { git = "https://github.com/infinilabs/applications-rs", rev = "ec174b7761bfa5eb7af0a93218b014e2d1505643" }
applications = { git = "https://github.com/infinilabs/applications-rs", rev = "0b086c036b13178048252cddba2c46868a55352e" }
tokio-native-tls = "0.3" # For wss connections
tokio = { version = "1", features = ["full"] }
tokio-tungstenite = { version = "0.20", features = ["native-tls"] }
@@ -172,4 +172,4 @@ windows = { version = "0.61", features = ["Win32_Foundation", "Win32_System_Com"
windows-sys = { version = "0.61", features = ["Win32", "Win32_System", "Win32_System_Com"] }
[target."cfg(target_os = \"windows\")".build-dependencies]
bindgen = "0.72.1"
bindgen = "0.72.1"

View File

@@ -120,7 +120,7 @@ const AutoResizeTextarea = forwardRef<
autoCapitalize="none"
spellCheck="false"
className={cn(
"auto-resize-textarea text-base flex-1 outline-none w-full min-w-[200px] text-[#333] dark:text-[#d8d8d8] placeholder-text-xs placeholder-[#999] dark:placeholder-gray-500 bg-transparent custom-scrollbar resize-none overflow-y-auto",
"auto-resize-textarea text-base flex-1 outline-none w-full min-w-[200px] text-[#333] dark:text-[#d8d8d8] bg-transparent custom-scrollbar resize-none overflow-y-auto",
{
"overflow-y-hidden": lineCount === 1,
}

View File

@@ -300,6 +300,32 @@
background-color: #475569;
}
.coco-container .auto-resize-textarea::placeholder {
color: #999;
opacity: 1;
-webkit-text-fill-color: #999;
}
.dark.coco-container .auto-resize-textarea::placeholder,
[data-theme="dark"] .coco-container .auto-resize-textarea::placeholder {
color: #6b7280;
opacity: 1;
-webkit-text-fill-color: #6b7280;
}
.coco-container .auto-resize-textarea:disabled::placeholder {
color: #999;
opacity: 1;
-webkit-text-fill-color: #999;
}
.dark.coco-container .auto-resize-textarea:disabled::placeholder,
[data-theme="dark"] .coco-container .auto-resize-textarea:disabled::placeholder {
color: #6b7280;
opacity: 1;
-webkit-text-fill-color: #6b7280;
}
/* Background styles */
.bg-100 {
background-size: 100% 100%;