Flatten GUI chrome so the form sits on the graph-paper canvas.
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
Remove the nested traffic-light window, drop desktop/demo.html, and keep the OmniRoute grid visible behind the operator form in both themes. Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import re
|
||||
from html.parser import HTMLParser
|
||||
from pathlib import Path
|
||||
|
||||
from xlsx_clean.paths import package_file
|
||||
|
||||
@@ -41,6 +42,9 @@ def test_ui_asset_exists_and_has_required_bridge_content():
|
||||
assert "#0b0e14" in content
|
||||
assert "#e54d5e" in content
|
||||
assert "background-size: var(--grid-size) var(--grid-size)" in content
|
||||
assert "background: transparent" in content
|
||||
assert "tl-red" not in content
|
||||
assert 'class="chrome"' not in content
|
||||
StrictHtmlParser().feed(content)
|
||||
|
||||
|
||||
@@ -51,3 +55,7 @@ def test_ui_font_sources_are_bundled_locally():
|
||||
assert font_urls == ["../fonts/Inter-Regular.ttf", "../fonts/Inter-Bold.ttf"]
|
||||
for font_url in font_urls:
|
||||
assert (package_file("ui") / font_url).resolve().is_file()
|
||||
|
||||
|
||||
def test_demo_html_is_not_shipped():
|
||||
assert not Path("desktop/demo.html").exists()
|
||||
|
||||
Reference in New Issue
Block a user