forked from Shinonome/dots-hyprland
Added color Schemes support. Added settings GUI in colorscheme-osd
This commit is contained in:
+70
-11
@@ -10,7 +10,7 @@
|
||||
.osd-value {
|
||||
@include elevation-border;
|
||||
@include elevation2;
|
||||
background-color: $t_background;
|
||||
background-color: $background;
|
||||
border-radius: 1.023rem;
|
||||
padding: 0.625rem 1.023rem;
|
||||
padding-top: 0.313rem;
|
||||
@@ -65,20 +65,27 @@
|
||||
|
||||
.osd-colorscheme {
|
||||
border-radius: 1.023rem;
|
||||
background-color: $t_background;
|
||||
padding: 1.023rem;
|
||||
background-color: $background;
|
||||
padding: 0.313rem 0.626rem;
|
||||
@include elevation2;
|
||||
}
|
||||
|
||||
.osd-colorscheme-settings {
|
||||
background-color: $background;
|
||||
padding: 0.313rem 0.626rem;
|
||||
@include small-rounding;
|
||||
}
|
||||
|
||||
.osd-color {
|
||||
@include full-rounding;
|
||||
border-radius: 0.650rem;
|
||||
-gtk-outline-radius: 0.650rem;
|
||||
min-width: 2.727rem;
|
||||
min-height: 1.705rem;
|
||||
padding: 0rem 0.341rem;
|
||||
font-weight: bold;
|
||||
|
||||
box {
|
||||
@include full-rounding;
|
||||
@include small-rounding;
|
||||
margin: 0.409rem;
|
||||
}
|
||||
}
|
||||
@@ -103,26 +110,78 @@
|
||||
color: $onSecondaryContainer;
|
||||
box { background-color: $onSecondaryContainer; }
|
||||
}
|
||||
|
||||
.osd-color-tertiary {
|
||||
background-color: $tertiary;
|
||||
color: $onTertiary;
|
||||
box { background-color: $onTertiary; }
|
||||
}
|
||||
.osd-color-tertiaryContainer {
|
||||
background-color: $tertiaryContainer;
|
||||
color: $onTertiaryContainer;
|
||||
box { background-color: $onTertiaryContainer; }
|
||||
}
|
||||
|
||||
.osd-color-error {
|
||||
background-color: $error;
|
||||
color: $onError;
|
||||
box { background-color: $onError; }
|
||||
}
|
||||
.osd-color-errorContainer {
|
||||
background-color: $errorContainer;
|
||||
color: $onErrorContainer;
|
||||
box { background-color: $onErrorContainer; }
|
||||
}
|
||||
|
||||
.osd-color-surface {
|
||||
background-color: $surface;
|
||||
color: $onSurface;
|
||||
border: 0.068rem solid $outlineVariant;
|
||||
box { background-color: $onSurface; }
|
||||
}
|
||||
|
||||
.osd-color-surfaceContainer {
|
||||
background-color: $surfaceContainer;
|
||||
color: $onSurface;
|
||||
box { background-color: $onSurface; }
|
||||
}
|
||||
|
||||
.osd-color-inverseSurface {
|
||||
background-color: $inverseSurface;
|
||||
color: $inverseOnSurface;
|
||||
box { background-color: $onSurfaceVariant; }
|
||||
}
|
||||
|
||||
.osd-color-surfaceVariant {
|
||||
background-color: $surfaceVariant;
|
||||
color: $onSurfaceVariant;
|
||||
box { background-color: $onSurfaceVariant; }
|
||||
}
|
||||
.osd-color-surface {
|
||||
background-color: $surface;
|
||||
color: $onSurface;
|
||||
box { background-color: $onSurface; }
|
||||
}
|
||||
|
||||
.osd-color-background {
|
||||
background-color: $background;
|
||||
color: $onBackground;
|
||||
box { background-color: $onBackground; }
|
||||
}
|
||||
|
||||
.osd-settings-btn-arrow {
|
||||
@include full-rounding;
|
||||
@include icon-material;
|
||||
min-width: 1.705rem;
|
||||
min-height: 1.705rem;
|
||||
|
||||
&:hover {
|
||||
background-color: $surfaceContainerHigh;
|
||||
}
|
||||
&:active {
|
||||
background-color: $surfaceContainerHighest;
|
||||
}
|
||||
}
|
||||
|
||||
.osd-show {
|
||||
transition: 200ms cubic-bezier(0.1, 1, 0, 1);
|
||||
}
|
||||
|
||||
.osd-hide {
|
||||
transition: 190ms cubic-bezier(0.85, 0, 0.15, 1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user