Skip to content

Commit ae8d4c9

Browse files
committed
[design] improve theme preset controls
1 parent ed67b3d commit ae8d4c9

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

‎src/css/theme.css‎

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,20 @@
4343

4444
.theme-preset-background-02{
4545
z-index:2;
46-
clip-path:polygon(00,100%100%,100%100%,100%0,00);
47-
transition-delay:var(--layout-duration-04);
46+
clip-path:polygon(040%,60%100%,100%100%,100%0,00);
47+
transition-delay:0;
4848
}
4949

5050
.theme-preset-background-03{
5151
z-index:3;
52-
clip-path:polygon(00,40%0,100%60%,100%0);
53-
transition-delay:var(--layout-duration-03);
52+
clip-path:polygon(00,100%100%,100%0);
53+
transition-delay:0;
5454
}
5555

5656
.theme-preset-background-04{
5757
z-index:4;
58-
clip-path:polygon(80%0,100%20%,100%0);
59-
transition-delay:var(--layout-duration-02);
58+
clip-path:polygon(40%0,100%60%,100%0);
59+
transition-delay:0;
6060
}
6161

6262
.theme-preset-accent{
@@ -67,26 +67,26 @@
6767

6868
.theme-preset-button:focus .theme-preset-background-02,
6969
.theme-preset-button:hover .theme-preset-background-02{
70-
clip-path:polygon(040%,60%100%,100%100%,100%0,00);
71-
transition-delay:var(--layout-duration-01);
70+
clip-path:polygon(020%,80%100%,100%100%,100%0,00);
71+
transition-delay:var(--layout-duration-04);
7272
}
7373

7474
.theme-preset-button:focus .theme-preset-background-03,
7575
.theme-preset-button:hover .theme-preset-background-03{
76-
clip-path:polygon(00,00,100%100%,100%0);
77-
transition-delay:var(--layout-duration-02);
76+
clip-path:polygon(20%0,100%80%,100%0);
77+
transition-delay:var(--layout-duration-03);
7878
}
7979

8080
.theme-preset-button:focus .theme-preset-background-04,
8181
.theme-preset-button:hover .theme-preset-background-04{
82-
clip-path:polygon(40%0,100%60%,100%0);
83-
transition-delay:var(--layout-duration-03);
82+
clip-path:polygon(60%0,100%40%,100%0);
83+
transition-delay:var(--layout-duration-02);
8484
}
8585

8686
.theme-preset-button:focus .theme-preset-accent,
8787
.theme-preset-button:hover .theme-preset-accent{
88-
clip-path:polygon(100%40%,100%100%,40%100%);
89-
transition-delay:var(--layout-duration-02);
88+
clip-path:polygon(100%30%,100%100%,30%100%);
89+
transition-delay:var(--layout-duration-01);
9090
}
9191

9292
.theme-preset-background-nighttab-01{

0 commit comments

Comments
(0)