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 2020 }
2121}
2222
23+ // check support and fallback of :where
2324a :where(:visited ) {
2425 --link-color : var (--link-color-visited );
2526 --link-color-hover : var (--link-color-visited-hover );
2627}
2728
29+ // any descendant link will inherit dark theming (replace light-links mixin)
30+ // this might belong in root file? site-wide dark theme class
2831.mzp-t-dark {
2932 --link-color : var (--link-color-inverse );
3033 --link-color-hover : var (--link-color-hover-inverse );
3134 --link-color-visited : var (--link-color-visited-inverse );
3235 --link-color-visited-hover :var (--link-color-visited-hover-inverse );
3336}
3437
38+ // any descendant link will inherit white theming (replace white-links mixin)
39+ // link-specific theme class
3540.mzp-t-white-links {
3641 --link-color : $color-white ;
3742 --link-color-hover : $color-white ;
3843 --link-color-visited : $color-white ;
3944 --link-color-visited-hover : $color-white ;
4045}
4146
47+ // this might belong in a different CTA file?
48+ // it's not meant to apply to `a` elements unless they have the class added directly
49+ // the other classes in this file are theme containers that select `a` elements inside them
4250.mzp-c-cta-link {
4351 font-family : var (--button-font-family );
4452 font-weight : bold ;
You can’t perform that action at this time.
0 commit comments