Skip to content
This repository was archived by the owner on Jul 9, 2024. It is now read-only.

Commit 4b3cccb

Browse files
committed
suggested_destructive border-color: if($variant =='light', darken($actionb_color, 15%), darken($actionb_color, 30%));
modified: src/Mint-Y/gtk-3.0/gtk.css modified: src/Mint-Y/gtk-3.0/sass/_drawing.scss modified: src/Mint-Y/gtk-4.0/gtk.css modified: src/Mint-Y/gtk-4.0/sass/_drawing.scss
1 parent d7145af commit 4b3cccb

4 files changed

Lines changed: 34 additions & 34 deletions

File tree

src/Mint-Y/gtk-3.0/gtk.css

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ button {
398398
color: #ffffff;
399399
outline-color: rgba(255, 255, 255, 0.5);
400400
background-color: #18AA61;
401-
border-color: #052415; }
401+
border-color: #0f673b; }
402402
button.suggested-action.flat {
403403
border-color: transparent;
404404
background-color: transparent;
@@ -410,13 +410,13 @@ button {
410410
color: #ffffff;
411411
outline-color: rgba(255, 255, 255, 0.5);
412412
background-color: #1ed77b;
413-
border-color: #0b512e; }
413+
border-color: #159454; }
414414
button.suggested-action:active, button.suggested-action:checked {
415415
background-clip: border-box;
416416
color: #ffffff;
417417
outline-color: rgba(255, 255, 255, 0.5);
418418
background-color: #127d48;
419-
border-color: black; }
419+
border-color: #083a21; }
420420
button.suggested-action.flat:disabled {
421421
border-color: transparent;
422422
background-color: transparent;
@@ -433,7 +433,7 @@ button {
433433
color: #ffffff;
434434
outline-color: rgba(255, 255, 255, 0.5);
435435
background-color: #E50013;
436-
border-color: #4c0006; }
436+
border-color: #99000d; }
437437
button.destructive-action.flat {
438438
border-color: transparent;
439439
background-color: transparent;
@@ -445,13 +445,13 @@ button {
445445
color: #ffffff;
446446
outline-color: rgba(255, 255, 255, 0.5);
447447
background-color: #ff192c;
448-
border-color: #7f000b; }
448+
border-color: #cc0011; }
449449
button.destructive-action:active, button.destructive-action:checked {
450450
background-clip: border-box;
451451
color: #ffffff;
452452
outline-color: rgba(255, 255, 255, 0.5);
453453
background-color: #b2000f;
454-
border-color: #190002; }
454+
border-color: #660008; }
455455
button.destructive-action.flat:disabled {
456456
border-color: transparent;
457457
background-color: transparent;
@@ -1157,7 +1157,7 @@ headerbar .linked:not(.vertical).path-bar > button {
11571157
color: #ffffff;
11581158
outline-color: rgba(255, 255, 255, 0.5);
11591159
background-color: #18AA61;
1160-
border-color: #052415; }
1160+
border-color: #0f673b; }
11611161

11621162
.primary-toolbar button.suggested-action.flat, headerbar button.suggested-action.flat {
11631163
border-color: transparent;
@@ -1171,15 +1171,15 @@ headerbar .linked:not(.vertical).path-bar > button {
11711171
color: #ffffff;
11721172
outline-color: rgba(255, 255, 255, 0.5);
11731173
background-color: #1ed77b;
1174-
border-color: #0b512e; }
1174+
border-color: #159454; }
11751175

11761176
.primary-toolbar button.suggested-action:active, headerbar button.suggested-action:active,
11771177
.primary-toolbar button.suggested-action:checked, headerbar button.suggested-action:checked {
11781178
background-clip: border-box;
11791179
color: #ffffff;
11801180
outline-color: rgba(255, 255, 255, 0.5);
11811181
background-color: #127d48;
1182-
border-color: black; }
1182+
border-color: #083a21; }
11831183

11841184
.primary-toolbar button.suggested-action:disabled, headerbar button.suggested-action:disabled {
11851185
color: rgba(0, 0, 0, 0.42);
@@ -1199,7 +1199,7 @@ headerbar .linked:not(.vertical).path-bar > button {
11991199
color: #ffffff;
12001200
outline-color: rgba(255, 255, 255, 0.5);
12011201
background-color: #E50013;
1202-
border-color: #4c0006; }
1202+
border-color: #99000d; }
12031203

12041204
.primary-toolbar button.destructive-action.flat, headerbar button.destructive-action.flat {
12051205
border-color: transparent;
@@ -1213,15 +1213,15 @@ headerbar .linked:not(.vertical).path-bar > button {
12131213
color: #ffffff;
12141214
outline-color: rgba(255, 255, 255, 0.5);
12151215
background-color: #ff192c;
1216-
border-color: #7f000b; }
1216+
border-color: #cc0011; }
12171217

12181218
.primary-toolbar button.destructive-action:active, headerbar button.destructive-action:active,
12191219
.primary-toolbar button.destructive-action:checked, headerbar button.destructive-action:checked {
12201220
background-clip: border-box;
12211221
color: #ffffff;
12221222
outline-color: rgba(255, 255, 255, 0.5);
12231223
background-color: #b2000f;
1224-
border-color: #190002; }
1224+
border-color: #660008; }
12251225

12261226
.primary-toolbar button.destructive-action:disabled, headerbar button.destructive-action:disabled {
12271227
color: rgba(0, 0, 0, 0.42);
@@ -3912,38 +3912,38 @@ EvWindow .content-view .view:focus:selected {
39123912
color: #ffffff;
39133913
outline-color: rgba(255, 255, 255, 0.5);
39143914
background-color: #E50013;
3915-
border-color: #4c0006; }
3915+
border-color: #99000d; }
39163916
#shutdown_button.button:hover {
39173917
background-clip: border-box;
39183918
color: #ffffff;
39193919
outline-color: rgba(255, 255, 255, 0.5);
39203920
background-color: #ff192c;
3921-
border-color: #7f000b; }
3921+
border-color: #cc0011; }
39223922
#shutdown_button.button:active, #shutdown_button.button:checked {
39233923
background-clip: border-box;
39243924
color: #ffffff;
39253925
outline-color: rgba(255, 255, 255, 0.5);
39263926
background-color: #b2000f;
3927-
border-color: #190002; }
3927+
border-color: #660008; }
39283928

39293929
#restart_button.button {
39303930
background-clip: border-box;
39313931
color: #ffffff;
39323932
outline-color: rgba(255, 255, 255, 0.5);
39333933
background-color: #18AA61;
3934-
border-color: #052415; }
3934+
border-color: #0f673b; }
39353935
#restart_button.button:hover {
39363936
background-clip: border-box;
39373937
color: #ffffff;
39383938
outline-color: rgba(255, 255, 255, 0.5);
39393939
background-color: #1ed77b;
3940-
border-color: #0b512e; }
3940+
border-color: #159454; }
39413941
#restart_button.button:active, #restart_button.button:checked {
39423942
background-clip: border-box;
39433943
color: #ffffff;
39443944
outline-color: rgba(255, 255, 255, 0.5);
39453945
background-color: #127d48;
3946-
border-color: black; }
3946+
border-color: #083a21; }
39473947

39483948
#greeter_infobar {
39493949
border-bottom-width: 0;

src/Mint-Y/gtk-3.0/sass/_drawing.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@
281281
color: $selected_fg_color;
282282
outline-color: transparentize($selected_fg_color, 0.5);
283283
background-color: $actionb_color;
284-
border-color: darken($actionb_color, 30%);
284+
border-color: if($variant =='light', darken($actionb_color, 15%), darken($actionb_color, 30%));
285285
}
286286

287287
@else if $t==undecorated {

src/Mint-Y/gtk-4.0/gtk.css

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ button.suggested-action {
639639
color: #ffffff;
640640
outline-color: rgba(255, 255, 255, 0.5);
641641
background-color: #18AA61;
642-
border-color: #052415; }
642+
border-color: #0f673b; }
643643
popover.background.touch-selection button.suggested-action, popover.background.magnifier button.suggested-action,
644644
button.suggested-action {
645645
outline-color: rgba(146, 179, 114, 0.5);
@@ -664,7 +664,7 @@ button.suggested-action {
664664
color: #ffffff;
665665
outline-color: rgba(255, 255, 255, 0.5);
666666
background-color: #1ed77b;
667-
border-color: #0b512e; }
667+
border-color: #159454; }
668668
popover.background.touch-selection button.suggested-action:active, popover.background.magnifier button.suggested-action:active, popover.background.touch-selection button.suggested-action:checked, popover.background.magnifier button.suggested-action:checked,
669669
button.suggested-action:active,
670670
button.suggested-action:checked {
@@ -674,7 +674,7 @@ button.suggested-action {
674674
color: #ffffff;
675675
outline-color: rgba(255, 255, 255, 0.5);
676676
background-color: #127d48;
677-
border-color: black; }
677+
border-color: #083a21; }
678678

679679
button.suggested-action.flat:disabled {
680680
outline-color: rgba(146, 179, 114, 0.5);
@@ -702,7 +702,7 @@ button.destructive-action {
702702
color: #ffffff;
703703
outline-color: rgba(255, 255, 255, 0.5);
704704
background-color: #E50013;
705-
border-color: #4c0006; }
705+
border-color: #99000d; }
706706
popover.background.touch-selection button.destructive-action, popover.background.magnifier button.destructive-action,
707707
button.destructive-action {
708708
outline-color: rgba(146, 179, 114, 0.5);
@@ -727,7 +727,7 @@ button.destructive-action {
727727
color: #ffffff;
728728
outline-color: rgba(255, 255, 255, 0.5);
729729
background-color: #ff192c;
730-
border-color: #7f000b; }
730+
border-color: #cc0011; }
731731
popover.background.touch-selection button.destructive-action:active, popover.background.magnifier button.destructive-action:active, popover.background.touch-selection button.destructive-action:checked, popover.background.magnifier button.destructive-action:checked,
732732
button.destructive-action:active,
733733
button.destructive-action:checked {
@@ -737,7 +737,7 @@ button.destructive-action {
737737
color: #ffffff;
738738
outline-color: rgba(255, 255, 255, 0.5);
739739
background-color: #b2000f;
740-
border-color: #190002; }
740+
border-color: #660008; }
741741

742742
button.destructive-action.flat:disabled {
743743
outline-color: rgba(146, 179, 114, 0.5);
@@ -938,7 +938,7 @@ windowcontrols list > row button:not(.flat).suggested-action {
938938
color: #ffffff;
939939
outline-color: rgba(255, 255, 255, 0.5);
940940
background-color: #18AA61;
941-
border-color: #052415; }
941+
border-color: #0f673b; }
942942

943943
popover.menu box.circular-buttons button.destructive-action.circular.image-button.model, popover.menu box.circular-buttons windowcontrols button.destructive-action.circular.model, windowcontrols popover.menu box.circular-buttons button.destructive-action.circular.model,
944944
list > row button.image-button:not(.flat).destructive-action,
@@ -950,7 +950,7 @@ windowcontrols list > row button:not(.flat).destructive-action {
950950
color: #ffffff;
951951
outline-color: rgba(255, 255, 255, 0.5);
952952
background-color: #E50013;
953-
border-color: #4c0006; }
953+
border-color: #99000d; }
954954

955955
button.link,
956956
link {
@@ -1411,7 +1411,7 @@ headerbar button.suggested-action {
14111411
color: #ffffff;
14121412
outline-color: rgba(255, 255, 255, 0.5);
14131413
background-color: #18AA61;
1414-
border-color: #052415; }
1414+
border-color: #0f673b; }
14151415
headerbar button.suggested-action.flat {
14161416
outline-color: rgba(146, 179, 114, 0.5);
14171417
outline-style: solid;
@@ -1427,15 +1427,15 @@ headerbar button.suggested-action {
14271427
color: #ffffff;
14281428
outline-color: rgba(255, 255, 255, 0.5);
14291429
background-color: #1ed77b;
1430-
border-color: #0b512e; }
1430+
border-color: #159454; }
14311431
headerbar button.suggested-action:active, headerbar button.suggested-action:checked {
14321432
outline-color: rgba(146, 179, 114, 0.5);
14331433
outline-style: solid;
14341434
background-clip: border-box;
14351435
color: #ffffff;
14361436
outline-color: rgba(255, 255, 255, 0.5);
14371437
background-color: #127d48;
1438-
border-color: black; }
1438+
border-color: #083a21; }
14391439
headerbar button.suggested-action:disabled {
14401440
outline-color: rgba(146, 179, 114, 0.5);
14411441
outline-style: solid;
@@ -1455,7 +1455,7 @@ headerbar button.destructive-action {
14551455
color: #ffffff;
14561456
outline-color: rgba(255, 255, 255, 0.5);
14571457
background-color: #E50013;
1458-
border-color: #4c0006; }
1458+
border-color: #99000d; }
14591459
headerbar button.destructive-action.flat {
14601460
outline-color: rgba(146, 179, 114, 0.5);
14611461
outline-style: solid;
@@ -1471,15 +1471,15 @@ headerbar button.destructive-action {
14711471
color: #ffffff;
14721472
outline-color: rgba(255, 255, 255, 0.5);
14731473
background-color: #ff192c;
1474-
border-color: #7f000b; }
1474+
border-color: #cc0011; }
14751475
headerbar button.destructive-action:active, headerbar button.destructive-action:checked {
14761476
outline-color: rgba(146, 179, 114, 0.5);
14771477
outline-style: solid;
14781478
background-clip: border-box;
14791479
color: #ffffff;
14801480
outline-color: rgba(255, 255, 255, 0.5);
14811481
background-color: #b2000f;
1482-
border-color: #190002; }
1482+
border-color: #660008; }
14831483
headerbar button.destructive-action:disabled {
14841484
outline-color: rgba(146, 179, 114, 0.5);
14851485
outline-style: solid;

src/Mint-Y/gtk-4.0/sass/_drawing.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@
306306
color: $selected_fg_color;
307307
outline-color: transparentize($selected_fg_color, 0.5);
308308
background-color: $actionb_color;
309-
border-color: darken($actionb_color, 30%);
309+
border-color: if($variant =='light', darken($actionb_color, 15%), darken($actionb_color, 30%));
310310
}
311311

312312
@else if $t==undecorated {

0 commit comments

Comments
 (0)