A lightweight, macOS-style dock for Windows 11, with glass visuals, smooth magnification, and Genie effect.
fix(settings): add macOS traffic light symbols for close, minimize, and zoom
Saivarshith Mitukulaf2e95d3020e3
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 01b796e..50a8eea 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -33,6 +33,7 @@ copia la sección de la versión que se publica a la release de GitHub.automatically re-layout when windows close, and close the popup when allwindows have closed.- New setting in Settings → Windows: "Show close button on previews" (on by default).+- Added macOS-style traffic light symbols (close ✕, minimize −, and zoom opposing diagonal expand triangles) to the Settings window controls, smoothly revealed upon hovering the buttons.### Español@@ -63,6 +64,7 @@ copia la sección de la versión que se publica a la release de GitHub.emergente cuando no quedan más ventanas abiertas.- Nuevo ajuste en Ajustes → Ventanas: «Mostrar botón de cerrar en previsualizaciones»(activado por defecto).+- Incorporados símbolos estilo macOS en los botones de semáforo de la ventana de Ajustes (cerrar ✕, minimizar − y ampliar con triángulos opuestos en diagonal), mostrados con suavidad al posar el cursor.## [0.1.18]diff --git a/apps/settings/src/App.tsx b/apps/settings/src/App.tsxindex 8962e90..977d928 100644--- a/apps/settings/src/App.tsx+++ b/apps/settings/src/App.tsx@@ -268,19 +268,44 @@ export function App() {className="light light-close"aria-label={t.close}onClick={() => appWindow.close()}- />+ >+ <svg viewBox="0 0 12 12" className="light-icon" aria-hidden="true">+ <path+ d="M 3.5 3.5 L 8.5 8.5 M 8.5 3.5 L 3.5 8.5"+ stroke="#4c0002"+ strokeWidth="1.2"+ strokeLinecap="round"+ />+ </svg>+ </button><buttontype="button"className="light light-minimize"aria-label={t.minimize}onClick={() => appWindow.minimize()}- />+ >+ <svg viewBox="0 0 12 12" className="light-icon" aria-hidden="true">+ <path+ d="M 2.5 6 L 9.5 6"+ stroke="#995700"+ strokeWidth="1.3"+ strokeLinecap="round"+ />+ </svg>+ </button><buttontype="button"className="light light-zoom"aria-label={t.zoom}onClick={() => appWindow.toggleMaximize()}- />+ >+ <svg viewBox="0 0 12 12" className="light-icon" aria-hidden="true">+ <path+ d="M 9.5 2.5 L 9.5 6.5 L 5.5 2.5 Z M 2.5 9.5 L 2.5 5.5 L 6.5 9.5 Z"+ fill="#006500"+ />+ </svg>+ </button></div><nav>{SECTIONS.map((id) => (diff --git a/apps/settings/src/styles.css b/apps/settings/src/styles.cssindex b63a0ea..84993d9 100644--- a/apps/settings/src/styles.css+++ b/apps/settings/src/styles.css@@ -120,10 +120,17 @@ input:focus-visible {}.light {+ position: relative;width: 12px;height: 12px;border-radius: 50%;border: 0.5px solid rgba(0, 0, 0, 0.12);+ display: flex;+ align-items: center;+ justify-content: center;+ padding: 0;+ cursor: pointer;+ background-clip: padding-box;}.light-close {@@ -138,6 +145,33 @@ input:focus-visible {background: #28c840;}+.light-close:active {+ background: #d0433d;+}++.light-minimize:active {+ background: #d69720;+}++.light-zoom:active {+ background: #209e33;+}++.light-icon {+ width: 12px;+ height: 12px;+ display: block;+ opacity: 0;+ transition: opacity 0.12s ease;+ pointer-events: none;+}++.traffic:hover .light-icon,+.light:hover .light-icon,+.light:focus-visible .light-icon {+ opacity: 1;+}+.nav-item {display: flex;align-items: center;