create-cocos-plugin
Version:
> **Compatibility Note:** > create-cocos-plugin dependens on Vite. Vite requires [Node.js](https://nodejs.org/en/) version 18+, 20+. However, some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.
87 lines (73 loc) • 1.43 kB
CSS
:root {
background-color: #242424;
color: rgb(255 255 255 / 87%);
color-scheme: light dark;
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-synthesis: none;
font-weight: 400;
line-height: 1.5;
text-rendering: optimizelegibility;
}
a {
color: #646cff;
font-weight: 500;
text-decoration: inherit;
}
a:hover {
color: #535bf2;
}
body {
display: flex;
min-width: 320px;
min-height: 100vh;
margin: 0;
place-items: center;
}
h1 {
font-size: 3.2em;
line-height: 1.1;
}
#app {
max-width: 1280px;
padding: 2rem;
margin: 0 auto;
text-align: center;
}
.logo {
height: 6em;
padding: 1.5em;
transition: filter 300ms;
will-change: filter;
}
.logo:hover {
filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.vanilla:hover {
filter: drop-shadow(0 0 2em #f7df1eaa);
}
.card {
padding: 2em;
}
.read-the-docs {
color: #888;
}
button {
padding: 0.6em 1.2em;
border: 1px solid transparent;
border-radius: 8px;
background-color: #1a1a1a;
cursor: pointer;
font-family: inherit;
font-size: 1em;
font-weight: 500;
transition: border-color 0.25s;
}
button:hover {
border-color: #646cff;
}
button:focus,
button:focus-visible {
outline: 4px auto -webkit-focus-ring-color;
}