🔧 Added kevin powell's css as emmet like shortcut

This commit is contained in:
z3rOR0ne 2023-11-11 20:28:57 -08:00
parent d8453b4ab0
commit 86a16d5899
2 changed files with 40 additions and 0 deletions

31
scripts/kcss Executable file
View file

@ -0,0 +1,31 @@
#!/usr/bin/env bash
# Utilize in conjunction with espanso, call ;kcss
cat <<EOM
*,
*::before,
*::after {
box-sizing: border-box;
}
:root {
color-scheme: light dark;
}
body {
font-family: system-ui;
font-size: 1.125rem;
line-height: 1.5;
}
main {
width: min(70ch, 100% - 4rem);
margin-inline: auto;
}
img,
svg,
video {
max-width: 100%;
display: block;
}
EOM