Skip to content

Commit af5ee9b

Browse files
committed
add more features
add file gestion + parametre + gestion modal + best help
1 parent 245b12d commit af5ee9b

3 files changed

Lines changed: 620 additions & 69 deletions

File tree

contents/css/styles.css

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,34 @@ html, body {
3434
/* Prevent text selection on menu buttons for better UX */
3535
.menu-button {
3636
user-select: none;
37+
}
38+
39+
/* styles.css ou tailwind.css */
40+
.theme-dark {
41+
@apply dark;
42+
filter: none !important;
43+
background: #18181b !important;
44+
color: #f3f4f6 !important;
45+
}
46+
.theme-light {
47+
/* rien, Tailwind applique le mode clair par défaut */
48+
filter: invert(1) hue-rotate(180deg) !important;
49+
background: #f3f4f6 !important;
50+
color: #18181b !important;
51+
}
52+
53+
/* Animation de transition pour le filtre invert */
54+
.theme-dark, .theme-light {
55+
transition:
56+
filter 0.5s cubic-bezier(.4,2,.6,1),
57+
background 0.5s cubic-bezier(.4,0,.2,1),
58+
color 0.5s cubic-bezier(.4,0,.2,1),
59+
box-shadow 0.4s cubic-bezier(.4,0,.2,1);
60+
box-shadow: 0 4px 24px 0 rgba(0,0,0,0.12), 0 1.5px 6px 0 rgba(0,0,0,0.08);
61+
border-radius: 1rem;
62+
outline: 2px solid rgba(107,114,128,0.15);
63+
}
64+
65+
body {
66+
transition: background 0.5s, color 0.5s;
3767
}

0 commit comments

Comments
 (0)