From 7ff35d826e739ddb6b9fe1d7d77606640e55de87 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Sun, 28 Jan 2024 03:51:55 -0300 Subject: [PATCH] Add effects/_box_shadow.scss --- bin/emit | 2 +- src/tail.scss | 1 + src/tail/effects/_box_shadow.scss | 24 ++++++++++++++++++++++++ src/tail/effects/index.scss | 1 + 4 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 src/tail/effects/_box_shadow.scss create mode 100644 src/tail/effects/index.scss diff --git a/bin/emit b/bin/emit index 1653929..a75bc72 100755 --- a/bin/emit +++ b/bin/emit @@ -10,7 +10,7 @@ end def read noecho { $stdin.gets } - .gsub(/[^A-Za-z0-9_\s\/\-,;:*"'.]/, '') + .gsub(/[^A-Za-z0-9_\s\/\-,;:*"'.()#]/, '') end open = false diff --git a/src/tail.scss b/src/tail.scss index 863909a..0d41a65 100644 --- a/src/tail.scss +++ b/src/tail.scss @@ -6,3 +6,4 @@ @import "tail/display/index"; @import "tail/flex/index"; @import "tail/font/index"; +@import "tail/effects/index"; diff --git a/src/tail/effects/_box_shadow.scss b/src/tail/effects/_box_shadow.scss new file mode 100644 index 0000000..560db2a --- /dev/null +++ b/src/tail/effects/_box_shadow.scss @@ -0,0 +1,24 @@ +.shadow-sm { + box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); +} +.shadow { + box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); +} +.shadow-md { + box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); +} +.shadow-lg { + box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); +} +.shadow-xl { + box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); +} +.shadow-2xl { + box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); +} +.shadow-inner { + box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.05); +} +.shadow-none { + box-shadow: 0 0 #0000; +} diff --git a/src/tail/effects/index.scss b/src/tail/effects/index.scss new file mode 100644 index 0000000..314f7f2 --- /dev/null +++ b/src/tail/effects/index.scss @@ -0,0 +1 @@ +@import "box_shadow";