Updates branding to StylePoint

This commit is contained in:
Cameron Redmore 2025-04-24 11:36:05 +01:00
parent 2ad9a63582
commit bbd77a788c
8 changed files with 43 additions and 48 deletions

View file

@ -1,8 +1,6 @@
{ {
"recommendations": [ "recommendations": [
"editorconfig.editorconfig", "prisma.prisma"
"vue.volar",
"wayou.vscode-todo-highlight"
], ],
"unwantedRecommendations": [ "unwantedRecommendations": [
"octref.vetur", "octref.vetur",

View file

@ -1,6 +1,6 @@
# STS Forms (forms-app) # StylePoint
Custom forms application for StyleTech Multi-functional internal tool for StyleTech
## Install the dependencies ## Install the dependencies
```bash ```bash

View file

@ -1,8 +1,8 @@
{ {
"name": "forms-app", "name": "stylepoint",
"version": "0.0.1", "version": "0.0.1",
"description": "Custom forms application for StyleTech", "description": "Multi-functional internal tool for StyleTech",
"productName": "STS Forms", "productName": "StylePoint",
"author": "Cameron Redmore <cameron@redmore.me>", "author": "Cameron Redmore <cameron@redmore.me>",
"type": "module", "type": "module",
"private": true, "private": true,

View file

@ -189,7 +189,7 @@ export default defineConfig((/* ctx */) => {
builder: { builder: {
// https://www.electron.build/configuration/configuration // https://www.electron.build/configuration/configuration
appId: 'forms-app' appId: 'stylepoint'
} }
}, },

View file

@ -1 +1,7 @@
// app global css in SCSS form // app global css in SCSS form
@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap');
html, body {
font-family: 'Exo 2', sans-serif;
}

View file

@ -1,35 +1,26 @@
<template> <template>
<q-layout view="lHh Lpr lFf"> <q-layout view="hHh Lpr lFf">
<q-header elevated>
<q-toolbar>
<q-btn
flat
dense
round
icon="menu"
aria-label="Menu"
@click="toggleLeftDrawer"
/>
<q-toolbar-title>
Form Builder App
</q-toolbar-title>
</q-toolbar>
</q-header>
<q-drawer <q-drawer
v-model="leftDrawerOpen" :mini="!leftDrawerOpen"
show-if-above mini-to-overlay
bordered bordered
persistent
:model-value="true"
> >
<q-list> <q-list>
<q-item-label <q-item clickable v-ripple @click="toggleLeftDrawer">
header <q-item-section avatar>
> <q-icon name="menu"/>
Navigation </q-item-section>
</q-item-label> <q-item-section>
<q-item-label class="text-h6">StylePoint</q-item-label>
</q-item-section>
</q-item>
<q-item clickable v-ripple :to="{ name: 'formList' }" exact> <q-item clickable v-ripple :to="{ name: 'formList' }" exact>
<q-tooltip anchor="center right" self="center left" >
<span>Forms</span>
</q-tooltip>
<q-item-section avatar> <q-item-section avatar>
<q-icon name="list_alt" /> <q-icon name="list_alt" />
</q-item-section> </q-item-section>
@ -39,22 +30,15 @@
</q-item-section> </q-item-section>
</q-item> </q-item>
<q-item clickable v-ripple :to="{ name: 'formCreate' }" exact>
<q-item-section avatar>
<q-icon name="add_circle_outline" />
</q-item-section>
<q-item-section>
<q-item-label>Create Form</q-item-label>
<q-item-label caption>Create a new form</q-item-label>
</q-item-section>
</q-item>
<q-item <q-item
clickable clickable
v-ripple v-ripple
:to="{ name: 'mantisSummaries' }" :to="{ name: 'mantisSummaries' }"
exact exact
> >
<q-tooltip anchor="center right" self="center left" >
<span>Mantis Summaries</span>
</q-tooltip>
<q-item-section avatar> <q-item-section avatar>
<q-icon name="summarize" /> <q-icon name="summarize" />
</q-item-section> </q-item-section>
@ -70,6 +54,9 @@
:to="{ name: 'emailSummaries' }" :to="{ name: 'emailSummaries' }"
exact exact
> >
<q-tooltip anchor="center right" self="center left" >
<span>Email Summaries</span>
</q-tooltip>
<q-item-section avatar> <q-item-section avatar>
<q-icon name="email" /> <q-icon name="email" />
</q-item-section> </q-item-section>
@ -83,6 +70,9 @@
clickable clickable
to="/settings" exact to="/settings" exact
> >
<q-tooltip anchor="center right" self="center left" >
<span>Settings</span>
</q-tooltip>
<q-item-section <q-item-section
avatar avatar
> >

View file

@ -36,16 +36,16 @@
<q-input v-model="field.description" outlined dense label="Field Description (Optional)" autogrow <q-input v-model="field.description" outlined dense label="Field Description (Optional)" autogrow
class="q-mt-xs q-mb-xl" hint="This description will appear below the field label on the form." /> class="q-mt-xs q-mb-xl" hint="This description will appear below the field label on the form." />
</div> </div>
<q-btn outline color="primary" label="Add Field" @click="addField(catIndex)" class="q-ml-md q-mt-sm" /> <q-btn color="primary" label="Add Field" @click="addField(catIndex)" class="q-ml-md q-mt-sm" />
</div> </div>
<q-btn outline color="secondary" label="Add Category" @click="addCategory" /> <q-btn color="secondary" label="Add Category" @click="addCategory" />
<q-separator class="q-my-lg" /> <q-separator class="q-my-lg" />
<div> <div>
<q-btn outline label="Create Form" type="submit" color="primary" :loading="submitting" /> <q-btn label="Create Form" type="submit" color="primary" :loading="submitting" />
<q-btn outline label="Cancel" type="reset" color="warning" class="q-ml-sm" :to="{ name: 'formList' }" /> <q-btn label="Cancel" type="reset" color="warning" class="q-ml-sm" :to="{ name: 'formList' }" />
</div> </div>
</q-form> </q-form>
</q-page> </q-page>

View file

@ -187,6 +187,7 @@ onMounted(() => {
.markdown-content :deep(a) { .markdown-content :deep(a) {
color: var(--q-primary); color: var(--q-primary);
text-decoration: none; text-decoration: none;
font-weight: 600;
} }
.markdown-content :deep(a:hover) { .markdown-content :deep(a:hover) {