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

Function get_textedit_style

gui_qt6/styles.py:183–198  ·  view source on GitHub ↗

文本编辑器样式

()

Source from the content-addressed store, hash-verified

181
182
183def get_textedit_style() -> str:
184 """文本编辑器样式"""
185 return f"""
186 QTextEdit {{
187 background-color: {COLORS['surface']};
188 border: 1px solid {COLORS['border']};
189 border-radius: 6px;
190 padding: 8px;
191 color: {COLORS['text_primary']};
192 }}
193
194 QTextEdit:focus {{
195 border-color: {COLORS['primary']};
196 outline: none;
197 }}
198 """
199
200
201def get_scrollarea_style() -> str:

Callers 1

get_complete_styleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected