aboutsummaryrefslogtreecommitdiffstats
path: root/app/assets/stylesheets/_functions.scss
diff options
context:
space:
mode:
authorsadbeast <sadbeast@sadbeast.com>2024-01-31 17:47:56 -0800
committersadbeast <sadbeast@sadbeast.com>2024-01-31 17:47:56 -0800
commit332ec93366315fa1ed7b4acd7a3407c96e8ddfa7 (patch)
tree6ae553317f12a7a6a29c849c8805ffab96436dc2 /app/assets/stylesheets/_functions.scss
downloadtd-main.tar.gz
td-main.tar.bz2
initial mistakeHEADmain
Diffstat (limited to 'app/assets/stylesheets/_functions.scss')
-rw-r--r--app/assets/stylesheets/_functions.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/stylesheets/_functions.scss b/app/assets/stylesheets/_functions.scss
new file mode 100644
index 0000000..160870c
--- /dev/null
+++ b/app/assets/stylesheets/_functions.scss
@@ -0,0 +1,4 @@
+// Output color in RGB format
+@function to-rgb($color) {
+ @return unquote("rgb(#{red($color)}, #{green($color)}, #{blue($color)})");
+} \ No newline at end of file