File tree Expand file tree Collapse file tree
packages/dnb-ui-lib/src/style/themes Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55
66@import ' ../core/utilities.scss' ;
77
8- @mixin defaultAnchorStyle () {
8+ @mixin defaultAnchorStyle ($theme : null ) {
99 // make sure we have always `display: inline;` as inline-block is breaking the border-bottom
1010 display : inline ;
1111
3030
3131 text-decoration : none ;
3232 border-bottom : 1px solid var (--color-sea-green );
33+
34+ @if $theme == ' highlighted' {
35+ color : var (--color-emerald-green );
36+ border-bottom-color : var (--color-emerald-green );
37+ }
3338}
3439@mixin hoverStyle () {
3540 background-color : var (--color-mint-green-50 );
Original file line number Diff line number Diff line change @@ -211,6 +211,10 @@ table th {
211211
212212 background-color : var (--color-mint-green-12 );
213213 border-bottom : 1px solid var (--color-mint-green );
214+
215+ a {
216+ @include defaultAnchorStyle (' highlighted' );
217+ }
214218}
215219table td {
216220 padding : 1em ;
You can’t perform that action at this time.
0 commit comments