Skip to content

Commit

Permalink
chore: fix action-bar night colors
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirpotekhin committed Jul 5, 2024
1 parent 54e6a71 commit 35d34dd
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ export class ExampleTuiActionBarComponent {

readonly example1: TuiDocExample = {
HTML: import('./examples/1/index.html?raw'),
LESS: import('./examples/1/index.less?raw'),
TypeScript: import('./examples/1/index.ts?raw'),
};

readonly example2: TuiDocExample = {
HTML: import('./examples/2/index.html?raw'),
LESS: import('./examples/2/index.less?raw'),
TypeScript: import('./examples/2/index.ts?raw'),
};
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {map} from 'rxjs/operators';
@Component({
selector: 'tui-action-bar-example-1',
templateUrl: './index.html',
styleUrls: ['./index.less'],
encapsulation,
changeDetection,
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@
::ng-deep tui-data-list[data-size] {
padding: 0.25rem 0 0.5rem;
}

&[tuiTheme='night'] {
--tui-text-01: var(--tui-text-01-night);
--tui-text-02: var(--tui-text-02-night);
--tui-text-03: var(--tui-text-03-night);
--tui-base-03: var(--tui-neutral-bg-night);
}
}

.t-content {
Expand Down

0 comments on commit 35d34dd

Please sign in to comment.