-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* adds new styling for the tweakpane pannel * adds check for the presence of an appWrapper div on the document * updates tweakpane wrapping and visibility toggle logic * removes unecessary divider and foldable blade for the renderer stats * updates tweakpane inner styling * updates component to be relative to the appWrapper * updates component to be relative to the appWrapper * removes commented out unrelated code * re-adds accidentally deleted part ot the characterDescription usage example * fixes characterDescription usage example * fixes characterDescription usage example
- Loading branch information
1 parent
0d0c89d
commit a3e15a8
Showing
7 changed files
with
99 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,44 @@ | ||
:root { | ||
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif; | ||
line-height: 1.5; | ||
font-weight: 400; | ||
color-scheme: light dark; | ||
color: black; | ||
background-color: #121212; | ||
font-synthesis: none; | ||
text-rendering: optimizeLegibility; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
-webkit-text-size-adjust: 100%; | ||
} | ||
|
||
a { | ||
font-weight: 500; | ||
color: #646cff; | ||
text-decoration: inherit; | ||
} | ||
a:hover { | ||
color: #535bf2; | ||
html, | ||
body, | ||
#app, | ||
#root { | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
body { | ||
margin: 0; | ||
display: flex; | ||
place-items: center; | ||
min-width: 320px; | ||
min-height: 100vh; | ||
overflow: hidden; | ||
} | ||
|
||
h1 { | ||
font-size: 3.2em; | ||
line-height: 1.1; | ||
#app { | ||
position: relative; | ||
width: 100%; | ||
height: 100%; | ||
overflow: hidden; | ||
} | ||
|
||
#app { | ||
max-width: 100vw; | ||
margin: 0 auto; | ||
padding: 0; | ||
text-align: center; | ||
.frame-emu { | ||
position: relative; | ||
width: 90% !important; | ||
height: 90% !important; | ||
transform: translate(5%, 5%) !important; | ||
overflow: hidden !important; | ||
} | ||
|
||
@media (prefers-color-scheme: light) { | ||
:root { | ||
color: #213547; | ||
background-color: #ffffff; | ||
} | ||
a:hover { | ||
color: #747bff; | ||
} | ||
button { | ||
background-color: #f9f9f9; | ||
} | ||
#tweakpane-panel { | ||
position: fixed; | ||
width: 400px; | ||
height: 100%; | ||
top: 0px; | ||
right: calc(-50vw); | ||
z-index: 99; | ||
overflow: auto; | ||
background-color: rgba(0, 0, 0, 0.66); | ||
padding-left: 5px; | ||
box-shadow: -7px 0px 12px rgba(0, 0, 0, 0.5); | ||
transition: right cubic-bezier(0.83, 0, 0.17, 1) 0.7s; | ||
|
||
scrollbar-width: auto; | ||
scrollbar-color: #aaaaaa #000000; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters