ReviewOS

also looking at this

stacks/vite-plugin-tauri

feat: call custom window on tray icon event

#13
Open iamzjohn wants to merge feat/custom_window into main
43 files +5245 -1
examples/tray-with-custom-tray-menu-window/src/style.cssadded+95-0
Changes to examples/tray-with-custom-tray-menu-window/src/style.css
@@ -0,0 +1,95 @@
1:root {
2 font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
3 line-height: 1.5;
4 font-weight: 400;
5
6 color-scheme: light dark;
7 color: rgba(255, 255, 255, 0.87);
8 background-color: #242424;
9
10 font-synthesis: none;
11 text-rendering: optimizeLegibility;
12 -webkit-font-smoothing: antialiased;
13 -moz-osx-font-smoothing: grayscale;
14 -webkit-text-size-adjust: 100%;
15}
16
17a {
18 font-weight: 500;
19 color: #646cff;
20 text-decoration: inherit;
21}
22
23a:hover {
24 color: #535bf2;
25}
26
27a {
28 font-weight: 500;
29 color: #646cff;
30 text-decoration: inherit;
31}
32
33a:hover {
34 color: #535bf2;
35}
36
37body {
38 margin: 0;
39 display: flex;
40 place-items: center;
41 min-width: 320px;
42 min-height: 100vh;
43}
44
45h1 {
46 font-size: 3.2em;
47 line-height: 1.1;
48}
49
50button {
51 border-radius: 8px;
52 border: 1px solid transparent;
53 padding: 0.6em 1.2em;
54 font-size: 1em;
55 font-weight: 500;
56 font-family: inherit;
57 background-color: #1a1a1a;
58 cursor: pointer;
59 transition: border-color 0.25s;
60}
61
62button:hover {
63 border-color: #646cff;
64}
65
66button:focus,
67button:focus-visible {
68 outline: 4px auto -webkit-focus-ring-color;
69}
70
71.card {
72 padding: 2em;
73}
74
75#app {
76 max-width: 1280px;
77 margin: 0 auto;
78 padding: 2rem;
79 text-align: center;
80}
81
82@media (prefers-color-scheme: light) {
83 :root {
84 color: #213547;
85 background-color: #ffffff;
86 }
87
88 a:hover {
89 color: #747bff;
90 }
91
92 button {
93 background-color: #f9f9f9;
94 }
95}