feat: refactorer le système de palette de couleurs avec popup unifié, simplification du CSS pour les notes colorées et backgrounds, et amélioration du positionnement responsive de la palette
This commit is contained in:
@@ -0,0 +1,146 @@
|
||||
window.SHAARLI_NOTE_BACKGROUNDS_MANIFEST = [
|
||||
{
|
||||
key: "cafe",
|
||||
label: "Café",
|
||||
files: {
|
||||
light: "bg-light-cafe.jpg",
|
||||
dark: "bg-dark-cafe.jpg",
|
||||
},
|
||||
},
|
||||
{
|
||||
key: "codes",
|
||||
label: "Codes",
|
||||
files: {
|
||||
light: "bg-light-codes.jpg",
|
||||
dark: "bg-dark-codes.jpg",
|
||||
},
|
||||
},
|
||||
{
|
||||
key: "dune",
|
||||
label: "Dune",
|
||||
files: {
|
||||
light: "bg-light-dune.jpg",
|
||||
dark: "bg-dark-dune.jpg",
|
||||
},
|
||||
},
|
||||
{
|
||||
key: "feuille-ligne",
|
||||
label: "Feuille Ligne",
|
||||
files: {
|
||||
light: "bg-light-feuilleLigne.jpg",
|
||||
dark: "bg-dark-feuilleLigne.jpg",
|
||||
},
|
||||
},
|
||||
{
|
||||
key: "feuille-quadrillage",
|
||||
label: "Feuille Quadrillage",
|
||||
files: {
|
||||
light: "bg-light-feuilleQuadrille.jpg",
|
||||
dark: "bg-dark-feuilleQuadrille.jpg",
|
||||
},
|
||||
},
|
||||
{
|
||||
key: "fleurs",
|
||||
label: "Fleurs",
|
||||
files: {
|
||||
light: "bg-light-fleurs.jpg",
|
||||
dark: "bg-dark-fleurs.jpg",
|
||||
},
|
||||
},
|
||||
{
|
||||
key: "foret",
|
||||
label: "Forêt",
|
||||
files: {
|
||||
light: "bg-light-foret.jpg",
|
||||
dark: "bg-dark-foret.jpg",
|
||||
},
|
||||
},
|
||||
{
|
||||
key: "grid",
|
||||
label: "Grid",
|
||||
files: {
|
||||
light: "bg-light-grid.jpg",
|
||||
dark: "bg-dark-grid.jpg",
|
||||
},
|
||||
},
|
||||
{
|
||||
key: "journal",
|
||||
label: "Journal",
|
||||
files: {
|
||||
light: "bg-light-journal.jpg",
|
||||
dark: "bg-dark-journal.jpg",
|
||||
},
|
||||
},
|
||||
{
|
||||
key: "lecture",
|
||||
label: "Lecture",
|
||||
files: {
|
||||
light: "bg-light-lecture.jpg",
|
||||
dark: "bg-dark-lecture.jpg",
|
||||
},
|
||||
},
|
||||
{
|
||||
key: "legumes",
|
||||
label: "Légumes",
|
||||
files: {
|
||||
light: "bg-light-legumes.jpg",
|
||||
dark: "bg-dark-legumes.jpg",
|
||||
},
|
||||
},
|
||||
{
|
||||
key: "montagnes",
|
||||
label: "Montagnes",
|
||||
files: {
|
||||
light: "bg-light-montagnes.jpg",
|
||||
dark: "bg-dark-montagnes.jpg",
|
||||
},
|
||||
},
|
||||
{
|
||||
key: "ocean",
|
||||
label: "Océan",
|
||||
files: {
|
||||
light: "bg-light-ocean.jpg",
|
||||
dark: "bg-dark-ocean.jpg",
|
||||
},
|
||||
},
|
||||
{
|
||||
key: "sports",
|
||||
label: "Sports",
|
||||
files: {
|
||||
light: "bg-light-sports.jpg",
|
||||
dark: "bg-dark-sports.jpg",
|
||||
},
|
||||
},
|
||||
{
|
||||
key: "vague1",
|
||||
label: "Vague 1",
|
||||
files: {
|
||||
light: "bg-light-vague1.jpg",
|
||||
dark: "bg-dark-vague1.jpg",
|
||||
},
|
||||
},
|
||||
{
|
||||
key: "vague2",
|
||||
label: "Vague 2",
|
||||
files: {
|
||||
light: "bg-light-vague2.jpg",
|
||||
dark: "bg-dark-vague2.jpg",
|
||||
},
|
||||
},
|
||||
{
|
||||
key: "ville",
|
||||
label: "Ville",
|
||||
files: {
|
||||
light: "bg-light-ville.jpg",
|
||||
dark: "bg-dark-ville.jpg",
|
||||
},
|
||||
},
|
||||
{
|
||||
key: "voyage",
|
||||
label: "Voyage",
|
||||
files: {
|
||||
light: "bg-light-voyage.jpg",
|
||||
dark: "bg-dark-voyage.jpg",
|
||||
},
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user