-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Feature: colors are not configurable.
- console.log commented out. - version to 0.10.0
- Loading branch information
1 parent
ef2e7ac
commit 58b3529
Showing
14 changed files
with
163 additions
and
79 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
export class CardColors { | ||
roseLines: string; | ||
roseDirectionLetters: string; | ||
rosePercentages: string; | ||
barBorder: string; | ||
barUnitName: string; | ||
barName: string | ||
barUnitValues: string | ||
barPercentages: string; | ||
|
||
constructor() { | ||
const primaryColor = getComputedStyle(document.documentElement).getPropertyValue('--primary-text-color'); | ||
this.roseLines = 'rgb(160, 160, 160)'; | ||
this.roseDirectionLetters = primaryColor; | ||
this.rosePercentages = primaryColor | ||
this.barBorder = 'rgb(160, 160, 160)'; | ||
this.barUnitName = primaryColor; | ||
this.barName = primaryColor; | ||
this.barUnitValues = primaryColor; | ||
this.barPercentages = 'black'; | ||
} | ||
} |
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
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
Oops, something went wrong.