File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
assets/sass/protocol/base/elements Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 1717 background-color : rgba (0 , 0 , 0 , 0.05 );
1818 }
1919
20+ // check support and fallback of :where
2021 & :where(:visited ) {
2122 --link-color : var (--link-color-visited );
2223 --link-color-hover : var (--link-color-visited-hover );
2324 }
2425}
2526
27+ // any descendant link will inherit dark theming (replace light-links mixin)
28+ // this might belong in root file? site-wide dark theme class
2629.mzp-t-dark {
2730 --link-color : var (--link-color-inverse );
2831 --link-color-hover : var (--link-color-hover-inverse );
2932 --link-color-visited : var (--link-color-visited-inverse );
3033 --link-color-visited-hover :var (--link-color-visited-hover-inverse );
3134}
3235
36+ // any descendant link will inherit white theming (replace white-links mixin)
37+ // link-specific theme class
3338.mzp-t-white-links {
3439 --link-color : $color-white ;
3540 --link-color-hover : $color-white ;
3641 --link-color-visited : $color-white ;
3742 --link-color-visited-hover : $color-white ;
3843}
3944
45+ // this might belong in a different CTA file?
46+ // it's not meant to apply to `a` elements unless they have the class added directly
47+ // the other classes in this file are theme containers that select `a` elements inside them
4048.mzp-c-cta-link {
4149 font-family : var (--button-font-family );
4250 font-weight : bold ;
You can’t perform that action at this time.
0 commit comments