Skip to content

Commit

Permalink
ajout police roboto
Browse files Browse the repository at this point in the history
  • Loading branch information
Théo Chambon committed Oct 16, 2023
1 parent c9e6b4a commit eb50d65
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 14 deletions.
11 changes: 10 additions & 1 deletion app.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<v-app>
<!-- DEBUT BLOC BETA-->
<v-alert width="100%" outlined color="primary"
<v-alert class="beta-alert" width="100%" outlined color="primary"
style="padding-top: 30px; padding-bottom: 30px;"><strong>Avertissement</strong> : vous êtes
sur la version beta de
Theses.fr. Cette
Expand Down Expand Up @@ -79,6 +79,15 @@ useHead({
<style lang="scss">
@use 'vuetify/settings';
//TODO : A SUPPRIMER APRES BETA
.beta-alert {
max-height: 80px;
@media #{ map-get(settings.$display-breakpoints, 'sm-and-down')} {
max-height: 500px;
}
}
.v-application__wrap {
justify-content: center;
align-items: center;
Expand Down
25 changes: 12 additions & 13 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ const myCustomLightTheme = {
}
}

import { defineNuxtConfig } from 'nuxt/config'

// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: [
Expand All @@ -29,27 +31,19 @@ export default defineNuxtConfig({
],
devtools: { enabled: true },
vuetify: {
/* vuetify options */
moduleOptions: {
/* module specific options */
},
vuetifyOptions: {
theme: {
/* vuetify options */
theme: {
defaultTheme: 'myCustomLightTheme',
themes: {
myCustomLightTheme,
}
}, display: {
mobileBreakpoint: 'md'
},
ssr: true
},

moduleOptions: {
/* nuxt-vuetify module options */
treeshaking: true,
useIconCDN: true,

/* vite-plugin-vuetify options */
autoImport: true,
useVuetifyLabs: true,
}
},
i18n: {
Expand All @@ -69,4 +63,9 @@ export default defineNuxtConfig({
nitro: {
compressPublicAssets: true,
},
app: {
head: {
link: [{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900' }]
}
}
})

0 comments on commit eb50d65

Please sign in to comment.