Skip to content

Commit 01314f1

Browse files
committed
optimierung readme.md und bwst theme
1 parent ebfb56c commit 01314f1

File tree

12 files changed

+15
-19
lines changed

12 files changed

+15
-19
lines changed

packages/themes/bwst/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ To adjust the design tokens, create a simple stylesheet that overrides the desir
8484

8585
## Design Tokens
8686

87-
The following tokens are defined in `src/global.scss` and serve as the base for colors, fonts, and spacing across all components.
87+
The following tokens are defined in `src/global.scss` and serve as the base for colors, fonts, and spacing across all components. For a comprehensive reference of all tokens including their usage context, see [DESIGN_TOKENS.md](./DESIGN_TOKENS.md).
8888

8989
| Token | Default value | Meaning |
9090
| ------------------------- | ---------------------------------------------------------------------------- | ---------------------------- |

packages/themes/bwst/src/components/details.scss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@
4848
@include focus-outline;
4949
}
5050
}
51-
&:has(:focus-visible) {
52-
@include focus-outline;
53-
}
5451

5552
.collapsible__heading {
5653
border-top: 1px solid var(--color-mute-variant);

packages/themes/bwst/src/components/input-checkbox.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
}
7070

7171
&:not(:disabled):hover {
72-
box-shadow: 0 2px 8px 2px rgb(8, 35, 48, 0.24);
72+
box-shadow: 0 2px 8px 2px rgba(8, 35, 48, 0.24);
7373
border-color: var(--color-primary);
7474
}
7575
}
@@ -219,7 +219,7 @@
219219
&__label {
220220
color: var(--color-light);
221221
background-color: var(--color-primary-variant);
222-
box-shadow: 0 2px 8px 2px rgb(8, 35, 48, 0.24);
222+
box-shadow: 0 2px 8px 2px rgba(8, 35, 48, 0.24);
223223
border-color: var(--color-primary-variant);
224224
}
225225
}

packages/themes/bwst/src/components/input-radio.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
line-height: 1.5;
5656

5757
&:not(:disabled):hover {
58-
box-shadow: 0 2px 8px 2px rgb(8, 35, 48, 0.24);
58+
box-shadow: 0 2px 8px 2px rgba(8, 35, 48, 0.24);
5959
border-color: var(--color-primary);
6060
}
6161

packages/themes/bwst/src/components/nav.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
&:hover {
103103
color: var(--text-color);
104104
background-color: var(--text-background-color);
105-
box-shadow: 0 2px 8px 2px rgb(8, 35, 48, 0.24);
105+
box-shadow: 0 2px 8px 2px rgba(8, 35, 48, 0.24);
106106
border-color: var(--text-border-color);
107107
}
108108

packages/themes/bwst/src/components/spin.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111
border-radius: 50%;
1212
display: inline-block;
1313
box-sizing: border-box;
14-
width: to-rem(96);
15-
height: to-rem(96);
16-
border-width: 10px;
14+
border-width: 6px;
1715
animation-duration: 1.5s;
1816
animation-name: rotation;
1917
}

packages/themes/bwst/src/global.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
@layer kol-theme-global {
44
:host {
55
--border-radius: var(--kolibri-border-radius, #{to-rem(4)});
6-
//--font-family: var(--kolibri-font-family, Verdana, Arial, Calibri, Helvetica, sans-serif);
76
--font-family: var(--kolibri-font-family, 'Noto Sans Regular', Arial, helvetica, sans-serif);
87
--font-size: var(--kolibri-font-size, #{to-rem(16)});
98
--spacing: var(--kolibri-spacing, #{to-rem(4)});
10-
--border-width: var(--kolibri-border-width, 1px);
9+
--border-width: var(--kolibri-border-width, 2px);
1110
--color-primary: var(--kolibri-color-primary, #156570);
1211
--color-primary-variant: var(--kolibri-color-primary-variant, #207a8b);
1312
--color-secondary: var(--kolibri-color-secondary, #ccebf7);
@@ -40,7 +39,7 @@
4039
padding: 0;
4140
}
4241

43-
*[tabindex]:not([role='tabpanel']):focus,
42+
*[tabindex]:not([role='tabpanel']):not([tabindex='-1']):focus,
4443
.kol-input:not(.checkbox, .radio) .input:focus-within,
4544
.kol-input:is(.checkbox, .radio) input:focus,
4645
summary:focus {

packages/themes/bwst/src/mixins/alert.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
}
2929

3030
.kol-alert--variant-card {
31-
filter: drop-shadow(0 to-rem(2) to-rem(4) rgb(8, 35, 48, 0.24));
31+
filter: drop-shadow(0 to-rem(2) to-rem(4) rgba(8, 35, 48, 0.24));
3232
border-radius: var(--border-radius);
3333
flex-direction: column;
3434
border: var(--border-width) solid var(--alert-accent-color);

packages/themes/bwst/src/mixins/button.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
&:hover {
9393
color: var(--text-color);
9494
background-color: var(--text-background-color);
95-
box-shadow: 0 2px 8px 2px rgb(8, 35, 48, 0.24);
95+
box-shadow: 0 2px 8px 2px rgba(8, 35, 48, 0.24);
9696
border-color: var(--text-border-color);
9797
}
9898

packages/themes/bwst/src/mixins/kol-table-stateless-wc.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
--kol-selection-input-main-color: var(--color-primary);
153153
--kol-selection-input-off-color: var(--color-subtle);
154154
--kol-selection-input-focus-color: var(--color-primary-variant);
155-
--kol-selection-input-hover-color: rgb(8, 35, 48, 0.24);
155+
--kol-selection-input-hover-color: rgba(8, 35, 48, 0.24);
156156
--kol-selection-input-icon-color: var(--color-light);
157157

158158
&-input {
@@ -209,7 +209,7 @@
209209
--kol-selection-input-main-color: var(--color-light);
210210
--kol-selection-input-off-color: var(--color-mute);
211211
--kol-selection-input-focus-color: var(--color-mute-variant);
212-
--kol-selection-input-hover-color: rgb(255, 255, 255, 0.24);
212+
--kol-selection-input-hover-color: rgba(255, 255, 255, 0.24);
213213
--kol-selection-input-icon-color: var(--color-primary);
214214
}
215215
}

0 commit comments

Comments
 (0)