matugen: add rounding
This commit is contained in:
parent
4bb22a248e
commit
19cff288ab
7 changed files with 20 additions and 16 deletions
|
|
@ -5,6 +5,7 @@ set = true
|
||||||
|
|
||||||
[config.custom_keywords]
|
[config.custom_keywords]
|
||||||
font = "ComicShannsMono Nerd Font"
|
font = "ComicShannsMono Nerd Font"
|
||||||
|
rounding = "10"
|
||||||
|
|
||||||
[templates.waybar]
|
[templates.waybar]
|
||||||
input_path = './templates/colors.css'
|
input_path = './templates/colors.css'
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font-family: {{ custom.font }};
|
font-family: {{ custom.font }};
|
||||||
|
border-radius: {{custom.rounding}}px;
|
||||||
}
|
}
|
||||||
|
|
||||||
<* for name, value in colors *>
|
<* for name, value in colors *>
|
||||||
|
|
|
||||||
|
|
@ -65,12 +65,12 @@
|
||||||
--icon-spin-transition: 1s ease; /* round icon button spin (settings, emoji, etc.) */
|
--icon-spin-transition: 1s ease; /* round icon button spin (settings, emoji, etc.) */
|
||||||
|
|
||||||
/* corner roundness (border-radius) */
|
/* corner roundness (border-radius) */
|
||||||
--roundness-xl: 22px; /* roundness of big panel outer corners */
|
--roundness-xl: {{custom.rounding}}px; /* roundness of big panel outer corners */
|
||||||
--roundness-l: 20px; /* popout panels */
|
--roundness-l: {{custom.rounding}}px; /* popout panels */
|
||||||
--roundness-m: 16px; /* smaller panels, images, embeds */
|
--roundness-m: {{custom.rounding}}px; /* smaller panels, images, embeds */
|
||||||
--roundness-s: 12px; /* members, settings inputs */
|
--roundness-s: {{custom.rounding}}px; /* members, settings inputs */
|
||||||
--roundness-xs: 10px; /* channels, buttons */
|
--roundness-xs: {{custom.rounding}}px; /* channels, buttons */
|
||||||
--roundness-xxs: 8px; /* searchbar, small elements */
|
--roundness-xxs: {{custom.rounding}}px; /* searchbar, small elements */
|
||||||
|
|
||||||
/* direct messages moon icon */
|
/* direct messages moon icon */
|
||||||
/* change to block to show, none to hide */
|
/* change to block to show, none to hide */
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ general {
|
||||||
}
|
}
|
||||||
|
|
||||||
decoration {
|
decoration {
|
||||||
|
rounding = {{custom.rounding}}
|
||||||
shadow {
|
shadow {
|
||||||
color = rgba({{colors.shadow.default.hex_stripped}}ee)
|
color = rgba({{colors.shadow.default.hex_stripped}}ee)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ input-field {
|
||||||
placeholder_text = Enter password
|
placeholder_text = Enter password
|
||||||
size = 48
|
size = 48
|
||||||
fade_on_empty = false
|
fade_on_empty = false
|
||||||
rounding = 10
|
rounding = {{custom.rounding}}
|
||||||
|
|
||||||
halign = center
|
halign = center
|
||||||
valign = center
|
valign = center
|
||||||
|
|
@ -51,7 +51,7 @@ label {
|
||||||
|
|
||||||
shape {
|
shape {
|
||||||
color = {{colors.background.default.rgba}}
|
color = {{colors.background.default.rgba}}
|
||||||
rounding = 10
|
rounding = {{custom.rounding}}
|
||||||
|
|
||||||
monitor =
|
monitor =
|
||||||
size = 150, 60
|
size = 150, 60
|
||||||
|
|
@ -80,7 +80,7 @@ label {
|
||||||
|
|
||||||
shape {
|
shape {
|
||||||
color = {{colors.background.default.rgba}}
|
color = {{colors.background.default.rgba}}
|
||||||
rounding = 10
|
rounding = {{custom.rounding}}
|
||||||
|
|
||||||
monitor =
|
monitor =
|
||||||
size = 50, 410
|
size = 50, 410
|
||||||
|
|
@ -105,7 +105,7 @@ label {
|
||||||
|
|
||||||
shape {
|
shape {
|
||||||
color = {{colors.background.default.rgba}}
|
color = {{colors.background.default.rgba}}
|
||||||
rounding = 10
|
rounding = {{custom.rounding}}
|
||||||
|
|
||||||
monitor =
|
monitor =
|
||||||
size = 50, 110
|
size = 50, 110
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font-family: {{ custom.font }};
|
font-family: {{ custom.font }};
|
||||||
|
background-radius: {{ custom.rounding}}px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#window,
|
#window,
|
||||||
|
|
@ -46,7 +47,7 @@ slider,
|
||||||
}
|
}
|
||||||
|
|
||||||
#box {
|
#box {
|
||||||
border-radius: 20px;
|
border-radius: {{custom.rounding}}px;
|
||||||
background: @background;
|
background: @background;
|
||||||
padding: 32px;
|
padding: 32px;
|
||||||
border: 1px solid lighter(@background);
|
border: 1px solid lighter(@background);
|
||||||
|
|
@ -78,7 +79,7 @@ slider,
|
||||||
#password,
|
#password,
|
||||||
#input,
|
#input,
|
||||||
#typeahead {
|
#typeahead {
|
||||||
border-radius: 2px;
|
border-radius: {{custom.rounding}}px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#input {
|
#input {
|
||||||
|
|
@ -106,7 +107,7 @@ slider,
|
||||||
|
|
||||||
child {
|
child {
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
border-radius: 2px;
|
border-radius: {{custom.rounding}}px;
|
||||||
}
|
}
|
||||||
|
|
||||||
child:selected,
|
child:selected,
|
||||||
|
|
@ -153,7 +154,7 @@ child:hover {
|
||||||
|
|
||||||
.aiItem {
|
.aiItem {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-radius: 2px;
|
border-radius: {{custom.rounding}}px;
|
||||||
color: @foreground;
|
color: @foreground;
|
||||||
background: @background;
|
background: @background;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
/* `otf-font-awesome` is required to be installed for icons */
|
/* `otf-font-awesome` is required to be installed for icons */
|
||||||
/* font-family: ComicShannsMono Nerd Font, FontAwesome, Roboto, Helvetica, Arial, sans-serif;*/
|
/* font-family: ComicShannsMono Nerd Font, FontAwesome, Roboto, Helvetica, Arial, sans-serif;*/
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
border-radius: 10px;
|
/* border-radius: 10px;*/
|
||||||
transition-duration: 0.5s;
|
transition-duration: 0.5s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -39,7 +39,7 @@ window#waybar.solo {
|
||||||
#workspaces {
|
#workspaces {
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
color: @primary;
|
color: @primary;
|
||||||
border-radius: 10px;
|
/* border-radius: 10px;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue