Skip to content

Commit 67a11e1

Browse files
feat: add rt-opacity css var
1 parent c833dfe commit 67a11e1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/components/Tooltip/styles.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
.show {
3333
visibility: visible;
34-
opacity: 0.9;
34+
opacity: var(--rt-opacity);
3535
}
3636

3737
/** Types variant **/

src/tokens.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
--rt-color-error: #be6464;
66
--rt-color-warning: #f0ad4e;
77
--rt-color-info: #337ab7;
8+
--rt-opacity: 0.9;
89
}

0 commit comments

Comments
 (0)