MCPcopy Create free account
hub / github.com/BasicProtein/AugmentCode-Free / get_label_style

Function get_label_style

gui_qt6/styles.py:141–180  ·  view source on GitHub ↗

标签样式

()

Source from the content-addressed store, hash-verified

139
140
141def get_label_style() -> str:
142 """标签样式"""
143 return f"""
144 QLabel {{
145 color: {COLORS['text_primary']};
146 background-color: transparent;
147 }}
148
149 QLabel.title {{
150 font-size: 24px;
151 font-weight: bold;
152 color: {COLORS['primary']};
153 }}
154
155 QLabel.subtitle {{
156 font-size: 16px;
157 font-weight: bold;
158 color: {COLORS['text_primary']};
159 }}
160
161 QLabel.secondary {{
162 color: {COLORS['text_secondary']};
163 }}
164
165 QLabel.link {{
166 color: {COLORS['primary']};
167 text-decoration: underline;
168 }}
169
170 QLabel.link:hover {{
171 color: {COLORS['primary_hover']};
172 }}
173
174 QLabel.warning {{
175 color: {COLORS['warning_text']};
176 background-color: {COLORS['warning_bg']};
177 padding: 12px;
178 border-radius: 6px;
179 }}
180 """
181
182
183def get_textedit_style() -> str:

Callers 1

get_complete_styleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected