Fix colour system
This commit is contained in:
@@ -10,8 +10,17 @@
|
||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
|
||||
<link href="{{ url_for('static', filename='css/file-grid.css') }}" rel="stylesheet">
|
||||
<link href="{{ url_for('static', filename='css/base.css') }}" rel="stylesheet">
|
||||
<link rel="stylesheet" href="{{ url_for('main.dynamic_colors') }}">
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/colors.css') }}">
|
||||
<link rel="stylesheet" href="{{ url_for('main.dynamic_colors') }}?v={{ site_settings.updated_at.timestamp() }}" onload="console.log('[CSS] Dynamic colors loaded with version:', '{{ site_settings.updated_at.timestamp() }}')">
|
||||
{% block extra_css %}{% endblock %}
|
||||
<script>
|
||||
console.log('[CSS] Base colors loaded');
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
console.log('[CSS] All CSS files loaded');
|
||||
console.log('[CSS] Primary color:', getComputedStyle(document.documentElement).getPropertyValue('--primary-color').trim());
|
||||
console.log('[CSS] Secondary color:', getComputedStyle(document.documentElement).getPropertyValue('--secondary-color').trim());
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!-- Navigation -->
|
||||
|
||||
Reference in New Issue
Block a user