[READ-ONLY] Mirror of https://github.com/probablykasper/remind-me-again. Toggleable cron reminders app for Mac, Linux and Windows
linux macos notifications reminder tauri windows
0

Configure Feed

Select the types of activity you want to include in your feed.

Fix white background on Windows/Linux

Kasper (Jul 24, 2022, 1:20 AM +0200) 515a8bc3 8eb4b5cd

+11 -12
+2 -2
src-tauri/Cargo.lock
··· 1486 1486 1487 1487 [[package]] 1488 1488 name = "mac-notification-sys" 1489 - version = "0.5.2" 1489 + version = "0.5.5" 1490 1490 source = "registry+https://github.com/rust-lang/crates.io-index" 1491 - checksum = "042f74a606175d72ca483e14e0873fe0f6c003f7af45865b17b16fdaface7203" 1491 + checksum = "fff231a88fe2e9985f9d159a2f02986fe46daa0f6af976a0d934be4870cc9d02" 1492 1492 dependencies = [ 1493 1493 "cc", 1494 1494 "dirs-next",
+1 -2
src-tauri/Cargo.toml
··· 29 29 macos-app-nap = "0.0.1" 30 30 cocoa = "0.24.0" 31 31 objc = "0.2.7" 32 - # https://github.com/h4llow3En/mac-notification-sys/issues/43 33 - mac-notification-sys = "=0.5.2" 32 + mac-notification-sys = "0.5.5" 34 33 35 34 [features] 36 35 default = [ "custom-protocol" ]
+7 -8
src-tauri/src/main.rs
··· 193 193 .title("Remind Me Again") 194 194 .inner_size(400.0, 550.0) 195 195 .min_inner_size(400.0, 200.0) 196 - .skip_taskbar(true) 197 196 .visible(false) // tauri_plugin_window_state reveals window 198 - .transparent(true) 199 - .build() 200 - .expect("Unable to create window"); 197 + .skip_taskbar(true); 198 + 199 + #[cfg(target_os = "macos")] 200 + let win = win.transparent(true); 201 + 202 + let win = win.build().expect("Unable to create window"); 201 203 202 204 #[cfg(target_os = "macos")] 203 205 { ··· 231 233 // set window background color 232 234 let bg_color = cocoa::appkit::NSColor::colorWithRed_green_blue_alpha_( 233 235 cocoa::base::nil, 234 - // 34.0 / 255.0 * 0.5, 235 - // 38.0 / 255.0 * 0.5, 236 - // 45.5 / 255.0 * 0.5, 237 - // 1.0, 236 + // also used in App.svelte 238 237 8.0 / 255.0, 239 238 9.0 / 255.0, 240 239 13.0 / 255.0,
+1
src/App.svelte
··· 101 101 font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji 102 102 font-size: 18px 103 103 color: #ffffff 104 + background-color: rgb(8, 9, 13) // also used in main.rs 104 105 </style>