File tree Expand file tree Collapse file tree 5 files changed +75
-42
lines changed
Expand file tree Collapse file tree 5 files changed +75
-42
lines changed Original file line number Diff line number Diff line change 22
33@layer kol-theme-component {
44 .kol-progress {
5- & __bar-border {
6- display : none ;
7- }
8-
9- & __bar-progress {
10- fill : var (--kern-color-feedback-loader );
11- rx : 0 ;
12- ry : 0 ;
13- }
14-
15- & __bar-background {
16- fill : var (--kern-color-feedback-loader-background );
17- rx : 0 ;
18- ry : 0 ;
19- stroke : var (--kern-color-layout-background-default );
20- }
21-
22- & __cycle-background {
23- fill : transparent ;
24- }
25-
26- & __cycle-border {
27- display : none ;
28- }
29-
30- & __cycle-background {
31- fill : transparent ;
32- stroke : var (--kern-color-feedback-loader-background );
33- }
34-
35- & __cycle-whitespace {
36- fill : transparent ;
37- stroke : var (--kern-color-feedback-loader-background );
38- stroke-width : to-rem (1 );
39- }
40-
41- & __cycle-progress {
42- fill : transparent ;
43- stroke : var (--kern-color-feedback-loader );
44- stroke-linecap : butt ;
45- stroke-width : to-rem (8 );
5+ & __bar {
6+ & -border {
7+ display : none ;
8+ }
9+
10+ & -progress {
11+ fill : var (--kern-color-feedback-loader );
12+ rx : 0 ;
13+ ry : 0 ;
14+ }
15+
16+ & -background {
17+ fill : var (--kern-color-feedback-loader-background );
18+ rx : 0 ;
19+ ry : 0 ;
20+ stroke : var (--kern-color-layout-background-default );
21+ }
22+
23+ & -value {
24+ margin-left : to-rem (8 );
25+ }
26+ }
27+
28+ & __cycle {
29+ & -background {
30+ fill : transparent ;
31+ }
32+
33+ & -border {
34+ display : none ;
35+ }
36+
37+ & -background {
38+ fill : transparent ;
39+ stroke : var (--kern-color-feedback-loader-background );
40+ }
41+
42+ & -whitespace {
43+ fill : transparent ;
44+ stroke : var (--kern-color-feedback-loader-background );
45+ stroke-width : to-rem (1 );
46+ }
47+
48+ & -progress {
49+ fill : transparent ;
50+ stroke : var (--kern-color-feedback-loader );
51+ stroke-linecap : butt ;
52+ stroke-width : to-rem (8 );
53+ }
4654 }
4755 }
4856}
Original file line number Diff line number Diff line change 1+ @use ' ~@public-ui/components/index' as * ;
2+
3+ @layer kol-theme-component {
4+ .kol-quote {
5+ & __cite {
6+ display : inline-flex ;
7+ align-items : center ;
8+
9+ & ::before {
10+ margin-right : to-rem (8 );
11+ }
12+ }
13+ }
14+ }
Original file line number Diff line number Diff line change 77 gap : var (--kern-metric-space-small );
88 flex-direction : column ;
99
10+ --indentation : #{to-rem (16 )} ;
11+
1012 @include kol-link (' kol-tree-item__text' );
1113
1214 & __link {
2830 .kol-link {
2931 width : 100% ;
3032 padding-right : 0 ;
33+ padding-left : max (calc (var (--indentation ) * var (--level )));
3134
3235 & :focus {
3336 outline-color : var (--kern-color-action-focus-background );
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ import navCss from './components/nav.scss';
2929import paginationCss from './components/pagination.scss' ;
3030import popoverButtonCss from './components/popover-button.scss' ;
3131import progressCss from './components/progress.scss' ;
32+ import quoteCss from './components/quote.scss' ;
3233import selectCss from './components/select.scss' ;
3334import singleSelect from './components/single-select.scss' ;
3435import skipNavCss from './components/skip-nav.scss' ;
@@ -76,6 +77,7 @@ export const KERN_V2 = KoliBri.createTheme('kern-v2', {
7677 'KOL-PAGINATION' : paginationCss ,
7778 'KOL-POPOVER-BUTTON' : popoverButtonCss ,
7879 'KOL-PROGRESS' : progressCss ,
80+ 'KOL-QUOTE' : quoteCss ,
7981 'KOL-SELECT' : selectCss ,
8082 'KOL-SINGLE-SELECT' : singleSelect ,
8183 'KOL-SKIP-NAV' : skipNavCss ,
Original file line number Diff line number Diff line change 44
55@mixin pagination {
66 .kol-pagination {
7- display : flex ;
87 @include button (' kol-button' );
98 @include kol-select ();
109
10+ display : flex ;
11+ gap : to-rem (16 );
12+
13+ & __navigation-list {
14+ gap : to-rem (8 );
15+ }
16+
1117 & __button--selected .kol-button--normal :disabled {
1218 --button-text-background-color : var (--kern-color-action-default );
1319 --button-text-border-color : var (--kern-color-action-default );
You can’t perform that action at this time.
0 commit comments