This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use windows::Win32::UI::WindowsAndMessaging::{GetCursorInfo, LoadCursorW, CURSORINFO, HCURSOR}; | |
// Different cursor types | |
use windows::Win32::UI::WindowsAndMessaging::{ | |
IDC_ARROW, IDC_CROSS, IDC_HAND, IDC_IBEAM, IDC_NO, IDC_SIZEALL, IDC_SIZENESW, | |
IDC_SIZENS, IDC_SIZENWSE, IDC_SIZEWE, IDC_UPARROW, IDC_WAIT, | |
}; | |
unsafe fn get_cursor_type_from_handle(cursor_handle: HCURSOR) -> &'static str { | |
let arrow_cursor = LoadCursorW(None, IDC_ARROW); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
/* Background colors */ | |
--background-primary: transparent; | |
--modal-background: rgba(20, 20, 20, 1); | |
--titlebar-background: transparent; | |
--titlebar-background-focused: transparent; | |
--tab-container-background: transparent; | |
--ribbon-background: transparent; | |
--background-secondary: transparent; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
--status-bar-background: transparent; | |
--status-bar-border-width: 0; | |
--status-bar-text-color: var(--text-faint); | |
--tab-radius: var(--radius-m); | |
--tab-radius-active: var(--radius-m); | |
--checkbox-size: 1.3em; | |
--ribbon-background: transparent; | |
--tab-outline-color: transparent; | |
--titlebar-background: transparent; |