|
1 | 1 | .form-group-custom { |
2 | 2 | .pgn__form-label { |
3 | | - font: normal $font-weight-bold .75rem/1.25rem $font-family-base; |
4 | | - color: $gray-500; |
| 3 | + font: normal var(--pgn-typography-font-weight-bold) .75rem/1.25rem var(--pgn-typography-font-family-base); |
| 4 | + color: var(--pgn-color-gray-500); |
5 | 5 | margin-bottom: .5rem; |
6 | 6 | } |
7 | 7 |
|
8 | 8 | .pgn__form-control-description, |
9 | 9 | .pgn__form-text { |
10 | | - font: normal $font-weight-normal .75rem/1.25rem $font-family-base; |
11 | | - color: $gray-500; |
| 10 | + font: normal var(--pgn-typography-font-weight-normal) .75rem/1.25rem var(--pgn-typography-font-family-base); |
| 11 | + color: var(--pgn-color-gray-500); |
12 | 12 | margin-top: .5rem; |
13 | 13 | } |
14 | 14 |
|
|
19 | 19 |
|
20 | 20 | .form-group-custom_isInvalid { |
21 | 21 | input { |
22 | | - border-color: $form-feedback-invalid-color; |
| 22 | + border-color: var(--pgn-color-form-feedback-invalid); |
23 | 23 | } |
24 | 24 | } |
25 | 25 |
|
26 | 26 | .feedback-error { |
27 | | - color: $form-feedback-invalid-color; |
| 27 | + color: var(--pgn-color-form-feedback-invalid); |
28 | 28 | } |
29 | 29 | } |
30 | 30 |
|
|
34 | 34 | .datepicker-custom-control { |
35 | 35 | display: block; |
36 | 36 | width: 100%; |
37 | | - font-size: $input-font-size; |
38 | | - font-weight: $input-font-weight; |
39 | | - line-height: $input-line-height; |
40 | | - background: $input-bg; |
41 | | - border-color: $input-border-color; |
42 | | - border-width: $input-border-width; |
43 | | - box-shadow: $input-box-shadow; |
44 | | - border-radius: $input-border-radius; |
45 | | - color: $input-color; |
46 | | - padding: $input-padding-y $input-padding-x; |
47 | | - height: $input-height; |
| 37 | + font-size: var(--pgn-typography-form-input-font-size-base); |
| 38 | + font-weight: var(--pgn-typography-form-input-font-weight); |
| 39 | + line-height: var(--pgn-typography-form-input-line-height-base); |
| 40 | + background: var(--pgn-color-form-input-bg-base); |
| 41 | + border-color: var(--pgn-color-form-input-border); |
| 42 | + border-width: var(--pgn-size-form-input-width-border); |
| 43 | + box-shadow: var(--pgn-elevation-form-input-base); |
| 44 | + border-radius: var(--pgn-size-form-input-radius-border-base); |
| 45 | + color: var(--pgn-color-form-input-base); |
| 46 | + padding: var(--pgn-spacing-form-input-padding-y-base) var(--pgn-spacing-form-input-padding-x-base); |
| 47 | + height: var(--pgn-size-form-input-height-base); |
48 | 48 | resize: none; |
49 | 49 |
|
50 | 50 | &:focus, |
51 | 51 | :focus-visible { |
52 | | - color: $input-focus-color; |
53 | | - background-color: $input-bg; |
54 | | - border-color: $input-focus-border-color; |
55 | | - box-shadow: $input-focus-box-shadow; |
| 52 | + color: var(--pgn-color-form-input-focus-base); |
| 53 | + background-color: var(--pgn-color-form-input-bg-base); |
| 54 | + border-color: var(--pgn-color-form-input-focus-border); |
| 55 | + box-shadow: var(--pgn-elevation-form-input-focus); |
56 | 56 | outline: 0; |
57 | 57 | } |
58 | 58 |
|
59 | 59 | &::placeholder { |
60 | | - color: $input-placeholder-color; |
| 60 | + color: var(--pgn-color-form-input-placeholder); |
61 | 61 | } |
62 | 62 | } |
63 | 63 |
|
64 | 64 | .datepicker-custom-control_readonly { |
65 | 65 | border-color: transparent; |
66 | | - background: $input-disabled-bg; |
| 66 | + background: var(--pgn-color-form-input-bg-disabled); |
67 | 67 | } |
68 | 68 |
|
69 | 69 | .datepicker-custom-control_isInvalid { |
70 | | - border-color: $form-feedback-invalid-color; |
| 70 | + border-color: var(--pgn-color-form-feedback-invalid); |
71 | 71 | } |
72 | 72 |
|
73 | 73 | .datepicker-custom-control-icon { |
|
76 | 76 | right: 1.188rem; |
77 | 77 | top: 50%; |
78 | 78 | transform: translateY(-50%); |
79 | | - color: $black; |
| 79 | + color: var(--pgn-color-black); |
80 | 80 | } |
81 | 81 | } |
82 | 82 |
|
|
0 commit comments