Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup preliminary styling #13

Merged
merged 3 commits into from
Dec 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vite App</title>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<link rel="apple-touch-icon" href="bcid-apple-touch-icon.png" />
<link rel="stylesheet" href="/styles/fonts.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>My ECE Registry</title>
</head>
<body>
<div id="app"></div>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"pinia": "^2.1.7",
"pinia-plugin-persistedstate": "^3.2.0",
"vue": "^3.3.4",
"vue-router": "^4.2.5"
"vue-router": "^4.2.5",
"vuetify": "^3.4.6"
},
"devDependencies": {
"@rushstack/eslint-patch": "^1.3.3",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
@font-face {
font-family: "BCSans";
font-style: normal;
src:
url("BCSans-Regular.woff") format("woff"),
url("BCSans-Regular.woff2") format("woff2");
}
@font-face {
font-family: "BCSans";
font-style: italic;
src:
url("BCSans-Italic.woff") format("woff"),
url("BCSans-Italic.woff2") format("woff2");
}
@font-face {
font-family: "BCSans";
font-weight: 700;
src:
url("BCSans-Bold.woff") format("woff"),
url("BCSans-Bold.woff2") format("woff2");
}
@font-face {
font-family: "BCSans";
font-style: italic;
font-weight: 700;
src:
url("BCSans-BoldItalic.woff") format("woff"),
url("BCSans-BoldItalic.woff2") format("woff2");
}

.v-application {
font-family: "BCSans", Verdana, Arial, sans-serif !important;
}
html {
font-family: "BCSans", Verdana, Arial, sans-serif !important;
}

This file was deleted.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,10 +1,28 @@
// Vuetify
import "vuetify/styles";

import { createPinia } from "pinia";
import piniaPluginPersistedstate from "pinia-plugin-persistedstate";
import { createApp } from "vue";
import { createVuetify } from "vuetify";
import * as components from "vuetify/components";
import * as directives from "vuetify/directives";

import App from "./App.vue";
import router from "./router";
import { useConfigStore } from "./store/config";
import ecerTheme from "./styles/ecer-theme";

const vuetify = createVuetify({
theme: {
defaultTheme: "ecerTheme",
themes: {
ecerTheme,
},
},
components,
directives,
});

const pinia = createPinia();
pinia.use(piniaPluginPersistedstate);
Expand All @@ -13,6 +31,7 @@ const app = createApp(App);

app.use(pinia);
app.use(router);
app.use(vuetify);

const configStore = useConfigStore();

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import type { ThemeDefinition } from "vuetify";

const ecerTheme: ThemeDefinition = {
dark: false,
colors: {
background: "#FFFFFF",
surface: "#38598A",
primary: "#003366",
secondary: "#FCBA19",
links: "#1A5A96",
error: "#D8292F",
success: "#2E8540",
warning: "#FCBA19",
},
};

export default ecerTheme;