diff --git a/src/assets/fonts/suivar.ttf b/src/assets/fonts/suivar.ttf new file mode 100644 index 0000000..859db80 Binary files /dev/null and b/src/assets/fonts/suivar.ttf differ diff --git a/src/assets/mockups/Screenshot.png b/src/assets/mockups/Screenshot.png new file mode 100644 index 0000000..ff483ea Binary files /dev/null and b/src/assets/mockups/Screenshot.png differ diff --git a/src/assets/mockups/close.svg b/src/assets/mockups/close.svg new file mode 100644 index 0000000..bcc729c --- /dev/null +++ b/src/assets/mockups/close.svg @@ -0,0 +1,3 @@ + diff --git a/src/assets/mockups/maximize.svg b/src/assets/mockups/maximize.svg new file mode 100644 index 0000000..87fab38 --- /dev/null +++ b/src/assets/mockups/maximize.svg @@ -0,0 +1,3 @@ + diff --git a/src/assets/mockups/minimize.svg b/src/assets/mockups/minimize.svg new file mode 100644 index 0000000..af095d4 --- /dev/null +++ b/src/assets/mockups/minimize.svg @@ -0,0 +1,3 @@ + diff --git a/src/assets/mockups/smo.png b/src/assets/mockups/smo.png new file mode 100644 index 0000000..a947e0d Binary files /dev/null and b/src/assets/mockups/smo.png differ diff --git a/src/lib/css/fluent.css b/src/lib/css/fluent.css new file mode 100644 index 0000000..72533dd --- /dev/null +++ b/src/lib/css/fluent.css @@ -0,0 +1,69 @@ +@font-face { + font-family: "Segoe UI Variable"; + src: url($assets/fonts/suivar.ttf); +} + +:root { + --mica-accent: rgba(47, 53, 72, 0.44); + --fluent-stroke-color: rgba(255, 255, 255, 0.15); + --fluent-stroke-width: thin; + --fluent-stroke: solid var(--fluent-stroke-color) var(--fluent-stroke-width); + --text-font: "Segoe UI Variable", sans-serif !important; + --text-color: #ffffff !important; + --text-size: 11pt !important; + --on-mica-bg: rgba(255, 255, 255, 0.08); + --fluent-ease-in: cubic-bezier(0.6, 0, 0.8, 0.6); + --fluent-ease-out: cubic-bezier(0.2, 0.8, 0.4, 1); + user-select: none; +} + +.fluent-press { + transition: 0.2s transform var(--fluent-ease-out); +} + +.fluent-press:active { + /* transform: scale(0.97); */ + opacity: 0.75; +} + +.mica-backdrop { + backdrop-filter: blur(200px); + background-color: var(--mica-accent); +} + +.on-mica-bg { + background-color: var(--on-mica-bg); +} + +.window { + border: var(--fluent-stroke); + border-radius: 8px; + box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.5); + overflow: hidden; +} + +button { + border: var(--fluent-stroke); + border-radius: 4px; + background-color: rgba(255, 255, 255, 0.15); + height: 32px; + padding: 0 12px; + font-size: 10pt !important; + transition: 0.3s var(--fluent-ease-out); + transition-property: background-color, opacity; +} + +button * { + font-size: 10pt !important; +} + +button:hover { + background-color: rgba(255, 255, 255, 0.25); +} + +button:active { + filter: none; + transition: 0.3s var(--fluent-ease-out); + background-color: rgba(255, 255, 255, 0.2); + opacity: 0.8; +} diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index dc9a20a..c46f2a6 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -6,8 +6,8 @@ import "$lib/css/index.css"; import { onMount } from "svelte"; - const excludedRoutesNav = ["/mockup/boot"]; - const excludedRoutesBg = ["/mockup"]; + const excludedRoutesNav = ["/mockup/boot", "/mockup/w11"]; + const excludedRoutesBg = ["/mockup", "/mockup/w11"]; $: isNavExcluded = excludedRoutesNav.some((route) => $page.url?.pathname.startsWith(route)); $: isBgExcluded = excludedRoutesBg.some((route) => $page.url?.pathname === route); diff --git a/src/routes/mockup/w11/+page.svelte b/src/routes/mockup/w11/+page.svelte new file mode 100644 index 0000000..bc57df9 --- /dev/null +++ b/src/routes/mockup/w11/+page.svelte @@ -0,0 +1,216 @@ + + +