From fdea1dd8fbafc3cb7fd59be47428ac118fe2b9c6 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Fri, 2 Feb 2024 19:22:34 +0700 Subject: [PATCH] format --- .config/ags/scss/_colors.scss | 74 ++++++++--------------------------- 1 file changed, 17 insertions(+), 57 deletions(-) diff --git a/.config/ags/scss/_colors.scss b/.config/ags/scss/_colors.scss index 6aa9424f3..2cc6ef45b 100644 --- a/.config/ags/scss/_colors.scss +++ b/.config/ags/scss/_colors.scss @@ -40,8 +40,7 @@ $transparentize_surface_amount_less: 0.6; $transparentize_surface_amount_less_less: 0.55; $transparentize_surface_amount: 0.7; $transparentize_surface_amount_more: 0.8; -$transparentize_surface_amount_subtract_surface: $transparentize_surface_amount - - $transparentize_amount; +$transparentize_surface_amount_subtract_surface: $transparentize_surface_amount - $transparentize_amount; @if $darkmode ==true { // Less transparency @@ -50,8 +49,7 @@ $transparentize_surface_amount_subtract_surface: $transparentize_surface_amount $transparentize_surface_amount_less_less: 0.55; $transparentize_surface_amount: 0.69; $transparentize_surface_amount_more: 0.9; - $transparentize_surface_amount_subtract_surface: $transparentize_surface_amount - - $transparentize_amount; + $transparentize_surface_amount_subtract_surface: $transparentize_surface_amount - $transparentize_amount; } @if $transparency_enabled ==false { @@ -76,69 +74,33 @@ $onSuccessContainer: #0c1f13; $t_primary: transparentize($primary, $transparentize_amount); $t_onPrimary: transparentize($onPrimary, $transparentize_amount); $t_primaryContainer: transparentize($primaryContainer, $transparentize_amount); -$t_onPrimaryContainer: transparentize( - $onPrimaryContainer, - $transparentize_amount -); +$t_onPrimaryContainer: transparentize($onPrimaryContainer, $transparentize_amount); $t_secondary: transparentize($secondary, $transparentize_amount); $t_onSecondary: transparentize($onSecondary, $transparentize_amount); -$t_secondaryContainer: transparentize( - $secondaryContainer, - $transparentize_amount -); -$l_t_secondaryContainer: transparentize( - $secondaryContainer, - $transparentize_surface_amount_less -); -$t_onSecondaryContainer: transparentize( - $onSecondaryContainer, - $transparentize_amount -); +$t_secondaryContainer: transparentize($secondaryContainer, $transparentize_amount); +$l_t_secondaryContainer: transparentize($secondaryContainer, $transparentize_surface_amount_less); +$t_onSecondaryContainer: transparentize($onSecondaryContainer, $transparentize_amount); $t_t_t_onSecondaryContainer: transparentize($onSecondaryContainer, 0.93); $t_tertiary: transparentize($tertiary, $transparentize_amount); $t_onTertiary: transparentize($onTertiary, $transparentize_amount); -$t_tertiaryContainer: transparentize( - $tertiaryContainer, - $transparentize_amount -); -$t_onTertiaryContainer: transparentize( - $onTertiaryContainer, - $transparentize_amount -); +$t_tertiaryContainer: transparentize($tertiaryContainer, $transparentize_amount); +$t_onTertiaryContainer: transparentize($onTertiaryContainer, $transparentize_amount); $t_error: transparentize($error, $transparentize_amount); $t_onError: transparentize($onError, $transparentize_amount); $t_errorContainer: transparentize($errorContainer, $transparentize_amount); $t_onErrorContainer: transparentize($onErrorContainer, $transparentize_amount); $t_colorbarbg: transparentize($colorbarbg, $transparentize_amount); $t_background: transparentize($background, $transparentize_amount); -$t_t_background: transparentize( - $background, - $transparentize_surface_amount_more -); +$t_t_background: transparentize($background, $transparentize_surface_amount_more); $t_onBackground: transparentize($onBackground, $transparentize_amount); $t_surface: transparentize($surface, $transparentize_surface_amount); $t_t_surface: transparentize($surface, $transparentize_surface_amount_more); $t_onSurface: transparentize($onSurface, $transparentize_surface_amount); -$t_surfaceVariant: transparentize( - $surfaceVariant, - $transparentize_surface_amount -); -$t_onSurfaceVariant: transparentize( - $onSurfaceVariant, - $transparentize_surface_amount -); -$t_t_surfaceVariant: transparentize( - $surfaceVariant, - $transparentize_surface_amount_more -); -$l_t_surfaceVariant: transparentize( - $surfaceVariant, - $transparentize_surface_amount_less -); -$l_l_t_surfaceVariant: transparentize( - $surfaceVariant, - $transparentize_surface_amount_less_less -); +$t_surfaceVariant: transparentize($surfaceVariant, $transparentize_surface_amount); +$t_onSurfaceVariant: transparentize($onSurfaceVariant, $transparentize_surface_amount); +$t_t_surfaceVariant: transparentize($surfaceVariant, $transparentize_surface_amount_more); +$l_t_surfaceVariant: transparentize($surfaceVariant, $transparentize_surface_amount_less); +$l_l_t_surfaceVariant: transparentize($surfaceVariant, $transparentize_surface_amount_less_less); $t_outline: transparentize($outline, $transparentize_amount); $t_shadow: transparentize($shadow, $transparentize_amount); $t_inverseSurface: transparentize($inverseSurface, $transparentize_amount); @@ -148,10 +110,8 @@ $t_inversePrimary: transparentize($inversePrimary, $transparentize_amount); $t_success: transparentize($error, $transparentize_amount); $t_onSuccess: transparentize($onError, $transparentize_amount); $t_successContainer: transparentize($errorContainer, $transparentize_amount); -$t_onSuccessContainer: transparentize( - $onErrorContainer, - $transparentize_amount -); +$t_onSuccessContainer: transparentize($onErrorContainer, + $transparentize_amount); // Others $hovercolor: mix($t_surface, $t_onSurface, 50%); @@ -169,4 +129,4 @@ $term3: $onPrimaryContainer; $term4: $onPrimaryContainer; $term5: $onSecondaryContainer; $term6: $primary; -$term7: $onSurfaceVariant; +$term7: $onSurfaceVariant; \ No newline at end of file