Skip to content

Commit

Permalink
VSCode-xsty (xStormy)
Browse files Browse the repository at this point in the history
  • Loading branch information
xStormyy authored Dec 31, 2023
1 parent 3303e7b commit 1424d0f
Show file tree
Hide file tree
Showing 2 changed files with 305 additions and 0 deletions.
5 changes: 5 additions & 0 deletions themes/VSCode-xsty/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "xStormy",
"tags": ["VSCode", "Visual Studio Code", "CustomCSS"],
"raw_tags": ["dark"]
}
300 changes: 300 additions & 0 deletions themes/VSCode-xsty/theme.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,300 @@
/* your launcher theme - edit in settings or yourself if you know the bare minimum about css */

:root {
--background-primary: #1F1E1F;
--background-secondary: #252424;
--accent: #017ACC;
--text-primary: #FFFFFF;
--text-accent: #FFFFFF;
--text-grayed: #7E7E7E;
--shadow: 0px 0px rgba(0, 0, 0, 0.4);
--transition-speed: 0s;
--background-image: none;
--background-blur: 0px;
--background-brightness: 100%;
--rounding: 5px;
--border-primary: #000000;
--border-accent: #000000;
--border-thickness: 0px;
}

/* REQUIRED STYLES FOR JIAYI; don't be dumb and edit this file */

/*
This can't stop me, because I can't read!
- xStormy
*/

* {
box-sizing: border-box;
}

:root {
font-size: 16px;
font-family: "Segoe UI", Montserrat, sans-serif !important;
}

.invisible-normalizer {
opacity: 0;
width: 0;
overflow: hidden;
}

*:focus {
outline: none;
}

body {
color: var(--text-primary);
background-color: var(--background-primary);
margin: 0;
padding: 0;
transition-duration: var(--transition-speed);

user-select: none;
}

*::-webkit-scrollbar {
width: 0.3rem;
height: 0.3rem;
}

*::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0.2);
}

*::-webkit-scrollbar-thumb {
background: var(--accent);
}

h1 {
font-weight: 900;
}

h1:focus {
outline: none;
}

main {
/*margin-left: 5.5rem;*/
margin-right: 1.5rem;
margin-bottom: 1.5rem;
transition: var(--transition-speed);
}

#blazor-error-ui {
background: rgba(0, 0, 0, 0.5);
color: white;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1000;
display: none;
}

#blazor-error-ui .dismiss {
cursor: pointer;
position: absolute;
right: 0.75rem;
top: 0.5rem;
}

/* dumb stupid hacks to get modals to look right */

.modal {
background-color: var(--background-primary);
color: var(--text-grayed);
width: fit-content;
padding: 1rem;

position: fixed;
top: 50%;
left: 50%;
transform-origin: top left;
transform: translate(-50%, -50%);

transition: var(--transition-speed);
animation: modal-enter var(--transition-speed) ease;
}

.fade-in {
animation: better-fade-in var(--transition-speed) ease !important;
}

.fade-out {
animation: better-fade-out var(--transition-speed) ease !important;
}

.modal h3 {
margin-top: 0;
margin-bottom: 0px;
}

.modal button span {
color: var(--text-primary);
margin-top: 1rem;
}

.modal div:first-child {
padding-bottom: 0;
}

/* me when !important spam 🥶 */
.blazored-toast {
border: none !important;
box-shadow: var(--shadow) !important;
border-radius: 0 !important;
background-color: var(--background-secondary) !important;

animation: slide var(--transition-speed) ease !important;
}

.blazored-toast .blazored-toast-progressbar {
background-color: var(--background-primary) !important;
border-radius: 0 !important;
height: 3px !important;
}

.blazored-toast .blazored-toast-progressbar span {
background-color: var(--accent) !important;
border-radius: 0 !important;
height: 3px !important;
filter: none !important;
transition: var(--transition-speed) linear !important;
}

@keyframes slide {
from {
transform: translateX(40vw);
opacity: 0;
}

to {
transform: translateX(0);
opacity: 1;
}
}

/* let's play with modal animations */
@keyframes modal-enter {
from {
scale: 1.2;
opacity: 0;
}

to {
scale: 1;
opacity: 1;
}
}

@keyframes better-fade-in {
from {
opacity: 0;
}

to {
opacity: 1;
}
}

@keyframes better-fade-out {
from {
opacity: 1;
}

to {
opacity: 0;
}
}

/*
Theme's custom shit :amazing:
*/

/* dashboard */

.card i {
font-style: normal;
}

.card i a {
text-decoration: none;
color: var(--accent) !important;
}

.card i a:hover {
text-decoration: underline;
}

/* VSCode-like buttons */
button, .button {
font-family: "Segoe UI", Montserrat, sans-serif !important;
font-weight: 500 !important;
border-radius: 2px;
}

button:active, .button:active {
transform: none !important;
filter: none !important;
}

button:hover, .button:hover {
filter: brightness(1.2) !important;
}


/* Sidebar */
.sidebar {
box-shadow: none !important;
}

.logo {
display: none !important;
}

.sidebar-link[data-selected="yes"] .select-border {
width: 4px;
background-color: var(--text-primary) !important;
}

.sidebar-link[data-selected="yes"] {
background-color: var(--background-secondary) !important;
}


/* VSCode-like Input */
.textbox {
font-family: "Segoe UI", Montserrat, sans-serif !important;
}

.textbox:hover {
filter: none !important;
}

.textbox:focus {
outline: none;
box-shadow: 0px 0px 0px 2px var(--accent) inset !important;
border: none !important;
}

/* Settings screen */
.tab-button {
font-family: "Segoe UI", Montserrat, sans-serif !important;
}

.tab-button:hover {
letter-spacing: 0.2px !important;
font-weight: normal !important;
}

.tab-button:active {
transform: none !important;
}

/* VSCode-like (not actually) slider */
.slider::-webkit-slider-thumb {
border-radius: 100% !important;
}

0 comments on commit 1424d0f

Please sign in to comment.