dynamic foldericon import

This commit is contained in:
2024-07-12 15:45:35 +02:00
parent 036dd86332
commit d0ef579070
36 changed files with 126 additions and 62 deletions

View File

@@ -1,14 +1,22 @@
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700&display=swap");
* {
--color1: #F28FAD; /* Pink */
--color2: #ABE9B3; /* Green */
--color3: #FAE3B0; /* Yellow */
--color4: #96CDFB; /* Blue */
--bcolor1: #F5E0DC; /* Rosewater */
--bcolor2: #575268; /* Dark surface */
--bcolor3: #D9E0EE; /* Surface */
--bcolor4: #C9CBFF; /* Mauve */
--color1: #F28FAD;
/* Pink */
--color2: #ABE9B3;
/* Green */
--color3: #FAE3B0;
/* Yellow */
--color4: #96CDFB;
/* Blue */
--bcolor1: #F5E0DC;
/* Rosewater */
--bcolor2: #575268;
/* Dark surface */
--bcolor3: #D9E0EE;
/* Surface */
--bcolor4: #C9CBFF;
/* Mauve */
}
.navbar {
@@ -48,7 +56,7 @@
}
.foldericon {
content: url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6H10L8 4H4C2.89543 4 2 4.89543 2 6V18C2 19.1046 2.89543 20 4 20H20C21.1046 20 22 19.1046 22 18V8C22 6.89543 21.1046 6 20 6Z' fill='%23F28FAD'/%3E%3Cpath d='M4 4H8L10 6H20C21.1046 6 22 6.89543 22 8H2C2 6.89543 2.89543 6 4 6V4Z' fill='%2396CDFB'/%3E%3Cpath d='M10 6H14L12 4H8L10 6Z' fill='%23ABE9B3'/%3E%3Cpath d='M14 6H18L16 4H12L14 6Z' fill='%23FAE3B0'/%3E%3C/svg%3E");
content: "themes/icons/catpuccin.svg";
}
.folders a {
@@ -101,4 +109,4 @@ body {
font-optical-sizing: auto;
font-weight: 400;
font-style: normal;
}
}