plottery_editor 0.7.0

Graphical Editor of Plottery, a creative coding framework for generative vector graphics and pen plotting.
/* GLOBAL */

* {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  user-select: none;
  /* transition: 0.2s all; */

  --col-bg-0: #202120;
  --col-bg-1: #292a29;
  --col-bg-2: #383938;
  --col-bg-3: #505250;
  --col-fg-0: #e5e5e5;
  --col-fg-1: #d4d4d4;
  --col-fg-2: #c3c3c3;
  --col-err: #a44;
  --col-active: #494;
  --col-selected: #449;

  --col-loading: #202520ee;

  --gap-small: 3px;
  --gap-0: 6px;
  --gap-1: 12px;
  --gap-2: 18px;
  --gap-3: 24px;
  --gap-4: 30px;

  --border-radius: 0;
  --header-height: 65px;
}

html {
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  max-width: 100vw;
  overscroll-behavior: none;
}
body {
  display: flex;
  flex-direction: column;
  color: var(--col-fg-0);
  background-color: var(--col-bg-0);
  min-height: 100vh;
  min-width: 100vw;
}
#main {
  width: 100vw;
  height: 100vh;
}

p {
  font-size: 16px;
}
h2 {
  font-size: 20px;
}
h1 {
  font-size: 24px;
  text-transform: capitalize;
}

button {
  font-size: 16px;
  padding: var(--gap-0) var(--gap-1);
  border-radius: var(--border-radius);
  background-color: var(--col-fg-0);
  color: var(--col-bg-0);
  border: none;
  cursor: pointer;
  outline: none;
  min-height: 45px;
}
button:hover {
  filter: brightness(1.25);
}

.img_button {
  /* center the containing img */
  display: flex;
  justify-content: center;
  align-items: center;
}

input {
  font-size: 16px;
  padding: var(--gap-0);
  border-radius: var(--border-radius);
  background-color: var(--col-bg-1);
  color: var(--col-fg-0);
  border: none;
  outline: none;
}
input:hover {
  filter: brightness(1.25);
}

.err_box {
  padding: var(--gap-0);
  background-color: var(--col-err) !important;
  border-radius: var(--border-radius) !important;
}

.icon_button {
  padding: var(--gap-0) !important;
}
.icon_button img {
  padding: 0;
  margin: auto;
  display: block;
  width: 30px;
  height: 30px;
}