From 5919f1a579a2caada6790f2d4415662580c0e985 Mon Sep 17 00:00:00 2001 From: ducdat0507 <62660527+ducdat0507@users.noreply.github.com> Date: Wed, 7 Dec 2022 13:54:57 +0700 Subject: [PATCH] Style refinements --- package-lock.json | 5 +++++ package.json | 1 + src/App.vue | 1 + src/components/Info.vue | 22 ++++++++++++++++---- src/components/Modal.vue | 10 +++++++++- src/components/Nav.vue | 4 +++- src/components/Options.vue | 7 +------ src/components/common/modifiers.css | 2 ++ src/data/common.tsx | 17 +++++++++++----- src/game/modifiers.tsx | 31 +++++++++++++++++------------ 10 files changed, 70 insertions(+), 30 deletions(-) diff --git a/package-lock.json b/package-lock.json index f0c65a9..4862178 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1090,6 +1090,11 @@ } } }, + "@fontsource/great-vibes": { + "version": "4.5.10", + "resolved": "https://registry.npmjs.org/@fontsource/great-vibes/-/great-vibes-4.5.10.tgz", + "integrity": "sha512-ABrgq127wEex95tVBpa6zAjKDeBzq+c2eHw2qDs/V/Iw+Agp/NHO6I5AWv0iDkWHoboVfckmrDbKO+gchMo0cw==" + }, "@fontsource/material-icons": { "version": "4.5.4", "resolved": "https://registry.npmjs.org/@fontsource/material-icons/-/material-icons-4.5.4.tgz", diff --git a/package.json b/package.json index ea4730a..c57af6e 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "serve": "vite preview --host" }, "dependencies": { + "@fontsource/great-vibes": "^4.5.10", "@fontsource/material-icons": "^4.5.4", "@fontsource/roboto-mono": "^4.5.8", "@pixi/app": "~6.3.2", diff --git a/src/App.vue b/src/App.vue index 05fa7fd..560ce53 100644 --- a/src/App.vue +++ b/src/App.vue @@ -24,6 +24,7 @@ import themes from "./data/themes"; import settings, { gameComponents } from "./game/settings"; import "./main.css"; import "@fontsource/roboto-mono"; +import "@fontsource/great-vibes"; import type { CSSProperties } from "vue"; const useHeader = projInfo.useHeader; diff --git a/src/components/Info.vue b/src/components/Info.vue index 621a366..1d7cef9 100644 --- a/src/components/Info.vue +++ b/src/components/Info.vue @@ -1,12 +1,12 @@