After Graduate Update

This commit is contained in:
Daniel 2025-11-26 19:31:33 +03:00
parent b92a91ab37
commit c6917dd85e
69 changed files with 7540 additions and 0 deletions

View file

@ -0,0 +1,4 @@
MAIN_COLOR = "#FFFFFF"
SECONDARY_COLOR = "#F4E8D3"
ACCENT_COLOR = "#67BA80"
ACCENT_COLOR_HOVER = "#529265"

View file

@ -0,0 +1 @@
MAIN_FONT = "Segoe UI"

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

View file

@ -0,0 +1,35 @@
from string import Template
from res.colors import MAIN_COLOR, SECONDARY_COLOR, ACCENT_COLOR
from res.fonts import MAIN_FONT
styles_template = Template(
"""
QWidget {
font-family: {MAIN_FONT};
background-color: {MAIN_COLOR}
color: {SECONDARY_COLOR};
}
QPushButton {
background-color: {ACCENT_COLOR};
border: none;
padding: 8px 16px;
border-radius: 4px;
}
QPushButton:hover {
background-color: {SECONDARY_COLOR};
}
QLineEdit {
padding: 6px;
border: 1px solid {ACCENT_COLOR};
border-radius: 4px;
background-color: white;
}
"""
)
styles = styles_template.substitute(
MAIN_FONT=MAIN_FONT,
MAIN_COLOR=MAIN_COLOR,
SECONDARY_COLOR=SECONDARY_COLOR,
ACCENT_COLOR=ACCENT_COLOR,
)