added install.sh and changed default css
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if ! test -f style.css; then
|
||||
echo "style.css does not exist."
|
||||
echo "Copying from example..."
|
||||
cp style.css.example style.css
|
||||
else
|
||||
echo "style.css already exists."
|
||||
read -p "Should it be replaced? [y/N]: " answer
|
||||
|
||||
# Using modern [[ ]] for string comparison is safer in Bash
|
||||
if [[ "$answer" == "y" || "$answer" == "Y" ]]; then
|
||||
cp style.css.example style.css
|
||||
echo "File replaced."
|
||||
else
|
||||
echo "Skipped."
|
||||
fi
|
||||
fi
|
||||
+8
-8
@@ -7,18 +7,18 @@
|
||||
window {
|
||||
font-size: 13px;
|
||||
font-family: "JetBrains Mono";
|
||||
background-color: #191114;
|
||||
background-color: #14140c;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
#outer-box {
|
||||
margin: 16px;
|
||||
background-color: #191114;
|
||||
background-color: #14140c;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
#inner-box {
|
||||
background-color: #191114;
|
||||
background-color: #14140c;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
@@ -30,17 +30,17 @@ window {
|
||||
}
|
||||
|
||||
#entry:selected {
|
||||
background-color: #6e334d;
|
||||
background-color: #4c4800;
|
||||
}
|
||||
|
||||
#entry #text {
|
||||
margin: 14px 0 0;
|
||||
font-weight: normal;
|
||||
color: #e1bdc9;
|
||||
color: #ccc8a3;
|
||||
}
|
||||
|
||||
#entry:selected #text {
|
||||
color: #ffb0ce;
|
||||
color: #d0ca74;
|
||||
}
|
||||
|
||||
#image {
|
||||
@@ -51,10 +51,10 @@ window {
|
||||
#input {
|
||||
background: transparent;
|
||||
margin: 0 8px 12px;
|
||||
color: #ffb0ce;
|
||||
color: #d0ca74;
|
||||
padding: 8px 12px;
|
||||
border-radius: 12px;
|
||||
border-bottom: 2px solid #6e334d;
|
||||
border-bottom: 2px solid #4c4800;
|
||||
}
|
||||
|
||||
#scroll {
|
||||
|
||||
Reference in New Issue
Block a user