summaryrefslogtreecommitdiff
path: root/src/assets/styles/bmc/_sila/helpers/_functions.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/assets/styles/bmc/_sila/helpers/_functions.scss')
-rw-r--r--src/assets/styles/bmc/_sila/helpers/_functions.scss9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/assets/styles/bmc/_sila/helpers/_functions.scss b/src/assets/styles/bmc/_sila/helpers/_functions.scss
new file mode 100644
index 00000000..57956c99
--- /dev/null
+++ b/src/assets/styles/bmc/_sila/helpers/_functions.scss
@@ -0,0 +1,9 @@
+// This function is usually used to get a lighter
+// theme variant color to use as a background color
+@function theme-color-light($variant) {
+ @return theme-color-level($variant, -11.3);
+}
+
+@function theme-color-dark($variant) {
+ @return theme-color-level($variant, 2);
+} \ No newline at end of file