mirror of
https://github.com/Steffo99/bluelib.git
synced 2024-12-22 11:34:21 +00:00
🐛 Change text color correctly
This commit is contained in:
parent
72f82709c3
commit
ec3e8b376d
5 changed files with 39 additions and 14 deletions
|
@ -214,7 +214,10 @@
|
|||
// --- Elements ---
|
||||
|
||||
@{element-title} {
|
||||
color: @hex-accent;
|
||||
--bluelib-color-r: red(@hex-accent);
|
||||
--bluelib-color-g: green(@hex-accent);
|
||||
--bluelib-color-b: blue(@hex-accent);
|
||||
|
||||
font-family: @font-title;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
@ -232,15 +235,21 @@
|
|||
}
|
||||
|
||||
@{element-anchor} {
|
||||
color: @hex-link;
|
||||
--bluelib-color-r: red(@hex-link);
|
||||
--bluelib-color-g: green(@hex-link);
|
||||
--bluelib-color-b: blue(@hex-link);
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
color: @hex-link-hover;
|
||||
--bluelib-color-r: red(@hex-link-hover);
|
||||
--bluelib-color-g: green(@hex-link-hover);
|
||||
--bluelib-color-b: blue(@hex-link-hover);
|
||||
}
|
||||
|
||||
&:active {
|
||||
color: @hex-link-active;
|
||||
--bluelib-color-r: red(@hex-link-active);
|
||||
--bluelib-color-g: green(@hex-link-active);
|
||||
--bluelib-color-b: blue(@hex-link-active);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -201,19 +201,27 @@
|
|||
background-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.3);
|
||||
}
|
||||
.bluelib .element-title {
|
||||
color: #ffffff;
|
||||
--bluelib-color-r: 255;
|
||||
--bluelib-color-g: 255;
|
||||
--bluelib-color-b: 255;
|
||||
font-family: "Fira Sans", sans-serif;
|
||||
font-weight: 500;
|
||||
}
|
||||
.bluelib .element-anchor {
|
||||
color: #00caca;
|
||||
--bluelib-color-r: 0;
|
||||
--bluelib-color-g: 202;
|
||||
--bluelib-color-b: 202;
|
||||
text-decoration: none;
|
||||
}
|
||||
.bluelib .element-anchor:hover {
|
||||
color: #00ffff;
|
||||
--bluelib-color-r: 0;
|
||||
--bluelib-color-g: 255;
|
||||
--bluelib-color-b: 255;
|
||||
}
|
||||
.bluelib .element-anchor:active {
|
||||
color: #a0ffff;
|
||||
--bluelib-color-r: 160;
|
||||
--bluelib-color-g: 255;
|
||||
--bluelib-color-b: 255;
|
||||
}
|
||||
.bluelib .style-bold {
|
||||
color: #ffffff;
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"version":3,"sources":["https://fonts.googleapis.com/css2?family=Fira+Code&family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap","/mnt/tera/ext4/code/bluelib-2/src/rules/rygblue.less"],"names":[],"mappings":"AAAA;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,+FAA+F,OAAO,WAAtG;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,mFAAmF,OAAO,WAA1F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oFAAoF,OAAO,WAA3F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oFAAoF,OAAO,WAA3F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,gFAAgF,OAAO,WAAvF;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oFAAoF,OAAO,WAA3F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oFAAoF,OAAO,WAA3F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oFAAoF,OAAO,WAA3F;;AAEF;EACE,aAAa,WAAb;EACA,k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EI,KACR,wBACA,wBACA,4BA+DI;;AAGJ,QDxLX,kBAAC,gBCwLW;EACG,cApFM,KACV,KAAK,8BACL,KAAK,8BACL,KAAK,gCAiFD;EACA,OArFM,KACV,KAAK,8BACL,KAAK,8BACL,KAAK,gCAkFD;EACA,kBAxEI,KACR,wBACA,wBACA,4BAqEI;;AD3Lf,QAAA;ECwNO,cAAA;EACA,aAlMS,uBAkMT;EACA,gBAAA;;AD1NP,QAAA;EC0OO,cAAA;EACA,qBAAA;;AAEA,QD7OP,gBC6OQ;EACG,cAAA;;AAGJ,QDjPP,gBCiPQ;EACG,cAAA;;ADlPX,QAAA;ECqSO,cAAA;;ADrSP,QAAA;ECqTO,aA7RQ,uBA6RR;;ADrTP,QAAA;ECyTO,aAjSQ,uBAiSR;EACA,YAAA;EACA,kBAAA;;AD3TP,QAAA;ECkUO,sBAAA;EACA,sBAAA;EACA,sBAAA;;ADpUP,QAAA;ECwUO,sBAAA;EACA,sBAAA;EACA,sBAAA;;AD1UP,QAAA;EC8UO,sBAAA;EACA,sBAAA;EACA,sBAAA;;ADhVP,QAAA;ECoVO,sBAAA;EACA,sBAAA;EACA,sBAAA;;ADtVP,QAAA;EC0VO,sBAAA;EACA,sBAAA;EACA,sBAAA;;AD5VP,QAAA;ECgWO,sBAAA;EACA,sBAAA;EACA,sBAAA;;ADlWP,QAAA;ECsWO,sBAAA;EACA,sBAAA;EACA,sBAAA;;ADxWP,QAAA;EC4WO,sBAAA;EACA,sBAAA;EACA,sBAAA","file":"rygblue.module.css"}
|
||||
{"version":3,"sources":["https://fonts.googleapis.com/css2?family=Fira+Code&family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap","/mnt/tera/ext4/code/bluelib-2/src/rules/rygblue.less"],"names":[],"mappings":"AAAA;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,+FAA+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0SR;EACA,YAAA;EACA,kBAAA;;ADpUP,QAAA;EC2UO,sBAAA;EACA,sBAAA;EACA,sBAAA;;AD7UP,QAAA;ECiVO,sBAAA;EACA,sBAAA;EACA,sBAAA;;ADnVP,QAAA;ECuVO,sBAAA;EACA,sBAAA;EACA,sBAAA;;ADzVP,QAAA;EC6VO,sBAAA;EACA,sBAAA;EACA,sBAAA;;AD/VP,QAAA;ECmWO,sBAAA;EACA,sBAAA;EACA,sBAAA;;ADrWP,QAAA;ECyWO,sBAAA;EACA,sBAAA;EACA,sBAAA;;AD3WP,QAAA;EC+WO,sBAAA;EACA,sBAAA;EACA,sBAAA;;ADjXP,QAAA;ECqXO,sBAAA;EACA,sBAAA;EACA,sBAAA","file":"rygblue.module.css"}
|
|
@ -240,7 +240,9 @@ body h4,
|
|||
body h5,
|
||||
.base-skeleton h6,
|
||||
body h6 {
|
||||
color: #ffffff;
|
||||
--bluelib-color-r: 255;
|
||||
--bluelib-color-g: 255;
|
||||
--bluelib-color-b: 255;
|
||||
font-family: "Fira Sans", sans-serif;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
@ -248,20 +250,26 @@ body h6 {
|
|||
body .element-anchor,
|
||||
.base-skeleton a,
|
||||
body a {
|
||||
color: #00caca;
|
||||
--bluelib-color-r: 0;
|
||||
--bluelib-color-g: 202;
|
||||
--bluelib-color-b: 202;
|
||||
text-decoration: none;
|
||||
}
|
||||
.base-skeleton .element-anchor:hover,
|
||||
body .element-anchor:hover,
|
||||
.base-skeleton a:hover,
|
||||
body a:hover {
|
||||
color: #00ffff;
|
||||
--bluelib-color-r: 0;
|
||||
--bluelib-color-g: 255;
|
||||
--bluelib-color-b: 255;
|
||||
}
|
||||
.base-skeleton .element-anchor:active,
|
||||
body .element-anchor:active,
|
||||
.base-skeleton a:active,
|
||||
body a:active {
|
||||
color: #a0ffff;
|
||||
--bluelib-color-r: 160;
|
||||
--bluelib-color-g: 255;
|
||||
--bluelib-color-b: 255;
|
||||
}
|
||||
.base-skeleton .style-bold,
|
||||
body .style-bold,
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue