mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
full migration to scss
This commit is contained in:
parent
62c6071395
commit
2bd4b69926
8 changed files with 8 additions and 0 deletions
|
@ -4,6 +4,7 @@ import { useTranslation } from "react-i18next";
|
||||||
import { EyeClosedIcon } from "@primer/octicons-react";
|
import { EyeClosedIcon } from "@primer/octicons-react";
|
||||||
import HydraIcon from "@renderer/assets/icons/hydra.svg?react";
|
import HydraIcon from "@renderer/assets/icons/hydra.svg?react";
|
||||||
import { useSubscription } from "@renderer/hooks/use-subscription";
|
import { useSubscription } from "@renderer/hooks/use-subscription";
|
||||||
|
import classNames from "classnames";
|
||||||
import "./achievements.scss";
|
import "./achievements.scss";
|
||||||
import "../../scss/_variables.scss";
|
import "../../scss/_variables.scss";
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,7 @@ import { AchievementList } from "./achievement-list";
|
||||||
import { AchievementPanel } from "./achievement-panel";
|
import { AchievementPanel } from "./achievement-panel";
|
||||||
import { ComparedAchievementPanel } from "./compared-achievement-panel";
|
import { ComparedAchievementPanel } from "./compared-achievement-panel";
|
||||||
import { useSubscription } from "@renderer/hooks/use-subscription";
|
import { useSubscription } from "@renderer/hooks/use-subscription";
|
||||||
|
import classNames from "classnames";
|
||||||
import "./achievements.scss";
|
import "./achievements.scss";
|
||||||
import "../../scss/_variables.scss";
|
import "../../scss/_variables.scss";
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@ import {
|
||||||
} from "@primer/octicons-react";
|
} from "@primer/octicons-react";
|
||||||
import { useDate } from "@renderer/hooks";
|
import { useDate } from "@renderer/hooks";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
|
import classNames from "classnames";
|
||||||
import "./achievements.scss";
|
import "./achievements.scss";
|
||||||
import "../../scss/_variables.scss";
|
import "../../scss/_variables.scss";
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,7 @@ import { useTranslation } from "react-i18next";
|
||||||
import HydraIcon from "@renderer/assets/icons/hydra.svg?react";
|
import HydraIcon from "@renderer/assets/icons/hydra.svg?react";
|
||||||
import { ComparedAchievements } from "@types";
|
import { ComparedAchievements } from "@types";
|
||||||
import { useUserDetails } from "@renderer/hooks";
|
import { useUserDetails } from "@renderer/hooks";
|
||||||
|
import classNames from "classnames";
|
||||||
|
|
||||||
import "./achievement-panel.scss";
|
import "./achievement-panel.scss";
|
||||||
import "../../scss/_variables.scss";
|
import "../../scss/_variables.scss";
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
import { useContext, useEffect, useMemo, useRef, useState } from "react";
|
import { useContext, useEffect, useMemo, useRef, useState } from "react";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import { ChevronRightIcon, ChevronLeftIcon } from "@primer/octicons-react";
|
import { ChevronRightIcon, ChevronLeftIcon } from "@primer/octicons-react";
|
||||||
|
import classNames from "classnames";
|
||||||
|
|
||||||
import "./gallery-slider.scss";
|
import "./gallery-slider.scss";
|
||||||
import { gameDetailsContext } from "@renderer/context";
|
import { gameDetailsContext } from "@renderer/context";
|
||||||
|
|
|
@ -8,6 +8,7 @@ import "./hero-panel.scss";
|
||||||
import { HeroPanelPlaytime } from "./hero-panel-playtime";
|
import { HeroPanelPlaytime } from "./hero-panel-playtime";
|
||||||
|
|
||||||
import { gameDetailsContext } from "@renderer/context";
|
import { gameDetailsContext } from "@renderer/context";
|
||||||
|
import classNames from "classnames";
|
||||||
|
|
||||||
export interface HeroPanelProps {
|
export interface HeroPanelProps {
|
||||||
isHeaderStuck: boolean;
|
isHeaderStuck: boolean;
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
import { ChevronDownIcon } from "@primer/octicons-react";
|
import { ChevronDownIcon } from "@primer/octicons-react";
|
||||||
import { useRef, useState } from "react";
|
import { useRef, useState } from "react";
|
||||||
|
import classNames from "classnames";
|
||||||
|
|
||||||
import "./sidebar-section.scss";
|
import "./sidebar-section.scss";
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@ import type {
|
||||||
} from "@types";
|
} from "@types";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import { Button, Link } from "@renderer/components";
|
import { Button, Link } from "@renderer/components";
|
||||||
|
import classNames from "classnames";
|
||||||
|
|
||||||
import { gameDetailsContext } from "@renderer/context";
|
import { gameDetailsContext } from "@renderer/context";
|
||||||
import { useDate, useFormat, useUserDetails } from "@renderer/hooks";
|
import { useDate, useFormat, useUserDetails } from "@renderer/hooks";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue