🎉 Add themes infraestructure.

This commit is contained in:
Vitaly Kornilov 2020-04-08 11:57:29 +03:00 committed by Andrey Antukh
parent cd61269cd5
commit ea3e17f7fe
20 changed files with 207 additions and 33 deletions

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<title>UXBOX - The Open-Source prototyping tool</title>
<link href="/css/main.css?ts={{& ts}}" rel="stylesheet" type="text/css" />
<link id="theme" href="/css/main-{{& th}}.css?ts={{& ts}}" rel="stylesheet" type="text/css" />
<link rel="icon" href="/images/favicon.png" />
<!-- <link rel="preload" as="image" type="image/svg+xml" -->
<!-- href="/images/svg-sprite/symbol/svg/sprite.symbol.svg" /> -->
@ -16,6 +16,7 @@
<script>
window.uxboxConfig = JSON.parse({{& config }});
window.uxboxTranslations = JSON.parse({{& translations }});
window.uxboxThemes = {{& themes }};
</script>
<script src="/js/main.js?ts={{& ts}}"></script>
<script>uxbox.main.init()</script>

View file

@ -3,8 +3,9 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>UXBOX View</title>
<link href="/css/view.css?ts={{& ts}}" rel="stylesheet" type="text/css" />
<link href="/css/view-{{& th}}.css?ts={{& ts}}" rel="stylesheet" type="text/css" />
<link rel="icon" href="/images/favicon.png" />
</head>
<body>