1- @import ' variables' ;
1+ @use ' variables' ;
22
33ff-button * ,
44ff-search * ,
@@ -10,107 +10,107 @@ ff-datatable * {
1010}
1111
1212ff-button > button {
13- color : $ff-color-light ;
14- background-color : $ff-bgcolor-dark-gray ;
13+ color : variables . $ff-color-light ;
14+ background-color : variables . $ff-bgcolor-dark-gray ;
1515
1616 & :hover {
17- color : $ff-color-dark ;
18- background-color : $ff-bgcolor-yellow ;
17+ color : variables . $ff-color-dark ;
18+ background-color : variables . $ff-bgcolor-yellow ;
1919 }
2020
2121 & :active:not (:disabled ) {
22- color : $ff-color-dark ;
23- background-color : $ff-bgcolor-yellow ;
24- border : 3px solid $ff-border-yellow ;
22+ color : variables . $ff-color-dark ;
23+ background-color : variables . $ff-bgcolor-yellow ;
24+ border : 3px solid variables . $ff-border-yellow ;
2525 }
2626
2727 & :disabled {
28- color : $ff-color-gray ;
29- background-color : $ff-bgcolor-gray ;
28+ color : variables . $ff-color-gray ;
29+ background-color : variables . $ff-bgcolor-gray ;
3030 }
3131
3232 & .active {
33- color : $ff-color-dark ;
34- background-color : $ff-color-light ;
35- border : 1px dashed $ff-border-gray ;
33+ color : variables . $ff-color-dark ;
34+ background-color : variables . $ff-color-light ;
35+ border : 1px dashed variables . $ff-border-gray ;
3636 gap : 8px ;
3737
3838 & :hover {
39- color : $ff-color-dark ;
40- background-color : $ff-bgcolor-yellow ;
39+ color : variables . $ff-color-dark ;
40+ background-color : variables . $ff-bgcolor-yellow ;
4141 }
4242 }
4343}
4444
4545ff-search > label {
46- color : $ff-color-gray ;
47- background-color : $ff-bgcolor-white ;
48- border : 1px solid $ff-bgcolor-gray ;
46+ color : variables . $ff-color-gray ;
47+ background-color : variables . $ff-bgcolor-white ;
48+ border : 1px solid variables . $ff-bgcolor-gray ;
4949
5050 & .disabled {
51- background-color : $ff-bgcolor-gray ;
51+ background-color : variables . $ff-bgcolor-gray ;
5252 }
5353
5454 input {
5555 color : inherit ;
5656
5757 & ::placeholder {
58- color : hex-with-opacity ($ff-color-gray , 0.75 );
58+ color : variables . hex-with-opacity (variables . $ff-color-gray , 0.75 );
5959 }
6060 }
6161
6262 kbd {
63- color : $ff-color-gray ;
64- border : 1px solid $ff-border-gray ;
63+ color : variables . $ff-color-gray ;
64+ border : 1px solid variables . $ff-border-gray ;
6565 }
6666}
6767
6868$ff-alert-light-opacity : 0.1 ;
6969$ff-alert-light-border-opacity : 0.2 ;
7070
7171ff-alert > .ff-alert {
72- color : $ff-color-dark ;
73- border : solid $ff-border-gray ;
72+ color : variables . $ff-color-dark ;
73+ border : solid variables . $ff-border-gray ;
7474
7575 & .info {
76- $light-border-side : hex-with-opacity ($ff-alert-info , $ff-alert-light-border-opacity );
77- border-color : $light-border-side $light-border-side $light-border-side $ff-alert-info ;
78- background-color : hex-with-opacity ($ff-alert-info , $ff-alert-light-opacity );
76+ $light-border-side : variables . hex-with-opacity (variables . $ff-alert-info , $ff-alert-light-border-opacity );
77+ border-color : $light-border-side $light-border-side $light-border-side variables . $ff-alert-info ;
78+ background-color : variables . hex-with-opacity (variables . $ff-alert-info , $ff-alert-light-opacity );
7979 }
8080
8181 & .success {
82- $light-border-side : hex-with-opacity ($ff-alert-success , $ff-alert-light-border-opacity );
83- border-color : $light-border-side $light-border-side $light-border-side $ff-alert-success ;
84- background-color : hex-with-opacity ($ff-alert-success , $ff-alert-light-opacity );
82+ $light-border-side : variables . hex-with-opacity (variables . $ff-alert-success , $ff-alert-light-border-opacity );
83+ border-color : $light-border-side $light-border-side $light-border-side variables . $ff-alert-success ;
84+ background-color : variables . hex-with-opacity (variables . $ff-alert-success , $ff-alert-light-opacity );
8585 }
8686
8787 & .warning {
88- $light-border-side : hex-with-opacity ($ff-alert-warning , $ff-alert-light-border-opacity );
89- border-color : $light-border-side $light-border-side $light-border-side $ff-alert-warning ;
90- background-color : hex-with-opacity ($ff-alert-warning , $ff-alert-light-opacity );
88+ $light-border-side : variables . hex-with-opacity (variables . $ff-alert-warning , $ff-alert-light-border-opacity );
89+ border-color : $light-border-side $light-border-side $light-border-side variables . $ff-alert-warning ;
90+ background-color : variables . hex-with-opacity (variables . $ff-alert-warning , $ff-alert-light-opacity );
9191 }
9292
9393 & .error {
94- $light-border-side : hex-with-opacity ($ff-alert-error , $ff-alert-light-border-opacity );
95- border-color : $light-border-side $light-border-side $light-border-side $ff-alert-error ;
96- background-color : hex-with-opacity ($ff-alert-error , $ff-alert-light-opacity );
94+ $light-border-side : variables . hex-with-opacity (variables . $ff-alert-error , $ff-alert-light-border-opacity );
95+ border-color : $light-border-side $light-border-side $light-border-side variables . $ff-alert-error ;
96+ background-color : variables . hex-with-opacity (variables . $ff-alert-error , $ff-alert-light-opacity );
9797 }
9898}
9999
100100ff-chip > span {
101- border : 1px solid $ff-border-gray ;
101+ border : 1px solid variables . $ff-border-gray ;
102102}
103103
104104ff-datatable > .dt-wrapper {
105- color : $ff-color-dark ;
105+ color : variables . $ff-color-dark ;
106106
107107 table {
108108 margin-top : 4px ;
109109 border-collapse : collapse ;
110110 }
111111
112112 & th , & td {
113- border : 1px solid $ff-border-gray ;
113+ border : 1px solid variables . $ff-border-gray ;
114114 border-width : 1px 0 ;
115115 }
116116}
0 commit comments