You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Andrei Andreev edited this page Jul 16, 2023
·
1 revision
As the game was not initially developed with Vue SFC, some of the CSS code is in separate .css files, and some is in the <style> tags in .vue files. New CSS code should go inside .vue files.
o- for the most fundamental objects (like o-primary-btn or o-achievement)
c- for all other building blocks. Note that these classes contain no layout stuff (width and height are not layout stuff, so put them here)
l- for layouting c- components. The most usual stuff is display, flex-direction, margin, padding
t- for themes (see below)
Theming is implemented via classes instead of loading additional CSS files. Basically, when theme Theme Name is active, a class t-theme-name is added to the body. So, because of that, all theming is now done in the main CSS file near themed component (ex. .t-inverted-metro .c-primary-btn { /* stuff */ }). Secret themes are t-s1 to t-s11.