blue highlight

This commit is contained in:
Jean-Marie Mineau 2025-08-03 22:45:57 +02:00
parent 8327143cc5
commit 5bfb2f38ca
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2
4 changed files with 9 additions and 3 deletions

View file

@ -1,4 +1,5 @@
#import "etablissements.typ": etablissements-data #import "etablissements.typ": etablissements-data
#import "matisse-thesis-var.typ": school-color-verso
#let assets-folder = "../assets/" #let assets-folder = "../assets/"
@ -31,7 +32,7 @@
abstract-en: [], abstract-en: [],
font: "TeX Gyre Heros", font: "TeX Gyre Heros",
font-size: 11pt, font-size: 11pt,
school-color-verso: rgb("0054a0"), school-color-verso: school-color-verso,
align-to-even-page: true, align-to-even-page: true,
) = { ) = {
set page( set page(

View file

@ -1,3 +1,4 @@
#import "matisse-thesis-var.typ": school-color
// ------------ SYMBOLS/ABBREVIATIONS ------------ // ------------ SYMBOLS/ABBREVIATIONS ------------
@ -21,8 +22,9 @@
v(.7cm) v(.7cm)
}) })
#let highlight(fill: luma(230), content) = { #let highlight(fill: school-color.lighten(40%)/*luma(230)*/, content) = {
block( block(
width: 100%,
inset: 8pt, inset: 8pt,
radius: 4pt, radius: 4pt,
fill: fill, fill: fill,

View file

@ -0,0 +1,2 @@
#let school-color = rgb("0074d9")
#let school-color-verso = rgb("0054a0")

View file

@ -1,5 +1,6 @@
#import "@preview/hydra:0.6.1": hydra #import "@preview/hydra:0.6.1": hydra
#import "matisse-thesis-var.typ": school-color-verso
#import "cover.typ": cover #import "cover.typ": cover
#import "abstracts.typ": abstracts #import "abstracts.typ": abstracts
#import "todos.typ": todos, show-todos, show-notes #import "todos.typ": todos, show-todos, show-notes
@ -35,7 +36,7 @@
abstract-font-size: 11pt, abstract-font-size: 11pt,
// text lang // text lang
lang: "en", lang: "en",
school-color-verso: rgb("0054a0"), school-color-verso: school-color-verso,
abstract-only: false, abstract-only: false,
body body
) = { ) = {