@featherk/styles 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,44 @@
1
+ # @featherk/styles
2
+
3
+ FeatherK shared style assets (CSS, SCSS, fonts) for Kendo UI enhancements.
4
+
5
+ ## Contents
6
+
7
+ - `css/` Pre-built vanilla CSS files
8
+ - `scss/` Source SCSS you can customize & compile
9
+ - `external-Styles/` Placeholder for 3rd-party or vendor styles you want distributed
10
+ - `fonts/` Any webfont files referenced by the CSS/SCSS
11
+
12
+ ## Installation
13
+
14
+ ```bash
15
+ npm install @featherk/styles
16
+ ```
17
+
18
+ ## Usage
19
+
20
+ Import individual CSS files:
21
+
22
+ ```ts
23
+ import '@featherk/styles/css/base.css';
24
+ ```
25
+
26
+ Or import SCSS (if your bundler handles SCSS):
27
+
28
+ ```scss
29
+ @use '@featherk/styles/scss/variables';
30
+ ```
31
+
32
+ Fonts will be resolved relative to the package after build. Ensure your bundler copies font files from `node_modules/@featherk/styles/dist/fonts` if not automatically served.
33
+
34
+ ## Customizing
35
+
36
+ Copy the SCSS files into your project, modify variables, and compile. Or extend them using SCSS `@use` or `@forward`.
37
+
38
+ ## Publishing Notes
39
+
40
+ The build step copies all asset directories into `dist/` and compiles any root-level SCSS files into CSS.
41
+
42
+ ## License
43
+
44
+ MIT
@@ -0,0 +1,84 @@
1
+ /* FOCUS v. FOCUS-VISIBLE */
2
+ /* https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible#focus_vs_focus-visible */
3
+
4
+ /*
5
+ HMM: Brian P. - What should focus style be?
6
+ */
7
+ .k-button.k-button-solid-primary:focus,
8
+ .k-button:focus.k-button-solid-base,
9
+ .k-checkbox-wrap .k-checkbox:checked:focus,
10
+ .k-radio:checked:focus,
11
+ button.k-button.k-button-flat:focus,
12
+ .k-button.k-button-outline.k-button-outline-primary:focus {
13
+ box-shadow: 0px 0px 0px 0px transparent;
14
+ }
15
+
16
+ /*
17
+ HMM: Brian P. - What should focus visible style be?
18
+ */
19
+ .k-button.k-button-solid-primary:focus-visible,
20
+ .k-button:focus-visible.k-button-solid-base,
21
+ .k-checkbox-wrap .k-checkbox:checked:focus-visible,
22
+ .k-radio:checked:focus-visible,
23
+ button.k-button.k-button-flat:focus-visible,
24
+ .k-button.k-button-outline.k-button-outline-primary:focus-visible {
25
+ outline: 2px solid rgba(20, 20, 20, 0.4);
26
+ }
27
+
28
+ /* SLIDER, RANGESLIDER */
29
+ .k-slider-track {
30
+ /*
31
+ HMM: Brian P. - Should we give a visual hint to the track, without ticks?
32
+ */
33
+ outline: 1px solid rgba(10, 10, 10, 0.15);
34
+ }
35
+ /* "There's no ticks in baseball" */
36
+ .k-tick.k-tick-large.k-tick-horizontal,
37
+ .k-tick.k-tick-large.k-tick-vertical {
38
+ visibility: hidden;
39
+ .k-label {
40
+ visibility: visible;
41
+ }
42
+ }
43
+
44
+ /* BUTTON */
45
+ .k-button.k-button-md.k-rounded-md.k-button-solid.k-button-solid-primary {
46
+ span.k-button-text {
47
+ color: white;
48
+ }
49
+ }
50
+
51
+ /* FLOATING ACTION BUTTON (FAB) */
52
+ .k-fab > .k-fab-icon {
53
+ color: white;
54
+ }
55
+
56
+ .k-button.k-button-md.k-rounded-md.k-button-solid.k-button-solid-primary,
57
+ .k-button.k-button-md.k-rounded-md.k-button-outline.k-button-outline-primary,
58
+ .k-button.k-button-md.k-rounded-md.k-button-flat.k-button-flat-primary {
59
+ min-width: fit-content;
60
+ height: fit-content;
61
+ }
62
+
63
+ .k-textbox {
64
+ min-width: fit-content;
65
+ height: fit-content;
66
+ }
67
+
68
+ /* Remove alternating row color */
69
+ .k-grid.k-grid-md .k-table .k-table-tbody .k-master-row.k-table-row.k-alt.k-table-alt-row {
70
+ background-color: inherit;
71
+ }
72
+
73
+ a{
74
+ color: unset;
75
+ }
76
+
77
+ /* ICONS in APP BAR */
78
+ .k-appbar .k-appbar-section .k-button.k-button-flat .k-button-icon.k-icon.k-svg-icon>svg {
79
+ color: white;
80
+ }
81
+
82
+ .k-grid .k-table-row {
83
+ cursor: pointer;
84
+ }