css: split cassandra.css into per-section files
Splits the 2571-line cassandra.css into ten focused stylesheets: tokens (palette + fonts), layout (chrome), panels, dashboard, portfolio, log-chat, auth, settings, news, public. base.html and public_base.html load only what they need; auth pages (login, verify, unsubscribe confirm) load tokens + layout + auth. Brand drift-detection test repointed at tokens.css (where the palette now lives). 291 tests still pass.
This commit is contained in:
parent
78ce8c8b0d
commit
355593c4f7
19 changed files with 2556 additions and 2585 deletions
|
|
@ -36,7 +36,15 @@
|
|||
} catch (e) { document.documentElement.dataset.theme = 'light'; }
|
||||
})();
|
||||
</script>
|
||||
<link rel="stylesheet" href="{{ url_for('static', path='/css/cassandra.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url_for('static', path='/css/tokens.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url_for('static', path='/css/layout.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url_for('static', path='/css/panels.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url_for('static', path='/css/dashboard.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url_for('static', path='/css/portfolio.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url_for('static', path='/css/log-chat.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url_for('static', path='/css/auth.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url_for('static', path='/css/settings.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url_for('static', path='/css/news.css') }}" />
|
||||
<script src="{{ url_for('static', path='/js/htmx.min.js') }}" defer></script>
|
||||
<script>
|
||||
// Inject the user's preferred TONE (NOVICE | INTERMEDIATE) into every
|
||||
|
|
|
|||
|
|
@ -10,7 +10,9 @@
|
|||
catch (e) { document.documentElement.dataset.theme = 'light'; }
|
||||
})();
|
||||
</script>
|
||||
<link rel="stylesheet" href="{{ url_for('static', path='/css/cassandra.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url_for('static', path='/css/tokens.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url_for('static', path='/css/layout.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url_for('static', path='/css/auth.css') }}" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="auth-shell">
|
||||
|
|
|
|||
|
|
@ -14,7 +14,12 @@
|
|||
} catch (e) { document.documentElement.dataset.theme = 'light'; }
|
||||
})();
|
||||
</script>
|
||||
<link rel="stylesheet" href="{{ url_for('static', path='/css/cassandra.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url_for('static', path='/css/tokens.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url_for('static', path='/css/layout.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url_for('static', path='/css/panels.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url_for('static', path='/css/auth.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url_for('static', path='/css/settings.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url_for('static', path='/css/public.css') }}" />
|
||||
</head>
|
||||
<body class="public-page">
|
||||
<div class="public-shell">
|
||||
|
|
|
|||
|
|
@ -10,7 +10,9 @@
|
|||
catch (e) { document.documentElement.dataset.theme = 'light'; }
|
||||
})();
|
||||
</script>
|
||||
<link rel="stylesheet" href="{{ url_for('static', path='/css/cassandra.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url_for('static', path='/css/tokens.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url_for('static', path='/css/layout.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url_for('static', path='/css/auth.css') }}" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="auth-shell">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue