Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.

Commit 57ef9cb

Browse files
author
Jayraj Jog
committed
Use !default to declare SCSS variables
So that the values can be overriden by users of the SCSS file
1 parent f358d40 commit 57ef9cb

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

lib/angular-tooltips.scss

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
$tolerance: 3px;
2-
$margin-tooltip-arrow: 6px;
3-
$padding-top-bottom-tooltip: 8px;
4-
$padding-right-left-tooltip: 16px;
5-
$tooltip-background-color: rgba(0, 0, 0, .85);
6-
$tooltip-color: #fff;
7-
$tooltip-border-radius: 3px;
8-
$tooltip-fast-transition: .15s;
9-
$tooltip-slow-transition: .65s;
10-
$tooltip-medium-transition: .35s;
1+
$tolerance: 3px !default;
2+
$margin-tooltip-arrow: 6px !default;
3+
$padding-top-bottom-tooltip: 8px !default;
4+
$padding-right-left-tooltip: 16px !default;
5+
$tooltip-background-color: rgba(0, 0, 0, .85) !default;
6+
$tooltip-color: #fff !default;
7+
$tooltip-border-radius: 3px !default;
8+
$tooltip-fast-transition: .15s !default;
9+
$tooltip-slow-transition: .65s !default;
10+
$tooltip-medium-transition: .35s !default;
1111

1212
@mixin opacity-transition($speed) {
1313
animation: animate-tooltip $speed;

0 commit comments

Comments
 (0)