Skip to content

Commit

Permalink
Merge pull request #5015 from systeminit/wendy/treeformitem-refactoring
Browse files Browse the repository at this point in the history
refactoring to replace CSS with Tailwind
  • Loading branch information
wendybujalski authored Nov 22, 2024
2 parents 43bc990 + edf740d commit 31b321d
Show file tree
Hide file tree
Showing 4 changed files with 101 additions and 287 deletions.
27 changes: 9 additions & 18 deletions app/web/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -163,24 +163,6 @@ const realtimeStore = useRealtimeStore();
);
}

/* some global css vars to be used in a few places... */
body.light {
--input-border-color: @colors-neutral-400;
--input-bg-color: @colors-neutral-100;
--input-focus-bg-color: @colors-white;
--input-focus-border-color: @colors-action-400;
--toast-text-color: @colors-black;
--toast-bg-color: @colors-white;
}
body.dark {
--input-border-color: @colors-neutral-600;
--input-bg-color: @colors-neutral-900;
--input-focus-bg-color: @colors-black;
--input-focus-border-color: @colors-action-300;
--toast-text-color: @colors-white;
--toast-bg-color: @colors-black;
}

@keyframes siToastFadeIn {
from {
opacity: 0;
Expand Down Expand Up @@ -219,6 +201,15 @@ body.dark {
min-height: 0;
}

body.light {
--toast-text-color: @colors-black;
--toast-bg-color: @colors-white;
}
body.dark {
--toast-text-color: @colors-white;
--toast-bg-color: @colors-black;
}

.Vue-Toastification__container.diagram-toast-container {
position: absolute; // default is fixed, but we want it positioned within its container, so go absolute
padding: 0;
Expand Down
Loading

0 comments on commit 31b321d

Please sign in to comment.