Merge pull request #858 from amirmamaghani/master

Added support for sash delay and duration customization
This commit is contained in:
mathuo 2025-02-12 21:15:52 +00:00 committed by GitHub
commit 21caabce60
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 3 deletions

View File

@ -118,14 +118,16 @@
touch-action: none; touch-action: none;
&:not(.disabled):active { &:not(.disabled):active {
transition: background-color 0.1s ease-in-out; transition: background-color
var(--dv-sash-transition-duration, 0.1s) ease-in-out;
background-color: var(--dv-active-sash-color, transparent); background-color: var(--dv-active-sash-color, transparent);
} }
&:not(.disabled):hover { &:not(.disabled):hover {
background-color: var(--dv-active-sash-color, transparent); background-color: var(--dv-active-sash-color, transparent);
transition: background-color 0.1s ease-in-out; transition: background-color
transition-delay: 0.5s; var(--dv-sash-transition-duration, 0.1s) ease-in-out;
transition-delay: var(--dv-sash-transition-delay, 0s);
} }
} }
} }

View File

@ -8,6 +8,9 @@
--dv-icon-hover-background-color: rgba(90, 93, 94, 0.31); --dv-icon-hover-background-color: rgba(90, 93, 94, 0.31);
--dv-floating-box-shadow: 8px 8px 8px 0px rgba(83, 89, 93, 0.5); --dv-floating-box-shadow: 8px 8px 8px 0px rgba(83, 89, 93, 0.5);
--dv-overlay-z-index: 999; --dv-overlay-z-index: 999;
--dv-sash-transition-duration: 0.1s;
--dv-sash-transition-delay: 0.5s;
} }
@mixin dockview-theme-dark-mixin { @mixin dockview-theme-dark-mixin {