Fixed wrong svg loading and made Gruvbox main and sec show in menu, cannot see any bugs right now.

This commit is contained in:
DeaDvey 2024-04-12 22:54:48 +01:00
parent e1e45c0e37
commit dbaccfa1ae
2 changed files with 18 additions and 11 deletions

View File

@ -28,42 +28,42 @@
inkscape:zoom="4.630911"
inkscape:cx="42.756166"
inkscape:cy="24.401246"
inkscape:window-width="1916"
inkscape:window-height="1058"
inkscape:window-width="1920"
inkscape:window-height="1080"
inkscape:window-x="1366"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg8" />
<path
d="M 3.029,33.471 C 2.577,33.471 2.214,33.33 1.941,33.049 1.669,32.767 1.532,32.399 1.532,31.945 V 18.21 c 0,-0.454 0.129,-0.806 0.386,-1.057 0.257,-0.25 0.612,-0.376 1.064,-0.376 h 8.204 c 0.951,0 1.426,0.407 1.426,1.221 0,0.799 -0.475,1.198 -1.426,1.198 H 4.501 v 4.508 h 6.218 c 0.95,0 1.425,0.407 1.425,1.221 0,0.798 -0.475,1.197 -1.425,1.197 H 4.501 v 5.823 c 0,0.454 -0.132,0.822 -0.397,1.104 -0.265,0.281 -0.624,0.422 -1.075,0.422 z"
style="fill:#282828;fill-opacity:0.80000001;fill-rule:nonzero"
style="fill:#fbf1c7;fill-opacity:0.80000001;fill-rule:nonzero"
id="path1" />
<path
d="m 19.432,21.614 c 0.367,-0.031 0.656,0.055 0.868,0.258 0.211,0.204 0.317,0.509 0.317,0.916 0,0.423 -0.092,0.736 -0.275,0.939 -0.183,0.204 -0.515,0.337 -0.994,0.399 l -0.635,0.071 c -0.832,0.094 -1.441,0.407 -1.829,0.939 -0.388,0.532 -0.582,1.197 -0.582,1.996 v 4.93 c 0,0.454 -0.127,0.803 -0.381,1.045 -0.253,0.243 -0.571,0.364 -0.951,0.364 -0.381,0 -0.695,-0.121 -0.941,-0.364 -0.247,-0.242 -0.37,-0.591 -0.37,-1.045 v -9.086 c 0,-0.438 0.123,-0.775 0.37,-1.01 0.246,-0.234 0.553,-0.352 0.92,-0.352 0.366,0 0.662,0.114 0.888,0.34 0.226,0.228 0.338,0.552 0.338,0.975 v 0.939 c 0.268,-0.689 0.667,-1.221 1.195,-1.597 0.529,-0.375 1.118,-0.587 1.766,-0.633 z"
style="fill:#282828;fill-opacity:0.80000001;fill-rule:nonzero"
style="fill:#fbf1c7;fill-opacity:0.80000001;fill-rule:nonzero"
id="path2" />
<path
d="m 31.876,30.184 c 0.277,0 0.501,0.102 0.672,0.305 0.171,0.204 0.257,0.478 0.257,0.822 0,0.485 -0.302,0.892 -0.905,1.221 -0.554,0.297 -1.181,0.536 -1.882,0.716 -0.701,0.18 -1.369,0.27 -2.004,0.27 -1.923,0 -3.447,-0.532 -4.571,-1.596 -1.125,-1.065 -1.687,-2.521 -1.687,-4.368 0,-1.174 0.244,-2.215 0.734,-3.122 0.488,-0.908 1.177,-1.613 2.065,-2.113 0.888,-0.502 1.894,-0.752 3.019,-0.752 1.075,0 2.012,0.227 2.811,0.681 0.798,0.454 1.417,1.096 1.857,1.925 0.44,0.83 0.66,1.808 0.66,2.935 0,0.673 -0.309,1.01 -0.928,1.01 h -7.211 c 0.097,1.08 0.415,1.874 0.953,2.383 0.538,0.509 1.32,0.763 2.347,0.763 0.521,0 0.981,-0.063 1.381,-0.188 0.399,-0.125 0.851,-0.297 1.356,-0.516 0.489,-0.251 0.848,-0.376 1.076,-0.376 z m -4.229,-6.551 c -0.831,0 -1.495,0.251 -1.992,0.752 -0.497,0.501 -0.795,1.22 -0.892,2.16 h 5.524 C 30.254,25.59 30.01,24.866 29.554,24.373 29.097,23.88 28.462,23.633 27.647,23.633 Z"
style="fill:#282828;fill-opacity:0.80000001;fill-rule:nonzero"
style="fill:#fbf1c7;fill-opacity:0.80000001;fill-rule:nonzero"
id="path3" />
<path
d="m 45.134,30.184 c 0.277,0 0.501,0.102 0.672,0.305 0.171,0.204 0.257,0.478 0.257,0.822 0,0.485 -0.302,0.892 -0.905,1.221 -0.554,0.297 -1.181,0.536 -1.882,0.716 -0.7,0.18 -1.369,0.27 -2.004,0.27 -1.923,0 -3.447,-0.532 -4.571,-1.596 -1.125,-1.065 -1.687,-2.521 -1.687,-4.368 0,-1.174 0.245,-2.215 0.734,-3.122 0.488,-0.908 1.177,-1.613 2.065,-2.113 0.888,-0.502 1.894,-0.752 3.019,-0.752 1.075,0 2.012,0.227 2.811,0.681 0.798,0.454 1.417,1.096 1.857,1.925 0.44,0.83 0.66,1.808 0.66,2.935 0,0.673 -0.309,1.01 -0.928,1.01 h -7.211 c 0.098,1.08 0.415,1.874 0.953,2.383 0.538,0.509 1.32,0.763 2.347,0.763 0.521,0 0.981,-0.063 1.381,-0.188 0.399,-0.125 0.851,-0.297 1.356,-0.516 0.489,-0.251 0.848,-0.376 1.076,-0.376 z m -4.229,-6.551 c -0.831,0 -1.495,0.251 -1.992,0.752 -0.497,0.501 -0.794,1.22 -0.892,2.16 h 5.524 C 43.512,25.59 43.268,24.866 42.812,24.373 42.356,23.88 41.72,23.633 40.905,23.633 Z"
style="fill:#282828;fill-opacity:0.80000001;fill-rule:nonzero"
style="fill:#fbf1c7;fill-opacity:0.80000001;fill-rule:nonzero"
id="path4" />
<path
d="m 54.307,33.471 c -0.521,0 -1.186,-0.164 -1.506,-0.494 -0.32,-0.329 -0.48,-0.768 -0.48,-1.316 V 19.763 h -3.374 c -1.102,0 -1.652,-0.501 -1.652,-1.504 0,-0.988 0.55,-1.482 1.652,-1.482 h 10.719 c 1.102,0 1.653,0.494 1.653,1.482 0,1.003 -0.551,1.504 -1.653,1.504 h -3.374 v 11.898 c 0,0.548 -0.156,0.987 -0.468,1.316 -0.313,0.33 -0.981,0.494 -1.517,0.494 z"
style="fill:#282828;fill-opacity:0.80000001;fill-rule:nonzero"
style="fill:#fbf1c7;fill-opacity:0.80000001;fill-rule:nonzero"
id="path5" />
<path
d="m 69.693,21.69 c 0.545,0 0.978,0.148 1.297,0.446 0.32,0.297 0.479,0.704 0.479,1.221 v 8.616 c 0,0.486 -0.167,0.877 -0.502,1.175 -0.335,0.297 -0.768,0.446 -1.297,0.446 -0.499,0 -0.896,-0.141 -1.192,-0.423 -0.297,-0.282 -0.445,-0.658 -0.445,-1.127 v -0.235 c -0.358,0.595 -0.829,1.049 -1.414,1.362 -0.584,0.313 -1.242,0.469 -1.975,0.469 -1.449,0 -2.528,-0.403 -3.237,-1.209 -0.709,-0.806 -1.064,-2.023 -1.064,-3.651 v -5.423 c 0,-0.517 0.16,-0.924 0.479,-1.221 0.32,-0.298 0.752,-0.446 1.298,-0.446 0.545,0 0.974,0.148 1.285,0.446 0.312,0.297 0.468,0.704 0.468,1.221 v 5.494 c 0,0.688 0.144,1.197 0.432,1.526 0.288,0.329 0.729,0.493 1.321,0.493 0.685,0 1.243,-0.235 1.671,-0.704 0.429,-0.47 0.643,-1.088 0.643,-1.855 v -4.954 c 0,-0.517 0.156,-0.924 0.467,-1.221 0.312,-0.298 0.741,-0.446 1.286,-0.446 z"
style="fill:#282828;fill-opacity:0.80000001;fill-rule:nonzero"
style="fill:#fbf1c7;fill-opacity:0.80000001;fill-rule:nonzero"
id="path6" />
<path
d="m 81.429,21.643 c 1.017,0 1.915,0.242 2.694,0.727 0.779,0.486 1.387,1.178 1.824,2.079 0.437,0.899 0.655,1.944 0.655,3.134 0,1.19 -0.218,2.242 -0.655,3.158 -0.437,0.915 -1.049,1.628 -1.836,2.137 -0.787,0.508 -1.681,0.762 -2.682,0.762 -0.811,0 -1.542,-0.168 -2.194,-0.504 -0.651,-0.337 -1.152,-0.802 -1.502,-1.397 v 0.187 c 0,0.501 -0.159,0.904 -0.477,1.21 -0.317,0.305 -0.747,0.458 -1.287,0.458 -0.54,0 -0.974,-0.153 -1.299,-0.458 -0.326,-0.306 -0.489,-0.709 -0.489,-1.21 V 18.402 c 0,-0.485 0.171,-0.876 0.512,-1.173 0.342,-0.298 0.791,-0.447 1.347,-0.447 0.525,0 0.946,0.141 1.264,0.423 0.318,0.282 0.477,0.657 0.477,1.127 v 5.142 c 0.349,-0.579 0.846,-1.029 1.49,-1.35 0.644,-0.321 1.363,-0.481 2.158,-0.481 z m -1.049,9.298 c 0.842,0 1.494,-0.294 1.955,-0.881 0.461,-0.587 0.691,-1.412 0.691,-2.477 0,-1.049 -0.23,-1.851 -0.691,-2.407 -0.461,-0.555 -1.113,-0.833 -1.955,-0.833 -0.843,0 -1.494,0.286 -1.955,0.857 -0.461,0.571 -0.692,1.381 -0.692,2.43 0,1.064 0.231,1.882 0.692,2.454 0.461,0.571 1.112,0.857 1.955,0.857 z"
style="fill:#282828;fill-opacity:0.80000001;fill-rule:nonzero"
style="fill:#fbf1c7;fill-opacity:0.80000001;fill-rule:nonzero"
id="path7" />
<path
d="m 98.784,30.025 c 0.337,0 0.612,0.125 0.823,0.375 0.211,0.251 0.317,0.572 0.317,0.963 0,0.266 -0.084,0.513 -0.254,0.74 -0.168,0.227 -0.405,0.418 -0.709,0.575 -0.574,0.282 -1.241,0.513 -2.002,0.692 -0.76,0.181 -1.461,0.27 -2.103,0.27 -1.351,0 -2.53,-0.242 -3.535,-0.727 -1.005,-0.486 -1.778,-1.178 -2.318,-2.078 -0.541,-0.9 -0.811,-1.961 -0.811,-3.182 0,-1.174 0.262,-2.214 0.786,-3.122 0.523,-0.908 1.25,-1.617 2.179,-2.125 0.929,-0.509 1.984,-0.763 3.167,-0.763 1.132,0 2.124,0.231 2.977,0.692 0.853,0.462 1.517,1.12 1.989,1.973 0.473,0.853 0.71,1.85 0.71,2.993 0,0.345 -0.089,0.607 -0.266,0.787 -0.177,0.18 -0.427,0.27 -0.748,0.27 h -7.095 c 0.119,0.923 0.423,1.593 0.913,2.007 0.49,0.415 1.191,0.622 2.103,0.622 0.49,0 0.929,-0.054 1.317,-0.164 0.389,-0.11 0.82,-0.258 1.293,-0.446 0.236,-0.094 0.464,-0.176 0.684,-0.247 0.219,-0.07 0.414,-0.105 0.583,-0.105 z m -4.359,-5.941 c -0.726,0 -1.309,0.216 -1.748,0.646 -0.439,0.431 -0.701,1.053 -0.786,1.867 h 4.891 c -0.051,-0.83 -0.275,-1.456 -0.672,-1.878 -0.397,-0.423 -0.958,-0.635 -1.685,-0.635 z"
style="fill:#282828;fill-opacity:0.80000001;fill-rule:nonzero"
style="fill:#fbf1c7;fill-opacity:0.80000001;fill-rule:nonzero"
id="path8" />
</svg>

Before

Width:  |  Height:  |  Size: 8.0 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

View File

@ -85,7 +85,14 @@ export function getColorTranslations() {
i18n.t('Settings.Theme Settings.Main Color Theme.Catppuccin Mocha Sky'),
i18n.t('Settings.Theme Settings.Main Color Theme.Catppuccin Mocha Sapphire'),
i18n.t('Settings.Theme Settings.Main Color Theme.Catppuccin Mocha Blue'),
i18n.t('Settings.Theme Settings.Main Color Theme.Catppuccin Mocha Lavender')
i18n.t('Settings.Theme Settings.Main Color Theme.Catppuccin Mocha Lavender'),
i18n.t('Settings.Theme Settings.Main Color Theme.Gruvbox Green'),
i18n.t('Settings.Theme Settings.Main Color Theme.Gruvbox Red'),
i18n.t('Settings.Theme Settings.Main Color Theme.Gruvbox Yellow'),
i18n.t('Settings.Theme Settings.Main Color Theme.Gruvbox Blue'),
i18n.t('Settings.Theme Settings.Main Color Theme.Gruvbox Purple'),
i18n.t('Settings.Theme Settings.Main Color Theme.Gruvbox Aqua'),
i18n.t('Settings.Theme Settings.Main Color Theme.Gruvbox Orange')
]
}