This commit is contained in:
vinceliuice
2025-06-15 11:15:02 +08:00
3 changed files with 10 additions and 4 deletions

View File

@@ -197,7 +197,7 @@ else
if [[ "${libadwaita}" == 'true' ]]; then
if [[ "$UID" != '0' ]]; then
install_libadwaita
echo; prompt -w "Some colorsheme extension will re-writes config files in '${HOME}/.config/gtk-4.0' like: 'custom-accent-colors' you need disable it!"
echo; prompt -w "Some colorsheme extension will re-writes config files in '${HOME}/.config/gtk-4.0' like: 'custom-accent-colors' you need to disable it!"
else
echo; prompt -e "Do not run '--libadwaita' option with sudo!"
fi

View File

@@ -1,7 +1,12 @@
@function gtkalpha($c,$a) {
@return unquote("alpha(#{$c},#{$a})");
@function gtkalpha($c, $a) {
@if type-of($c) == 'color' {
@return rgba($c, $a); // objeto-cor quando $c é cor Sass
}
@return unquote("rgba(#{$c}, #{$a})"); // string para currentColor etc.
}
@function gtkmix($c1,$c2,$r) {
$ratio: 1 - $r / 100%; // match SCSS gtkmix()
@return unquote("mix(#{$c1},#{$c2},#{$ratio})");

View File

@@ -2353,6 +2353,7 @@ StScrollBar {
&-box {
padding: 0 8px;
spacing: 4px;
color: $panel_fg;
text-shadow: none;
transition-duration: 100;
@@ -2408,7 +2409,7 @@ StScrollBar {
height: 32px;
background-color: transparent;
border: none;
border-radius: 0;
border-radius: 32px;
}
.user-label {