added default colors before actual icon colors load in

This commit is contained in:
Pagwin 2024-12-21 17:13:28 -05:00
parent ca348d70ab
commit 18b5310ced
No known key found for this signature in database
GPG key ID: 81137023740CA260
2 changed files with 19 additions and 2 deletions

View file

@ -37,7 +37,16 @@
<title <title
id="title1">home</title> id="title1">home</title>
<style> <style>
@layer import-color, base, print; @layer default-color, import-color, base, print;
@layer default-color {
:root {
--background-color: rgba(0,0,0,0);
--primary-color: blue;
--secondary-color: blue;
}
}
@import url("/static/css/icon-colors.css") layer(import-color); @import url("/static/css/icon-colors.css") layer(import-color);
@import url("/static/css/icon-print.css") layer(print); @import url("/static/css/icon-print.css") layer(print);
@layer base{ @layer base{

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View file

@ -3,7 +3,15 @@
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 455.731 455.731" xml:space="preserve"> viewBox="0 0 455.731 455.731" xml:space="preserve">
<style> <style>
@layer import-color, base, print; @layer default-color, import-color, base, print;
@layer default-color {
:root {
--background-color: rgba(0,0,0,0);
--primary-color: blue;
--secondary-color: blue;
}
}
@import url("/static/css/icon-colors.css") layer(import-color); @import url("/static/css/icon-colors.css") layer(import-color);
@import url("/static/css/icon-print.css") layer(print); @import url("/static/css/icon-print.css") layer(print);
@layer base{ @layer base{

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB