Skip to content

Commit a3a2837

Browse files
committed
pulled out more css and js
1 parent 52deca1 commit a3a2837

6 files changed

Lines changed: 620 additions & 683 deletions

File tree

footer.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
document.addEventListener("DOMContentLoaded", () => {
2+
document.getElementById("year").textContent = new Date().getFullYear();
3+
});

index.html

Lines changed: 113 additions & 185 deletions
Large diffs are not rendered by default.

philosophy.html

Lines changed: 459 additions & 498 deletions
Large diffs are not rendered by default.

schema.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"@context": "https://schema.org",
3+
"@type": "SoftwareSourceCode",
4+
"name": "Basis",
5+
"alternateName": "BasisVR",
6+
"url": "https://basisvr.org",
7+
"codeRepository": "https://github.com/BasisVR/basis",
8+
"programmingLanguage": ["C#", "Unity"],
9+
"license": "https://opensource.org/license/mit/",
10+
"keywords": "VR, social VR, networked VR, framework, open source, Unity",
11+
"applicationCategory": "DeveloperApplication",
12+
"description": "An open-source VR framework to bootstrap presence, spatialization, and embodiment.",
13+
"publisher": { "@type": "Organization", "name": "BasisVR" }
14+
}

styles.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
::selection {
2+
background: rgba(239,18,55,0.25);
3+
}

theme.js

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
tailwind.config = {
2+
theme: {
3+
extend: {
4+
fontFamily: { sans: ['Inter', 'ui-sans-serif', 'system-ui'] },
5+
colors: {
6+
brand: {
7+
DEFAULT: '#ef1237',
8+
100: '#ffd6de',
9+
300: '#ff5775',
10+
500: '#ef1237',
11+
700: '#950a24'
12+
},
13+
basisbg: '#100f27'
14+
},
15+
boxShadow: {
16+
soft: '0 8px 30px rgba(0,0,0,0.08)'
17+
}
18+
}
19+
},
20+
darkMode: 'class'
21+
};
22+
23+
(function () {
24+
const stored = localStorage.getItem('theme');
25+
const systemDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
26+
const theme = stored || (systemDark ? 'dark' : 'light');
27+
if (theme === 'dark') document.documentElement.classList.add('dark');
28+
})();

0 commit comments

Comments
 (0)