mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Merge pull request #2322 from jeromelebleu/frontend-fonts
Self-host icons and fonts in new frontend
This commit is contained in:
@@ -9,6 +9,8 @@
|
||||
"lint": "vue-cli-service lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fontsource/rubik": "^4.5.0",
|
||||
"@mdi/font": "^5.9.55",
|
||||
"apexcharts": "^3.25.0",
|
||||
"core-js": "^3.6.5",
|
||||
"js-cookie": "^2.2.1",
|
||||
|
||||
@@ -6,8 +6,6 @@
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Rubik:100,300,400,500,700,900">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import '@mdi/font/css/materialdesignicons.css'
|
||||
import Vue from 'vue'
|
||||
import Vuetify from 'vuetify/lib'
|
||||
|
||||
|
||||
@@ -1,3 +1,16 @@
|
||||
// Rubik Font
|
||||
|
||||
@import "~@fontsource/rubik/300.css";
|
||||
@import "~@fontsource/rubik/300-italic.css";
|
||||
@import "~@fontsource/rubik/400.css";
|
||||
@import "~@fontsource/rubik/400-italic.css";
|
||||
@import "~@fontsource/rubik/500.css";
|
||||
@import "~@fontsource/rubik/500-italic.css";
|
||||
@import "~@fontsource/rubik/700.css";
|
||||
@import "~@fontsource/rubik/700-italic.css";
|
||||
|
||||
// Global styles
|
||||
|
||||
.m-label {
|
||||
display: block;
|
||||
margin-bottom: 4px;
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
// Globals
|
||||
$body-font-family: 'Rubik', serif;
|
||||
// Vuetify variables
|
||||
// see: ../node_modules/vuetify/src/styles/settings/_variables.scss
|
||||
|
||||
$body-font-family: "Rubik", sans-serif;
|
||||
|
||||
@@ -911,6 +911,11 @@
|
||||
"@babel/helper-validator-identifier" "^7.14.5"
|
||||
to-fast-properties "^2.0.0"
|
||||
|
||||
"@fontsource/rubik@^4.5.0":
|
||||
version "4.5.0"
|
||||
resolved "https://registry.yarnpkg.com/@fontsource/rubik/-/rubik-4.5.0.tgz#e6e86606903d7102c565eec4b1339298308c3acb"
|
||||
integrity sha512-evvN6wFvc4gH9X3PuRkAfaWXJya5jcZxbMpAsiQIfq8KUCSBx74Rknm5M6hpRuB9AdxdchF/A3p18VkR9RZy2g==
|
||||
|
||||
"@hapi/address@2.x.x":
|
||||
version "2.1.4"
|
||||
resolved "https://registry.yarnpkg.com/@hapi/address/-/address-2.1.4.tgz#5d67ed43f3fd41a69d4b9ff7b56e7c0d1d0a81e5"
|
||||
@@ -952,6 +957,11 @@
|
||||
cssnano-preset-default "^4.0.0"
|
||||
postcss "^7.0.0"
|
||||
|
||||
"@mdi/font@^5.9.55":
|
||||
version "5.9.55"
|
||||
resolved "https://registry.yarnpkg.com/@mdi/font/-/font-5.9.55.tgz#41acd50b88073ded7095fc3029d8712b6e12f38e"
|
||||
integrity sha512-jswRF6q3eq8NWpWiqct6q+6Fg/I7nUhrxYJfiEM8JJpap0wVJLQdbKtyS65GdlK7S7Ytnx3TTi/bmw+tBhkGmg==
|
||||
|
||||
"@mrmlnc/readdir-enhanced@^2.2.1":
|
||||
version "2.2.1"
|
||||
resolved "https://registry.yarnpkg.com/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz#524af240d1a360527b730475ecfa1344aa540dde"
|
||||
|
||||
Reference in New Issue
Block a user