mirror of
https://github.com/infinilabs/coco-app.git
synced 2025-12-25 15:59:30 +01:00
Compare commits
2 Commits
center-122
...
placeholde
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fb90b53bda | ||
|
|
20597b2e86 |
@@ -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
2
src-tauri/Cargo.lock
generated
@@ -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",
|
||||
|
||||
@@ -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"
|
||||
@@ -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,
|
||||
}
|
||||
|
||||
26
src/main.css
26
src/main.css
@@ -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%;
|
||||
|
||||
Reference in New Issue
Block a user