-
-
Notifications
You must be signed in to change notification settings - Fork 339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Issue] New commits caused a problem. The widgets have lost their styling. #291
Comments
i got that for a portrait wallpaper, choose a landscape one |
No luck. Changing the wallpaper doesn't even change the colorscheme. |
|
Fixed. Thanks, @end-4! |
Hey @end-4, I have dart-sass but when I used a portrait wallpaper This Is the same wallpaper I tried, my bar went nuts? |
idk, give logs |
Error: expected "{".
╷
2 │ $darkmode: true;
│ ^
╵
scss/_material.scss 2:16 @import
scss/main.scss 8:9 root stylesheet
undefined
Gtk.CssProviderError: style.css:9:5Invalid name of pseudo-class
[Gradience] INFO: Preset Material3_Generated applied successfully for Gtk 3 and Gtk 4 applications.
[Gradience] INFO: In order for changes to take full effect, you need to log out. Only happens with this image, i checked with other images, they work this one doesn't, havent tried many images but why is that possibly happening? |
can you send |
for the $darkmode: true;
$primary: #acc7ff;
$onPrimary: #002e6c;
$primaryContainer: #004397;
$onPrimaryContainer: #d6e2ff;
$secondary: #bfc6dc;
$onSecondary: #283041;
$secondaryContainer: #3f4759;
$onSecondaryContainer: #dae2f9;
$tertiary: #debbdf;
$onTertiary: #402843;
$tertiaryContainer: #583e5b;
$onTertiaryContainer: #fbd7fb;
$error: #ffb4a9;
$onError: #680003;
$errorContainer: #930006;
$onErrorContainer: #ffb4a9;
$colorbarbg: #101012;
$background: #101012;
$onBackground: #e4e2e6;
$surface: #1b1b1e;
$onSurface: #e4e2e6;
$surfaceVariant: #44474f;
$onSurfaceVariant: #c4c6d0;
$outline: #8e9099;
$shadow: #000000;
$inverseSurface: #e4e2e6;
$inverseOnSurface: #2f3033;
$inversePrimary: #005ac5; for the Warning: Image not in RGB|RGBA format - Converting...
$darkmode: true;
$primary: #acc7ff;
$onPrimary: #002e6c;
$primaryContainer: #004397;
$onPrimaryContainer: #d6e2ff;
$secondary: #bfc6dc;
$onSecondary: #283041;
$secondaryContainer: #3f4759;
$onSecondaryContainer: #dae2f9;
$tertiary: #debbdf;
$onTertiary: #402843;
$tertiaryContainer: #583e5b;
$onTertiaryContainer: #fbd7fb;
$error: #ffb4a9;
$onError: #680003;
$errorContainer: #930006;
$onErrorContainer: #ffb4a9;
$colorbarbg: #101012;
$background: #101012;
$onBackground: #e4e2e6;
$surface: #1b1b1e;
$onSurface: #e4e2e6;
$surfaceVariant: #44474f;
$onSurfaceVariant: #c4c6d0;
$outline: #8e9099;
$shadow: #000000;
$inverseSurface: #e4e2e6;
$inverseOnSurface: #2f3033;
$inversePrimary: #005ac5; |
Ok, so the problem seems obvious: when generating that scss, a "Warning" message blended in and messed up the file. For solution, we may redirect the STDERR i.e. the warning message to color_generation/generate_colors_material.py --color "$1" "$lightdark" 1> "$HOME"/.cache/ags/user/generated/material_colors.scss 2>/dev/null Here But the solution only works when the warning message is in STDERR. If it does not work, then we need to find another method. Plus, let's reopen this issue since talking in a closed issue is kinda weird lol |
Aaaaand now its fixed. |
If it's fixed don't you think that the issue should be closed? |
It fixed itself and I have no idea how. So I left it to end_4 judgement. |
yo this still happens: #428, new tracker over there |
The issue
I just updated to the newest commits and every widget seems to have lost its styling. Changing wallpaper (which changes colorscheme) seems to solve the problem but the widgets lose their styling again if I restart ags.
Click to expand
The text was updated successfully, but these errors were encountered: