Skip to content

Commit b6e3638

Browse files
author
Jaime de Venecia
committed
Update color in quasar.variables.scss, remove white border on HTML elemnt modal, add box-shadow to modal with consideration of dark background
1 parent 0814f6f commit b6e3638

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

src/components/right-sidebar/Tree.vue

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -282,10 +282,18 @@ watch(componentMap, () => (treeData.value = buildTree(componentMap.value)), {
282282
justify-content: center;
283283
// padding: 10em;
284284
border-radius: 5px;
285-
box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
286-
rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
287-
rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
288-
border: 1px solid white;
285+
// no border, box shadow for dark background
286+
box-shadow: inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.075),
287+
/* shadow ring 👇 */ 0 0 0 1px hsla(0, 0%, 0%, 0.05),
288+
/* multiple soft shadows 👇 */ 0 0.3px 0.4px hsla(0, 0%, 0%, 0.02),
289+
0 0.9px 1.5px hsla(0, 0%, 0%, 0.045), 0 3.5px 6px hsla(0, 0%, 0%, 0.09);
290+
291+
// old styling
292+
// border: 1px solid white;
293+
// box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
294+
// rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
295+
// rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
296+
289297
position: relative;
290298
}
291299

src/css/quasar.variables.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ Tip: Use the "Theme Builder" on Quasar's documentation website.
1616
*/
1717

1818
$primary: #737578;
19-
$secondary: #61d18c;
19+
// $secondary: #61d18c; // old color
20+
$secondary: #34ab83;
2021
$accent: #a1ddc2;
2122
$subaccent: #0d0d0d;
2223
$subaccentbtn: #2c384d;

0 commit comments

Comments
 (0)