File tree Expand file tree Collapse file tree 8 files changed +44
-14
lines changed
Expand file tree Collapse file tree 8 files changed +44
-14
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ include ../link/mixin.pug
1414 'https://evilmartians.com/chronicles/oklch-in-css-why-quit-rgb-hsl'
1515 )
1616 + link(
17- 'github ' ,
18- 'evilmartians / oklch-picker ' ,
19- 'https://github. com/evilmartians/oklch-picker '
17+ 'palette ' ,
18+ 'Build palette with OKLCH and APCA ' ,
19+ 'https://harmonizer.evilmartians. com/'
2020 )
2121
2222 .layout_l
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1414 background : var (--surface-2 );
1515 border-radius : 36px ;
1616
17- & : hover {
17+ & : hover ,
18+ & : focus-visible {
1819 background : var (--surface-ui-accent );
1920 }
2021}
2728 right : 28px ;
2829 width : var (--link-external-size );
2930 height : var (--link-external-size );
30- content : "" ;
31- background : url (" ./external.svg" );
31+ content : '' ;
32+ background : url (' ./external.svg' );
3233 transform : translateY (-50% );
3334
3435 @media (prefers-color-scheme : dark) {
3738}
3839
3940.link_icon {
40- --link-icon-size : 48px ;
41-
4241 position : absolute;
4342 top : 50% ;
4443 left : 12px ;
45- width : var ( --link-icon-size ) ;
46- height : var ( --link-icon-size ) ;
44+ width : 48 px ;
45+ height : 48 px ;
4746 transform : translateY (-50% );
4847}
4948
Original file line number Diff line number Diff line change 11mixin link(icon, text, href )
22 a.link ( class =` is-${ icon} ` target ="_blank" href =href )
3- if icon === ' github '
4- include ./github .svg
3+ if icon === ' palette '
4+ include ./harmonizer .svg
55 else if icon === ' help'
66 include ./help.svg
77 = text
Original file line number Diff line number Diff line change 11.title {
2+ padding-inline : 72px ;
3+ position : relative;
4+ }
5+
6+ .title_text {
27 padding : 28px 0 ;
38 font-size : 17.5px ;
49 line-height : 20px ;
510 text-align : center;
611}
12+
13+ .title_source {
14+ position : absolute;
15+ top : 50% ;
16+ left : 0 ;
17+ width : 48px ;
18+ height : 48px ;
19+ transform : translateY (-50% );
20+ border-radius : 50% ;
21+ background : var (--surface-1 );
22+
23+ & : hover ,
24+ & : focus-visible {
25+ background : var (--surface-ui-accent );
26+ }
27+ }
Original file line number Diff line number Diff line change 1- h1.title = ` ${ LCH ? ' LCH' : ' OKLCH' } Color Picker & Converter`
1+ .title
2+ h1.title_text
3+ = ` ${ LCH ? ' LCH' : ' OKLCH' } Color Picker & Converter`
4+ a.title_source (
5+ target ="_blank"
6+ href ="https://github.com/evilmartians/oklch-picker"
7+ title ="Source code"
8+ aria-title ="Source code"
9+ )
10+ include ./github.svg
You can’t perform that action at this time.
0 commit comments