@opengeoweb/theme 4.22.1 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -153,7 +153,6 @@ export const renderTimeSliderLegend = (
|
|
|
153
153
|
height: number,
|
|
154
154
|
centerTime: number,
|
|
155
155
|
secondsPerPx: number,
|
|
156
|
-
dataScaleToSecondsPerPx: number,
|
|
157
156
|
selectedTimeUnix: number,
|
|
158
157
|
scale: Scale,
|
|
159
158
|
currentTimeUnix: number,
|
|
@@ -296,7 +295,7 @@ Some Components have more colors sections. Take a look at some of the colors of
|
|
|
296
295
|
|
|
297
296
|
> **Note:** Some color names have (D) after their name (currently only in Dark theme). This means the color already defined in the main Color Palette and you don't have to define it again.
|
|
298
297
|
|
|
299
|
-
The segment is TimeSlider, and a sub segment is Player and Time
|
|
298
|
+
The segment is TimeSlider, and a sub segment is Player and Time span. We don't want to create another level of depth so we solve this by adding this 'sub segment' as a prefix to the name of the element.
|
|
300
299
|
|
|
301
300
|
```javascript
|
|
302
301
|
// lib/components/Theme/darkTheme.ts
|