capsules plus a la ligne, site name MATHALLO wysiwyg style
This commit is contained in:
@@ -16,6 +16,7 @@ settings:
|
||||
- undo
|
||||
- redo
|
||||
- heading
|
||||
- style
|
||||
- bold
|
||||
- italic
|
||||
- bulletedList
|
||||
@@ -42,5 +43,10 @@ settings:
|
||||
multiBlock: true
|
||||
ckeditor5_sourceEditing:
|
||||
allowed_tags: { }
|
||||
ckeditor5_style:
|
||||
styles:
|
||||
-
|
||||
label: mathallo
|
||||
element: '<span class="mathallo-site-name">'
|
||||
image_upload:
|
||||
status: false
|
||||
|
||||
@@ -29,7 +29,7 @@ filters:
|
||||
filter_autop:
|
||||
id: filter_autop
|
||||
provider: filter
|
||||
status: true
|
||||
status: false
|
||||
weight: -45
|
||||
settings: { }
|
||||
filter_caption:
|
||||
@@ -57,7 +57,7 @@ filters:
|
||||
status: false
|
||||
weight: -44
|
||||
settings:
|
||||
allowed_html: ''
|
||||
allowed_html: '<span class="mathallo-site-name">'
|
||||
filter_html_help: true
|
||||
filter_html_nofollow: false
|
||||
filter_html_escape:
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,14 @@
|
||||
@import "partials/colors";
|
||||
@import "partials/fonts";
|
||||
|
||||
|
||||
span.mathallo-site-name{
|
||||
font-family: 'Fredoka';
|
||||
text-transform:uppercase;
|
||||
color: $bleu_site;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
span.footnotes-preview{
|
||||
background-color: $rose;
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
import { createServer, build } from 'vite'
|
||||
|
||||
// Build watcher : écrit les fichiers dist sur disque en continu
|
||||
const watcher = await build({
|
||||
build: { watch: {} },
|
||||
})
|
||||
|
||||
// Dev server : HMR sur localhost:5173
|
||||
const server = await createServer()
|
||||
await server.listen()
|
||||
|
||||
console.log('\n HMR actif + dist générés en watch\n')
|
||||
|
||||
const shutdown = async () => {
|
||||
await Promise.allSettled([
|
||||
watcher.close(),
|
||||
server.close(),
|
||||
])
|
||||
process.exit(0)
|
||||
}
|
||||
|
||||
process.on('SIGINT', shutdown)
|
||||
process.on('SIGTERM', shutdown)
|
||||
@@ -5,6 +5,8 @@ description: mathallo drupal theme based on stark
|
||||
package: mathallo
|
||||
core: 0.x
|
||||
core_version_requirement: ^8 || ^9 || ^10
|
||||
ckeditor5-stylesheets:
|
||||
- assets/dist/wysiwyg.css
|
||||
# libraries:
|
||||
# - caravane/global
|
||||
regions:
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"version": "0.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"dev": "node dev.mjs",
|
||||
"build": "vite build",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
{% apply footnotes_spaceless %}
|
||||
{# footnotes/footnote-links.html.twig #}
|
||||
{%- if footnote_links -%}
|
||||
<div class="footnote__citations-wrapper">
|
||||
{%- for footnote_link in footnote_links -%}
|
||||
|
||||
@@ -17,10 +17,13 @@ export default defineConfig({
|
||||
build: {
|
||||
outDir: 'assets/dist',
|
||||
rollupOptions: {
|
||||
input: 'assets/js/main.js',
|
||||
input: {
|
||||
main: 'assets/js/main.js',
|
||||
wysiwyg: 'assets/scss/wysiwyg.scss',
|
||||
},
|
||||
output: {
|
||||
entryFileNames: 'main.js',
|
||||
assetFileNames: 'main.css'
|
||||
entryFileNames: '[name].js',
|
||||
assetFileNames: '[name].css',
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user