Question: I have a .txt textfile with a list formatted like 
`[' ok ', ' test ', ' help ']`
How can I read/import this textfile list into a python list?

Answer: 
If you want to customize the css of the tooltip, then you can use `::ng-deep`. Add the following styles in your component's styles:

```css
::ng-deep .mat-tooltip {
    /* your own custom styles here */ 
    /* e.g. */
    color: yellow;
}

```

Another option is to set the [View Encapsulation](https://angular.io/guide/component-styles#view-encapsulation) to None in your component:

```js
@Component({ 
    templateUrl: './my.component.html', 
    styleUrls: ['./my.component.css'], 
    encapsulation: ViewEncapsulation.None
})

```

Then in your component css you dont have to use `::ng-deep`.

```css
.mat-tooltip {
    /* your own custom styles here */ 
    /* e.g. */
    color: yellow;
}

```
You could take a look into the following example [angular/material2 Tooltip Demo](https://github.com/angular/material2/blob/master/src/demo-app/tooltip/tooltip-demo.html)

Basically you could set up the tooltip as follows (you could define not only the css but also the position, the hide delay, the show delay and if it is disable or not):

```html
<button #tooltip="mdTooltip"
            md-raised-button
            color="primary"
            [mdTooltip]="message"
            [mdTooltipPosition]="position"
            [mdTooltipDisabled]="disabled"
            [mdTooltipShowDelay]="showDelay"
            [mdTooltipHideDelay]="hideDelay"
            [mdTooltipClass]="{'red-tooltip': showExtraClass}">

```

In your component then

```js
position: TooltipPosition = 'below';
message: string = 'Here is the tooltip';
disabled = false;
showDelay = 0;
hideDelay = 1000;
showExtraClass = true;

```

And the css as example:

```css
/deep/ .red-tooltip {
  background-color: rgb(255, 128, 128);
  color: black;
}

```