A games launcher for GOG, Amazon and Epic Games for Linux, Windows and macOS.
TypeScript amazon-primeelectronepic-games-launcherepic-games-storeepic-storegaminggoggog-galaxyheroic-games-launcherlinuxplay-gamesprotonsteamwine
@use './styles/typography';
@use './styles/spacing';
@use './styles/colors';
@use './styles/buttons';
@use './styles/forms';
@use './styles/radius';
@use './styles/surfaces';
@use './styles/scrollbars';
:root {
@include typography.typeSystem;
@include spacing.spacingSystem;
@include colors.colorSystem;
/* Effects */
--blur-light: 4px;
--blur-strong: 16px;
}
// Example breakpoint
// @media screen and (max-width: 800px) {
// :root {
// font-size: 16px;
// --text-scale-ratio: 1.2;
// }
// }
// this fixes a problem with an extra horizontal scrollbar when
// a vertical scrollbar is displayed, don't change
html {
width: 100vw;
overflow-x: hidden;
}
body {
@include forms.formSystem;
@include radius.radiusSystem;
@include surfaces.surfaceSystem;
@include scrollbars.scrollbarSystem;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
user-select: none;
/* Frameless window defaults */
--titlebar-color: var(--body-background);
--titlebar-symbol-color: var(--accent);
--overlay-controls-height: env(titlebar-area-height, 39px);
--overlay-controls-width: calc(
100vw - env(titlebar-area-width, calc(100vw - 120px))
);
// these 2 !important fix a problem when displaying the
// context menu in the library, material ui sets values
// that create problems, don't change
overflow: auto !important;
padding: 0 !important;
}
body:has(.MuiDialog-root) {
overflow: hidden !important;
}
.simple-keyboard-wrapper {
display: none;
&[open] {
position: fixed;
display: initial;
inset-block-start: auto;
inset-block-end: 50px;
width: 100vw;
background: var(--osk-background);
}
}
// Single, theme-aware focus indicator for the whole app. Components with a
// purpose-built ring override this; everything else (game cards, list rows,
// menu items, on-screen keyboard keys) falls back to it so that focus is
// always visible when navigating with a gamepad on a TV.
:focus-visible {
outline: 3px solid var(--accent);
outline-offset: 2px;
}
.heroicLogo__mark {
fill: var(--logo-mark, var(--role-brand));
}
.heroicLogo__ink {
fill: var(--logo-ink, var(--text-on-brand));
}
// These are always wrapped by a component that draws the ring itself.
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
outline: none;
}
.smallInputInfo {
font-size: var(--text-xs);
align-self: flex-start;
margin-block: var(--space-xs) var(--space-3xs);
margin-inline: var(--space-xs) 0;
color: var(--text-secondary);
}
#root:has(> .UpdateComponent) {
height: 100vh;
& > .UpdateComponent {
height: 100vh;
}
}