frontend/components: clean up & fix color loading for scale sliders
Pedro Lucas Porcellis porcellis@eletrotupi.com · 5 months ago
67829b445ee2039ee20f14c92a27b1e707feec83 Browse filesParents
123cdb8Changed files
1
Additions
+1
Deletions
-5
frontend/components/ui/ScaleSlider.tsx
1 1
import React, { useState } from 'react';
2 2
import {
3 3
View,
4 4
Text,
5 5
StyleSheet,
110 110
111 111
</View>
112 112
);
113 113
};
114 114
115 -
// ============================================================================
116 -
// STYLES
117 -
// ============================================================================
118 -
119 115
const styles = StyleSheet.create({
120 116
container: {
121 117
width: '100%',
122 118
},
123 119
header: {
152 148
fontSize: Theme.typography.bodyLg.fontSize,
153 149
},
154 150
valueCompact: {
155 151
fontSize: Theme.typography.bodyMd.fontSize,
156 152
fontWeight: Theme.typography.bodyMd.fontWeight,
157 -
color: secondaryColor,
153 +
color: Theme.colors.light.textSecondary,
158 154
},
159 155
160 156
slider: {
161 157
width: '100%',
162 158
height: 40,
169 165
rangeLabel: {
170 166
...Theme.typography.labelXs,
171 167
fontWeight: 500,
172 168
},
173 169
});