|
1 | | -:root { |
| 1 | +* { |
2 | 2 | -unity-font-definition: url('project://database/Assets/UI%20Toolkit/Fonts/Roboto/Roboto-Light%20SDF.asset?fileID=11400000&guid=4a813aec472149149bd5470cbf533316&type=2#Roboto-Light SDF'); |
| 3 | + --accent-color: rgb(255, 153, 1); |
| 4 | + --accent-color--hover: rgb(242, 142, 2); |
| 5 | + --button-color: rgb(58, 58, 58); |
| 6 | + --button-color--hover: rgb(54, 54, 54); |
| 7 | + --font-color: rgb(255, 255, 255); |
3 | 8 | } |
4 | 9 |
|
5 | 10 | .top-panel { |
|
16 | 21 | justify-content: center; |
17 | 22 | flex-wrap: nowrap; |
18 | 23 | flex-direction: column; |
19 | | - border-top-color: rgb(39, 39, 39); |
| 24 | + border-top-color: var(--button-color); |
20 | 25 | border-top-width: 2px; |
21 | 26 | margin-left: 56px; |
22 | 27 | margin-right: 56px; |
|
37 | 42 | padding-top: 4px; |
38 | 43 | padding-bottom: 4px; |
39 | 44 | font-size: 80px; |
40 | | - color: rgb(171, 198, 247); |
41 | | - background-color: rgb(23, 23, 23); |
| 45 | + color: var(--font-color); |
| 46 | + background-color: var(--button-color); |
42 | 47 | transition-duration: 85ms; |
43 | | - border-left-color: rgb(1, 1, 1); |
44 | | - border-right-color: rgb(1, 1, 1); |
45 | | - border-top-color: rgb(1, 1, 1); |
46 | | - border-bottom-color: rgb(1, 1, 1); |
| 48 | + border-left-color: rgba(0, 0, 0, 0); |
| 49 | + border-right-color: rgba(0, 0, 0, 0); |
| 50 | + border-top-color: rgba(0, 0, 0, 0); |
| 51 | + border-bottom-color: rgba(0, 0, 0, 0); |
47 | 52 | } |
48 | 53 |
|
49 | 54 | .round-button:hover:enabled { |
50 | 55 | font-size: 64px; |
51 | | - background-color: rgb(68, 68, 68); |
| 56 | + background-color: var(--button-color--hover); |
52 | 57 | } |
53 | 58 |
|
54 | 59 | .round-button--wide { |
|
63 | 68 |
|
64 | 69 | .round-button--highlighted { |
65 | 70 | color: rgb(0, 0, 0); |
66 | | - background-color: rgb(184, 162, 208); |
| 71 | + background-color: var(--accent-color); |
67 | 72 | } |
68 | 73 |
|
69 | 74 | .round-button--highlighted:hover:enabled { |
70 | | - background-color: rgb(196, 180, 217); |
| 75 | + background-color: var(--accent-color--hover); |
71 | 76 | } |
72 | 77 |
|
73 | 78 | .round-button__clear-label { |
74 | | - color: rgb(225, 53, 44); |
| 79 | + color: var(--accent-color); |
75 | 80 | } |
76 | 81 |
|
77 | 82 | .round-button__operation-label { |
78 | | - color: rgb(186, 164, 210); |
| 83 | + color: var(--accent-color); |
79 | 84 | } |
80 | 85 |
|
81 | 86 | .expression-label { |
82 | 87 | font-size: 112px; |
83 | 88 | -unity-text-align: middle-right; |
84 | | - color: rgb(171, 198, 247); |
| 89 | + color: var(--accent-color); |
85 | 90 | overflow: hidden; |
86 | 91 | flex-grow: 1; |
87 | 92 | } |
88 | 93 |
|
89 | 94 | .result-label { |
90 | 95 | font-size: 72px; |
91 | 96 | -unity-text-align: upper-right; |
92 | | - color: rgb(99, 99, 99); |
| 97 | + color: var(--font-color); |
93 | 98 | overflow: hidden; |
94 | 99 | } |
95 | 100 |
|
|
0 commit comments