Skip to content

Commit

Permalink
feat: add an inital loading message and style
Browse files Browse the repository at this point in the history
  • Loading branch information
amoshydra committed Feb 15, 2024
1 parent 1eefd76 commit 99efc01
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 16 deletions.
26 changes: 25 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,32 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>BangleJS Home</title>
</head>
<style>
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;

color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;

font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.inital-loader {
padding: 2rem;
text-align: center;
}
</style>
<body>
<div id="root"></div>
<div id="root">
<div class="inital-loader">
Loading application...
</div>
</div>
<script>
const SETTINGS = {
pretokenise : true,
Expand Down
15 changes: 0 additions & 15 deletions src/index.css
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;

color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;

font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

a {
font-weight: 500;
color: #646cff;
Expand Down

0 comments on commit 99efc01

Please sign in to comment.