[Ionic 4] Get primary color from code

#1

How to get the Primary color in variables.css from code? [Ionic 4]

this one: --ion-color-primary: #008c8c;

i want to get this on typescript…

Thanksss