-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1643 from kate-deriv/kate/DTRA-2226/barrier_theme…
…_update DTRA-2226 / Kate / Dark theme, barrier and markers changes
- Loading branch information
Showing
7 changed files
with
168 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
import 'package:deriv_chart/src/theme/text_styles.dart'; | ||
import 'package:flutter/material.dart'; | ||
import 'package:deriv_chart/deriv_chart.dart'; | ||
import '../helpers/color.dart'; | ||
|
||
/// An implementation of [ChartDefaultTheme] which provides access to | ||
/// dark theme-related colors and styles for the chart package. | ||
class ChartDefaultDarkTheme extends ChartDefaultTheme { | ||
@override | ||
Color get accentRedColor => Color(0xFFCC2E3D); | ||
|
||
@override | ||
Color get accentGreenColor => Color(0xFF00A79E); | ||
|
||
@override | ||
Color get accentYellowColor => Color(0xFFFFAD3A); | ||
|
||
@override | ||
Color get base01Color => Color(0xFFFFFFFF); | ||
|
||
@override | ||
Color get base02Color => Color(0xFFEAECED); | ||
|
||
@override | ||
Color get base03Color => Color(0xFFC2C2C2); | ||
|
||
@override | ||
Color get base04Color => Color(0xFF6E6E6E); | ||
|
||
@override | ||
Color get base05Color => Color(0xFF3E3E3E); | ||
|
||
@override | ||
Color get base06Color => Color(0xFF323738); | ||
|
||
@override | ||
Color get base07Color => getColorFromString('rgba(255, 255, 255, 0.04)'); | ||
|
||
@override | ||
Color get base08Color => getColorFromString('rgba(24, 28, 37, 1)'); | ||
|
||
@override | ||
TextStyle get overLine => TextStyles.overLine; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.