up su Gitea
This commit is contained in:
@@ -0,0 +1,132 @@
|
||||
// __ __ __ ________ ___ _ __ __
|
||||
// / / / /_ ______ _____/ / /_ __/ |/ / / | / /___/ /_
|
||||
// / /_/ / / / / __ \/ ___/ / / / / /|_/ /_____ / |/ / _ / __/
|
||||
// / __ / /_/ / /_/ / / / /___ / / / / / /_____ / /| / __/ /_
|
||||
// /_/ /_/\__, / .___/_/ /_____//_/ /_/ /_/ /_/ |_/\___/\__/
|
||||
// /____/_/
|
||||
|
||||
// Copyright © 2025 Djalel Oukid (sniper1720)
|
||||
|
||||
@theme "ltmnight.rasi"
|
||||
|
||||
window {
|
||||
background-color: @background;
|
||||
border: 2px;
|
||||
border-color: @primary-fixed;
|
||||
padding: 0;
|
||||
border-radius: 10px;
|
||||
width: 50%;
|
||||
location: 0;
|
||||
x-offset: 0;
|
||||
y-offset: 0;
|
||||
transparency: "real";
|
||||
}
|
||||
|
||||
mainbox {
|
||||
enabled: true;
|
||||
spacing: 0em;
|
||||
padding: 10px;
|
||||
orientation: vertical;
|
||||
children: [ inputbar, listview ];
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
enabled: true;
|
||||
spacing: 0.5em;
|
||||
padding: 8px 15px;
|
||||
margin: 0 0 10px 0;
|
||||
background-color: @selection;
|
||||
border: 0px 0px 2px 0px;
|
||||
border-color: @primary-fixed;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
expand: false;
|
||||
text-color: @prompt;
|
||||
padding: 0px 5px;
|
||||
background-color: transparent;
|
||||
str: "";
|
||||
}
|
||||
|
||||
entry {
|
||||
enabled: true;
|
||||
background-color: transparent;
|
||||
text-color: @on-primary-fixed;
|
||||
caret-color: @ltmnight8;
|
||||
placeholder: "";
|
||||
placeholder-color: @placeholder;
|
||||
expand: true;
|
||||
}
|
||||
|
||||
listview {
|
||||
background-color: transparent;
|
||||
border: 0;
|
||||
padding: 5px;
|
||||
cycle: true;
|
||||
layout: vertical;
|
||||
spacing: 2px;
|
||||
scrollbar: false;
|
||||
columns: 1;
|
||||
dynamic: true;
|
||||
fixed-height:false;
|
||||
}
|
||||
|
||||
element {
|
||||
enabled: true;
|
||||
padding: 5px 10px;
|
||||
margin: 2px 0;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
border: 0;
|
||||
border-radius: 5px;
|
||||
orientation: horizontal;
|
||||
children: [ element-text ];
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
background-color: transparent;
|
||||
size: 0px;
|
||||
margin: 0px;
|
||||
enabled: false;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
highlight-color: @ltmnight6;
|
||||
expand: true;
|
||||
vertical-align: 0.5;
|
||||
format: "{text}";
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @selection;
|
||||
text-color: @on-selection;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
element urgent {
|
||||
background-color: @error;
|
||||
text-color: @on-error;
|
||||
}
|
||||
|
||||
element active {
|
||||
background-color: @primary;
|
||||
text-color: @on-primary;
|
||||
}
|
||||
|
||||
scrollbar {
|
||||
handle-color: @ltmnight8;
|
||||
background-color: @primary-fixed;
|
||||
width: 4px;
|
||||
padding: 0;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
case-indicator {
|
||||
enabled: false;
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
// ltmnight Palette for Rofi
|
||||
|
||||
* {
|
||||
ltmnight0: #57A7E6; /* Background */
|
||||
ltmnight1: #44475a; /* Current Line / Secondary Background */
|
||||
ltmnight2: #f8f8f2; /* Foreground Text */
|
||||
ltmnight3: #6272a4; /* Comment / Faded Foreground */
|
||||
ltmnight4: #ff5555; /* Red / Errors */
|
||||
ltmnight5: #ffb86c; /* Orange / Warnings */
|
||||
ltmnight6: #f1fa8c; /* Yellow / Warnings */
|
||||
ltmnight7: #50fa7b; /* Green / Success */
|
||||
ltmnight8: #8be9fd; /* Cyan / Info */
|
||||
ltmnight9: #57A7E6; /* Purple / Accents */
|
||||
ltmnight10: #ff79c6; /* Pink / Accents */
|
||||
ltmnight11: #787C99; /* Gray / Placeholders */
|
||||
|
||||
|
||||
|
||||
// Rofi Color Mappings to ltmnight Palette
|
||||
background: rgba(40, 42, 54, 0.9);
|
||||
foreground: @ltmnight2;
|
||||
|
||||
primary: @ltmnight9;
|
||||
accent: @ltmnight10;
|
||||
on-primary: @ltmnight2;
|
||||
|
||||
primary-fixed: @ltmnight1;
|
||||
on-primary-fixed: @ltmnight2;
|
||||
|
||||
selection: rgba(68, 71, 90, 0.5);
|
||||
on-selection: @ltmnight2;
|
||||
|
||||
error: @ltmnight4;
|
||||
on-error: @ltmnight2;
|
||||
|
||||
surface: rgba(40, 42, 54, 0.9);
|
||||
on-surface: @ltmnight2;
|
||||
|
||||
outline: @ltmnight3;
|
||||
shadow: rgba(0, 0, 0, 0.5);
|
||||
|
||||
highlight: @ltmnight6;
|
||||
|
||||
prompt: @ltmnight11;
|
||||
placeholder: @ltmnight11;
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
/* ROUNDED THEME FOR ROFI */
|
||||
/* Author: Newman Sanchez (https://github.com/newmanls) */
|
||||
|
||||
* {
|
||||
bg0: #212121F2;
|
||||
bg1: #2A2A2A;
|
||||
bg2: #3D3D3D80;
|
||||
bg3: #4CAF50F2;
|
||||
fg0: #E6E6E6;
|
||||
fg1: #FFFFFF;
|
||||
fg2: #969696;
|
||||
fg3: #3D3D3D;
|
||||
}
|
||||
|
||||
@import "template/rounded-template.rasi"
|
||||
@@ -0,0 +1,15 @@
|
||||
/* ROUNDED THEME FOR ROFI */
|
||||
/* Author: Newman Sanchez (https://github.com/newmanls) */
|
||||
|
||||
* {
|
||||
bg0: #212121F2;
|
||||
bg1: #2A2A2A;
|
||||
bg2: #3D3D3D80;
|
||||
bg3: #4CAF50F2;
|
||||
fg0: #E6E6E6;
|
||||
fg1: #FFFFFF;
|
||||
fg2: #969696;
|
||||
fg3: #3D3D3D;
|
||||
}
|
||||
|
||||
@import "template/rounded-template.rasi"
|
||||
@@ -0,0 +1,95 @@
|
||||
/* ROUNDED THEME FOR ROFI */
|
||||
/* Author: Newman Sanchez (https://github.com/newmanls) */
|
||||
|
||||
* {
|
||||
font: "Roboto 12";
|
||||
|
||||
background-color: transparent;
|
||||
text-color: @fg0;
|
||||
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
spacing: 0px;
|
||||
}
|
||||
|
||||
window {
|
||||
location: north;
|
||||
y-offset: calc(50% - 176px);
|
||||
width: 480;
|
||||
border-radius: 24px;
|
||||
|
||||
background-color: @bg0;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
background-color: @bg1;
|
||||
border-color: @bg3;
|
||||
|
||||
border: 2px;
|
||||
border-radius: 16px;
|
||||
|
||||
padding: 8px 16px;
|
||||
spacing: 8px;
|
||||
children: [ prompt, entry ];
|
||||
}
|
||||
|
||||
prompt {
|
||||
text-color: @fg2;
|
||||
}
|
||||
|
||||
entry {
|
||||
placeholder: "Search";
|
||||
placeholder-color: @fg3;
|
||||
}
|
||||
|
||||
message {
|
||||
margin: 12px 0 0;
|
||||
border-radius: 16px;
|
||||
border-color: @bg2;
|
||||
background-color: @bg2;
|
||||
}
|
||||
|
||||
textbox {
|
||||
padding: 8px 24px;
|
||||
}
|
||||
|
||||
listview {
|
||||
background-color: transparent;
|
||||
|
||||
margin: 12px 0 0;
|
||||
lines: 8;
|
||||
columns: 1;
|
||||
|
||||
fixed-height: false;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 8px 16px;
|
||||
spacing: 8px;
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
element normal active {
|
||||
text-color: @bg3;
|
||||
}
|
||||
|
||||
element alternate active {
|
||||
text-color: @bg3;
|
||||
}
|
||||
|
||||
element selected normal, element selected active {
|
||||
background-color: @bg3;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 1em;
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
element-text {
|
||||
text-color: inherit;
|
||||
}
|
||||
Reference in New Issue
Block a user