fonts tailwind ajoutes
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ export default async (app) => {
|
||||
*
|
||||
* @see {@link https://bud.js.org/docs/bud.setPublicPath}
|
||||
*/
|
||||
app.setPublicPath('/app/themes/sage/public/');
|
||||
app.setPublicPath('/app/themes/partition-jlg-theme/resources/');
|
||||
|
||||
/**
|
||||
* Development server settings
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,3 +1,41 @@
|
||||
@import 'tailwindcss/base';
|
||||
@import 'tailwindcss/components';
|
||||
@import 'tailwindcss/utilities';
|
||||
@import 'tailwindcss/utilities';
|
||||
|
||||
@layer base{
|
||||
@font-face {
|
||||
font-family: "Authentic_Sans_90";
|
||||
src: url("/assets/fonts/authentic-sans-90/AUTHENTICSans-90.woff") format("woff"),
|
||||
url("/assets/fonts/authentic-sans-90/AUTHENTICSans-90.woff2") format("woff2"),
|
||||
url("/assets/fonts/authentic-sans-90/AUTHENTICSans-90.otf") format("otf");
|
||||
font-weight: 90;
|
||||
font-style: normal;
|
||||
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Authentic_Sans_60";
|
||||
src: url("/assets/fonts/authentic-sans-90/AUTHENTICSans-60.woff") format("woff"),
|
||||
url("/assets/fonts/authentic-sans-90/AUTHENTICSans-60.woff2") format("woff2"),
|
||||
url("/assets/fonts/authentic-sans-90/AUTHENTICSans-60.otf") format("otf");
|
||||
font-style: normal;
|
||||
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Libre_Caslon';
|
||||
src: url("/assets/fonts/libre-caslon/LibreCaslonText-Regular.woff") format("woff"),
|
||||
url("/assets/fonts/libre-caslon/librecaslontext-regular.otf") format("otf");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Libre_Caslon';
|
||||
src: url("/assets/fonts/libre-caslon/LibreCaslonText-Italic.woff") format("woff"),
|
||||
url("/assets/fonts/libre-caslon/librecaslontext-italic.otf") format("otf");
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
@import url(app.css);
|
||||
@@ -14,6 +14,11 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="font-authentic">Ceci est du texte avec la police Authentic Sans 90</div>
|
||||
<div class="font-authentic60">Ceci est du texte avec la police Authentic Sans 60</div>
|
||||
<div class="font-caslon">Ceci est du texte avec la police Caslon normal</div>
|
||||
<div class="font-caslon italic">Ceci est du texte avec la police Caslon italique</div>
|
||||
|
||||
<table class="table-fixed">
|
||||
<thead>
|
||||
<tr class="border-slate-50 w-4/5 h-64 top-24 fixed flex items-stretch justify-around text-center">
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<div class="page-header">
|
||||
|
||||
<h1>{!! $title !!}</h1>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -10,4 +10,4 @@ License: MIT License
|
||||
License URI: https://opensource.org/licenses/MIT
|
||||
Requires PHP: 8.0
|
||||
Requires at least: 5.9
|
||||
*/
|
||||
*/
|
||||
|
||||
+7
-1
@@ -1,9 +1,15 @@
|
||||
/** @type {import('tailwindcss').Config} config */
|
||||
|
||||
const config = {
|
||||
content: ['./index.php', './app/**/*.php', './resources/**/*.{php,vue,js}'],
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {}, // Extend Tailwind's default colors
|
||||
colors: {}, // Extend Tailwind's default colors
|
||||
fontFamily: {
|
||||
'authentic': ['Authentic_Sans_90', 'sans-serif'],
|
||||
'authentic60': ['Authentic_Sans_60', 'Authentic_Sans_90', 'sans-serif'],
|
||||
'caslon': ['Libre_Caslon', 'serif'],
|
||||
},
|
||||
},
|
||||
},
|
||||
plugins: [],
|
||||
|
||||
+15
@@ -1285,6 +1285,21 @@
|
||||
"name": "Ui-monospace",
|
||||
"slug": "mono",
|
||||
"fontFamily": "ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace"
|
||||
},
|
||||
{
|
||||
"name": "Authentic_Sans_90",
|
||||
"slug": "authentic",
|
||||
"fontFamily": "Authentic_Sans_90,sans-serif"
|
||||
},
|
||||
{
|
||||
"name": "Authentic_Sans_60",
|
||||
"slug": "authentic60",
|
||||
"fontFamily": "Authentic_Sans_60,Authentic_Sans_90,sans-serif"
|
||||
},
|
||||
{
|
||||
"name": "Libre_Caslon",
|
||||
"slug": "caslon",
|
||||
"fontFamily": "Libre_Caslon,serif"
|
||||
}
|
||||
],
|
||||
"fontSizes": [
|
||||
|
||||
@@ -4007,12 +4007,7 @@ caniuse-api@^3.0.0:
|
||||
lodash.memoize "^4.1.2"
|
||||
lodash.uniq "^4.5.0"
|
||||
|
||||
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001286, caniuse-lite@^1.0.30001332, caniuse-lite@^1.0.30001359, caniuse-lite@^1.0.30001400, caniuse-lite@^1.0.30001449, caniuse-lite@^1.0.30001464:
|
||||
version "1.0.30001504"
|
||||
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001504.tgz"
|
||||
integrity sha512-5uo7eoOp2mKbWyfMXnGO9rJWOGU8duvzEiYITW+wivukL7yHH4gX9yuRaobu6El4jPxo6jKZfG+N6fB621GD/Q==
|
||||
|
||||
caniuse-lite@^1.0.30001504:
|
||||
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001286, caniuse-lite@^1.0.30001332, caniuse-lite@^1.0.30001359, caniuse-lite@^1.0.30001400, caniuse-lite@^1.0.30001449, caniuse-lite@^1.0.30001464, caniuse-lite@^1.0.30001504:
|
||||
version "1.0.30001504"
|
||||
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001504.tgz#eaf77e5c852dfa5f82c4924468c30602ac53744a"
|
||||
integrity sha512-5uo7eoOp2mKbWyfMXnGO9rJWOGU8duvzEiYITW+wivukL7yHH4gX9yuRaobu6El4jPxo6jKZfG+N6fB621GD/Q==
|
||||
|
||||
Reference in New Issue
Block a user