@nuvoui/core 1.2.4 → 1.2.6

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.
Files changed (41) hide show
  1. package/README.md +2 -2
  2. package/dist/nuvoui.css +27685 -22739
  3. package/dist/nuvoui.css.map +1 -1
  4. package/dist/nuvoui.min.css +1 -1
  5. package/dist/nuvoui.min.css.map +1 -1
  6. package/package.json +7 -8
  7. package/src/styles/abstracts/_config.scss +87 -34
  8. package/src/styles/abstracts/_functions.scss +70 -37
  9. package/src/styles/base/_base.scss +79 -59
  10. package/src/styles/base/_reset.scss +11 -8
  11. package/src/styles/index.scss +32 -17
  12. package/src/styles/layouts/_container.scss +1 -2
  13. package/src/styles/layouts/_flex.scss +442 -154
  14. package/src/styles/layouts/_grid.scss +145 -75
  15. package/src/styles/mixins-map.scss +1085 -1
  16. package/src/styles/themes/_theme.scss +95 -106
  17. package/src/styles/utilities/_alignment.scss +40 -13
  18. package/src/styles/utilities/_animations.scss +361 -92
  19. package/src/styles/utilities/_backdrop-filters.scss +297 -0
  20. package/src/styles/utilities/_borders.scss +360 -159
  21. package/src/styles/utilities/_colors.scss +24 -34
  22. package/src/styles/utilities/_container-queries.scss +7 -7
  23. package/src/styles/utilities/_cursor.scss +10 -17
  24. package/src/styles/utilities/_display.scss +234 -85
  25. package/src/styles/utilities/_helpers.scss +5 -5
  26. package/src/styles/utilities/_media-queries.scss +24 -27
  27. package/src/styles/utilities/_opacity.scss +15 -31
  28. package/src/styles/utilities/_position.scss +129 -66
  29. package/src/styles/utilities/_shadows.scss +23 -29
  30. package/src/styles/utilities/_sizing.scss +270 -92
  31. package/src/styles/utilities/_spacing.scss +317 -169
  32. package/src/styles/utilities/_tooltips.scss +36 -29
  33. package/src/styles/utilities/_transforms.scss +243 -154
  34. package/src/styles/utilities/_transitions.scss +129 -75
  35. package/src/styles/utilities/_typography.scss +341 -127
  36. package/src/styles/utilities/_z-index.scss +144 -0
  37. package/src/styles/abstracts/_index.scss +0 -1
  38. package/src/styles/base/_index.scss +0 -2
  39. package/src/styles/layouts/_index.scss +0 -3
  40. package/src/styles/themes/_index.scss +0 -1
  41. package/src/styles/utilities/_index.scss +0 -20
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuvoui/core",
3
- "version": "1.2.4",
3
+ "version": "1.2.6",
4
4
  "description": "NuvoUI is a human-friendly SCSS framework designed for simplicity, and modern responsive designs.",
5
5
  "author": {
6
6
  "name": "AALA IT Solutions",
@@ -41,7 +41,7 @@
41
41
  "prebuild": "npm run clean",
42
42
  "build": "npm run build:scss && npm run build:minify",
43
43
  "dev": "sass src/styles/index.scss:dist/nuvoui.css --watch",
44
- "prepublishOnly": "npm run lint && npm run build"
44
+ "prepublishOnly": "npm run format && npm run build"
45
45
  },
46
46
  "repository": {
47
47
  "type": "git",
@@ -75,16 +75,15 @@
75
75
  "last 2 versions",
76
76
  "not dead"
77
77
  ],
78
-
79
78
  "devDependencies": {
80
79
  "cssnano": "^7.0.6",
81
- "postcss": "^8.4.49",
82
- "postcss-cli": "^11.0.0",
80
+ "postcss": "^8.5.3",
81
+ "postcss-cli": "^11.0.1",
83
82
  "postcss-import": "^16.1.0",
84
83
  "postcss-nested": "^7.0.2",
85
- "prettier": "^3.3.3",
86
- "sass": "^1.81.0",
87
- "stylelint": "^16.10.0",
84
+ "prettier": "^3.5.3",
85
+ "sass": "^1.85.1",
86
+ "stylelint": "^16.16.0",
88
87
  "stylelint-config-standard-scss": "^13.1.0"
89
88
  },
90
89
  "peerDependencies": {
@@ -5,13 +5,25 @@
5
5
  $generate-utility-classes: true !default;
6
6
  $enable-dark-mode: true !default;
7
7
  $enable-rtl: true !default;
8
- $enable-debuger: false !default;
8
+ $enable-debugger: false !default;
9
9
  $enable-reduced-motion: true !default; // todo: pending
10
10
  $enable-container-queries: false !default; // todo: pending
11
11
 
12
+ // if just a number passed, it will be assumed as px
13
+ $default-unit: px !default;
14
+
12
15
  // Text
13
- $base-size: 16 !default;
14
- $font-family: system-ui, -apple-system, "BlinkMacSystemFont", 'Segoe UI', "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif;
16
+ $base-size: 16 !default;
17
+ $font-family:
18
+ system-ui,
19
+ -apple-system,
20
+ "BlinkMacSystemFont",
21
+ "Segoe UI",
22
+ "Roboto",
23
+ "Oxygen",
24
+ "Ubuntu",
25
+ "Cantarell",
26
+ sans-serif !default;
15
27
 
16
28
  // Global variables that might be used across different modules
17
29
  $column-count: 12 !default; // todo: pending
@@ -37,7 +49,8 @@ $color-primitives: (
37
49
  "pink": #ec4899,
38
50
  ) !default;
39
51
 
40
- $theme-tokens: ("background", "foreground", "surface", "border", "text-primary", "text-secondary") !default;
52
+ // Add item here to include in the theme
53
+ $theme-tokens: ("background", "foreground", "surface", "border", "text-default", "text-muted") !default;
41
54
 
42
55
  // Default theme config (can be overridden)
43
56
  $light-theme: (
@@ -45,8 +58,8 @@ $light-theme: (
45
58
  "foreground": #1a1a1a,
46
59
  "surface": #fff,
47
60
  "border": #e5e7eb,
48
- "text-primary": #1a1a1a,
49
- "text-secondary": #4b5563,
61
+ "text-default": #1a1a1a,
62
+ "text-muted": #4b5563,
50
63
  ) !default;
51
64
 
52
65
  $dark-theme: (
@@ -54,8 +67,8 @@ $dark-theme: (
54
67
  "foreground": #f1f1f1,
55
68
  "surface": #2e2e2e,
56
69
  "border": #2e2e2e,
57
- "text-primary": #f1f1f1,
58
- "text-secondary": #a3a3a3,
70
+ "text-default": #f1f1f1,
71
+ "text-muted": #a3a3a3,
59
72
  ) !default;
60
73
 
61
74
  $shadow-colors: (
@@ -85,36 +98,76 @@ $grid-item-sizes: (
85
98
 
86
99
  // _variables.scss
87
100
  $font-sizes: (
88
- "xs": 0.75rem, // 12px
89
- "sm": 0.875rem, // 14px
90
- "md": 1rem, // 16px
91
- "lg": 1.25rem, // 20px
92
- "xl": 1.5rem, // 24px
93
- "2xl": 1.75rem, // 28px
94
- "3xl": 2rem, // 32px
95
- "4xl": 2.5rem // 40px
101
+ "xs": 0.75rem,
102
+ // 12px
103
+ "sm": 0.875rem,
104
+ // 14px
105
+ "md": 1rem,
106
+ // 16px
107
+ "lg": 1.25rem,
108
+ // 20px
109
+ "xl": 1.5rem,
110
+ // 24px
111
+ "2xl": 1.75rem,
112
+ // 28px
113
+ "3xl": 2rem,
114
+ // 32px
115
+ "4xl": 2.5rem, // 40px
96
116
  ) !default;
97
117
 
98
118
  // Updated spacing map
99
119
  $spacings: (
100
120
  0: 0,
101
- 1: 0.25rem, // 4px
102
- 2: 0.5rem, // 8px
103
- 3: 0.75rem, // 12px
104
- 4: 1rem, // 16px
105
- 5: 1.25rem, // 20px
106
- 6: 1.5rem, // 24px
107
- 8: 2rem, // 32px
108
- 10: 2.5rem, // 40px
109
- 12: 3rem, // 48px
110
- 16: 4rem, // 64px
111
- 20: 5rem, // 80px
112
- 24: 6rem, // 96px
113
- 32: 8rem, // 128px
114
- 40: 10rem, // 160px
115
- 48: 12rem, // 192px
116
- 56: 14rem, // 224px
117
- 64: 16rem, // 256px
118
- ) !default;
121
+ 1: 0.25rem,
122
+ // 4px
123
+ 2: 0.5rem,
124
+ // 8px
125
+ 3: 0.75rem,
126
+ // 12px
127
+ 4: 1rem,
128
+ // 16px
129
+ 5: 1.25rem,
130
+ // 20px
131
+ 6: 1.5rem,
132
+ // 24px
133
+ 8: 2rem,
134
+ // 32px
135
+ 10: 2.5rem,
136
+ // 40px
137
+ 12: 3rem,
138
+ // 48px
139
+ 16: 4rem,
140
+ // 64px
141
+ 20: 5rem,
142
+ // 80px
143
+ 24: 6rem,
144
+ // 96px
145
+ 32: 8rem,
146
+ // 128px
147
+ 40: 10rem,
148
+ // 160px
149
+ 48: 12rem,
150
+ // 192px
151
+ 56: 14rem,
152
+ // 224px
153
+ 64: 16rem, // 256px
154
+ ) !default;
119
155
 
120
156
  $percentages: (0, 5, 10, 20, 25, 30, 40, 50, 60, 70, 75, 80, 90, 100) !default;
157
+
158
+ // Common border width values that are most useful
159
+ $border-widths: (0, 1, 2, 4, 8) !default;
160
+
161
+ // Common border radius values that are most useful
162
+ $border-radii: (
163
+ "xs": 0.25rem,
164
+ "sm": 0.375rem,
165
+ "md": 0.5rem,
166
+ "lg": 0.75rem,
167
+ "xl": 1rem,
168
+ "2xl": 1.25rem,
169
+ "full": 9999px,
170
+ "none": 0,
171
+ ) !default;
172
+
173
+ $parent-selector: "" !default;
@@ -13,18 +13,21 @@
13
13
  @return $string;
14
14
  }
15
15
 
16
- @function get-breakpoint-value($bp) {
17
- @if map.has-key($breakpoints, $bp) {
18
- @return map.get($breakpoints, $bp);
16
+ @function get-breakpoint-value($bp, $debug: false) {
17
+ @if map.has-key($breakpoints, #{$bp}) {
18
+ @return map.get($breakpoints, #{$bp});
19
19
  } @else if meta.type-of($bp) == number {
20
20
  @return $bp;
21
21
  } @else {
22
- @warn 'Invalid breakpoint: #{$bp}';
22
+ @error 'Invalid breakpoint: #{$bp}';
23
23
  @return null;
24
24
  }
25
25
  }
26
26
 
27
27
  @function strip-unit($value) {
28
+ @if meta.type-of($value) != number {
29
+ @error "strip-unit() requires a number";
30
+ }
28
31
  @return math.div($value, ($value * 0 + 1));
29
32
  }
30
33
 
@@ -38,44 +41,74 @@
38
41
  }
39
42
  }
40
43
 
41
- @function get-unit($value) {
42
- $value-str: #{$value};
44
+ /**
45
+ * Ensures a value has a unit, adding $default-unit if none exists
46
+ * @param {Number|String} $val - The value to check
47
+ * @return {String} - The value with units
48
+ */
49
+ @function fix-units($val, $unit: $default-unit, $debug: null) {
50
+ @if meta.type-of($val) != number and meta.type-of($val) != string {
51
+ @error "fix-units() requires a number or string value";
52
+ @return null;
53
+ }
54
+
55
+ @if meta.type-of($val) == number {
56
+ @if math.is-unitless($val) {
57
+ @return $val + $unit;
58
+ }
59
+ @return $val;
60
+ }
61
+
62
+ $val: strip-quotes($val);
63
+
64
+ @if $val == auto or $val == inherit or $val == initial or $val == "min-content" or $val == "max-content" or $val == "fit-content" {
65
+ @return #{$val};
66
+ }
67
+
68
+ @if string.index($val, "px") or string.index($val, "em") or string.index($val, "rem") or string.index($val, "%") or string.index($val, "vh") or string.index($val, "vw") or string.index($val, "vmin") or string.index($val, "vmax") {
69
+ @return #{$val};
70
+ }
71
+
72
+ @if $debug {
73
+ @debug "fix-units() value: " + $val;
74
+ }
75
+
76
+ @return string.unquote($val + $unit);
77
+ }
78
+
79
+ @function strip-quotes($string) {
80
+ @if meta.type-of($string) == string {
81
+ @if string.slice($string, 1, 1) == '"' and string.slice($string, -1) == '"' {
82
+ @return string.slice($string, 2, -2);
83
+ } @else if string.slice($string, 1, 1) == "'" and string.slice($string, -1) == "'" {
84
+ @return string.slice($string, 2, -2);
85
+ }
86
+ }
43
87
 
44
- // Relative length units
45
- @if string.index($value-str, "em") {
46
- @return "em";
47
- } @else if string.index($value-str, "rem") {
48
- @return "rem";
49
- } @else if string.index($value-str, "%") {
50
- @return "%";
88
+ @return $string;
89
+ }
90
+
91
+ @function str-trim($string) {
92
+ @while string.length($string) > 0 and string.slice($string, 1, 1) == " " {
93
+ $string: string.slice($string, 2);
51
94
  }
52
95
 
53
- // Viewport units
54
- @else if string.index($value-str, "vw") {
55
- @return "vw";
56
- } @else if string.index($value-str, "vh") {
57
- @return "vh";
58
- } @else if string.index($value-str, "vmin") {
59
- @return "vmin";
60
- } @else if string.index($value-str, "vmax") {
61
- @return "vmax";
96
+ @while string.length($string) > 0 and string.slice($string, -1) == " " {
97
+ $string: string.slice($string, 1, string.length($string) - 1);
62
98
  }
63
99
 
64
- // Absolute length units
65
- @else if string.index($value-str, "px") {
66
- @return "px";
67
- } @else if string.index($value-str, "cm") {
68
- @return "cm";
69
- } @else if string.index($value-str, "mm") {
70
- @return "mm";
71
- } @else if string.index($value-str, "in") {
72
- @return "in";
73
- } @else if string.index($value-str, "pt") {
74
- @return "pt";
75
- } @else if string.index($value-str, "pc") {
76
- @return "pc";
100
+ @return $string;
101
+ }
102
+
103
+ @function split($string, $delimiter) {
104
+ $result: ();
105
+ $index: string.index($string, $delimiter);
106
+ @while $index != null {
107
+ $item: string.slice($string, 1, $index - 1);
108
+ $result: list.append($result, str-trim(string.unquote(strip-quotes($item))));
109
+ $string: string.slice($string, $index + string.length($delimiter));
110
+ $index: string.index($string, $delimiter);
77
111
  }
78
112
 
79
- // Return empty string if no unit found
80
- @return "";
113
+ @return list.append($result, str-trim($string));
81
114
  }
@@ -1,100 +1,111 @@
1
- @use 'sass:map';
1
+ @use "sass:map";
2
2
 
3
3
  /* Import variables */
4
- @use '../abstracts' as *;
5
- @use '../utilities/media-queries' as media;
6
-
4
+ @use "../abstracts/config" as *;
5
+ @use "../utilities/media-queries" as media;
6
+
7
7
  :root {
8
8
  --font-family-base: #{$font-family};
9
9
  }
10
10
 
11
11
  // Base typography styles
12
12
  html {
13
- font-size: $base-size;
13
+ font-size: $base-size;
14
14
  }
15
15
 
16
- body {
16
+ body#{$parent-selector} {
17
17
  font-family: var(--font-family-base);
18
18
  font-weight: 400;
19
19
  line-height: 1.5;
20
- color: var(--text-primary);
20
+ color: var(--text-default);
21
21
  }
22
22
 
23
23
  // Headings
24
- h1, h2, h3, h4, h5, h6 {
24
+ #{$parent-selector} h1,
25
+ #{$parent-selector} h2,
26
+ #{$parent-selector} h3,
27
+ #{$parent-selector} h4,
28
+ #{$parent-selector} h5,
29
+ #{$parent-selector} h6 {
25
30
  margin-bottom: 0.5em;
26
31
  font-family: var(--font-family-heading);
27
32
  font-weight: 700;
28
33
  line-height: 1.2;
29
34
  }
30
35
 
31
- h1 {
32
- font-size: map.get($font-sizes, '4xl');
36
+ #{$parent-selector} h1 {
37
+ font-size: map.get($font-sizes, "4xl");
33
38
  }
34
39
 
35
- h2 {
36
- font-size: map.get($font-sizes, '3xl');
40
+ #{$parent-selector} h2 {
41
+ font-size: map.get($font-sizes, "3xl");
37
42
  }
38
43
 
39
- h3 {
40
- font-size: map.get($font-sizes, '2xl');
44
+ #{$parent-selector} h3 {
45
+ font-size: map.get($font-sizes, "2xl");
41
46
  }
42
47
 
43
- h4 {
44
- font-size: map.get($font-sizes, 'xl');
48
+ #{$parent-selector} h4 {
49
+ font-size: map.get($font-sizes, "xl");
45
50
  }
46
51
 
47
- h5 {
48
- font-size: map.get($font-sizes, 'lg');
52
+ #{$parent-selector} h5 {
53
+ font-size: map.get($font-sizes, "lg");
49
54
  }
50
55
 
51
- h6 {
52
- font-size: map.get($font-sizes, 'base');
56
+ #{$parent-selector} h6 {
57
+ font-size: map.get($font-sizes, "base");
53
58
  }
54
59
 
55
60
  // Paragraphs
56
- p {
61
+ #{$parent-selector} p {
57
62
  margin-bottom: 1rem;
58
63
  }
59
64
 
60
65
  // Small text
61
- small {
62
- font-size: map.get($font-sizes, 'sm');
66
+ #{$parent-selector} small {
67
+ font-size: map.get($font-sizes, "sm");
63
68
  }
64
69
 
65
70
  // Buttons
66
- button {
71
+ #{$parent-selector} button {
67
72
  padding: 0.5rem 1rem;
68
73
  border: 0;
69
74
  border-radius: 0.25rem;
70
- background-color: var(--button-bg-color, #007BFF); // Default button color
71
- color: var(--button-text-color, #FFF);
72
75
  font-family: var(--font-family-base);
73
76
  cursor: pointer;
74
- transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
77
+ transition:
78
+ background-color 0.2s ease-in-out,
79
+ color 0.2s ease-in-out;
75
80
 
76
- &:hover {
77
- background-color: var(--button-bg-color-hover, #0056B3); // Hover button color
78
- }
79
-
80
81
  &:focus {
81
82
  outline: none;
82
83
  }
83
84
 
84
85
  &:disabled {
85
- background-color: #E0E0E0; // Disabled button color
86
- color: #A0A0A0; // Disabled text color
86
+ background-color: #e0e0e0; // Disabled button color
87
+ color: #a0a0a0; // Disabled text color
87
88
  cursor: not-allowed;
88
89
  }
90
+
91
+ // Default styling when no bg-* class is present
92
+ &:not([class*="bg-"]) {
93
+ background-color: var(--button-bg-color, #007bff); // Default button color
94
+ color: var(--button-text-color, #fff);
95
+
96
+ &:hover {
97
+ background-color: var(--button-bg-color-hover, #0056b3);
98
+ }
99
+ }
89
100
  }
90
101
 
91
102
  // Inputs
92
- input[type="text"],
93
- input[type="email"],
94
- input[type="password"],
95
- input[type="number"],
96
- input[type="search"],
97
- textarea {
103
+ #{$parent-selector} input[type="text"],
104
+ #{$parent-selector} input[type="email"],
105
+ #{$parent-selector} input[type="password"],
106
+ #{$parent-selector} input[type="number"],
107
+ #{$parent-selector} input[type="search"],
108
+ #{$parent-selector} textarea {
98
109
  padding: 0.5rem;
99
110
  border: 1px solid var(--border);
100
111
  border-radius: 0.25rem;
@@ -109,13 +120,13 @@ textarea {
109
120
  }
110
121
 
111
122
  // Checkboxes and Radio Buttons
112
- input[type="checkbox"],
113
- input[type="radio"] {
123
+ #{$parent-selector} input[type="checkbox"],
124
+ #{$parent-selector} input[type="radio"] {
114
125
  margin-right: 0.5rem; // Space between input and label
115
126
  }
116
127
 
117
128
  // Selects
118
- select {
129
+ #{$parent-selector} select {
119
130
  padding: 0.5rem;
120
131
  border: 1px solid var(--border);
121
132
  border-radius: 0.25rem;
@@ -130,7 +141,7 @@ select {
130
141
  }
131
142
 
132
143
  // Blockquotes
133
- blockquote {
144
+ #{$parent-selector} blockquote {
134
145
  margin: 1rem 0;
135
146
  padding: 0.5rem 1rem;
136
147
  border-left: 4px solid var(--border);
@@ -138,40 +149,49 @@ blockquote {
138
149
  }
139
150
 
140
151
  // Horizontal Rule
141
- hr {
152
+ #{$parent-selector} hr {
142
153
  border: none;
143
154
  border-top: 1px solid var(--border);
144
155
  margin: 1rem 0;
145
156
  }
146
157
 
147
158
  // Images
148
- img {
159
+ #{$parent-selector} img {
149
160
  max-width: 100%; // Responsive images
150
161
  height: auto;
151
162
  }
152
163
 
153
164
  // Figures and Captions
154
- figure {
165
+ #{$parent-selector} figure {
155
166
  margin: 1rem 0;
156
167
  }
157
168
 
158
- figcaption {
169
+ #{$parent-selector} figcaption {
159
170
  font-size: 0.875rem; // Smaller font for captions
160
- color: var(--text-secondary, #666); // Optional secondary text color
171
+ color: var(--text-muted, #666); // Optional secondary text color
161
172
  }
162
173
 
163
174
  // Links
164
- a {
165
- color: var(--link-color);
175
+ #{$parent-selector} a {
166
176
  transition: color 0.2s ease-in-out;
167
177
 
168
- &:hover {
169
- color: var(--link-hover-color);
178
+ &:not([class*="text-"]) {
179
+ // document: if no hover or normal text provided it will use the default link color
180
+ color: var(--link-color);
181
+
182
+ &:hover {
183
+ color: var(--link-hover-color);
184
+ }
170
185
  }
171
186
  }
172
187
 
188
+ // Labels
189
+ #{$parent-selector} label[for] {
190
+ cursor: pointer;
191
+ }
192
+
173
193
  // todo: add to doc
174
- .sr-only {
194
+ #{$parent-selector} .sr-only {
175
195
  position: absolute !important;
176
196
  width: 1px !important;
177
197
  height: 1px !important;
@@ -183,16 +203,16 @@ a {
183
203
  border: 0 !important;
184
204
  }
185
205
 
186
- code {
187
- font-family: 'Courier New', Courier, monospace;
188
- background-color: #f8f8f8;
189
- color: #d63384;
206
+ #{$parent-selector} code {
207
+ font-family: "Courier New", Courier, monospace;
208
+ background-color: #f8f8f8;
209
+ color: #d63384;
190
210
  padding: 2px 6px;
191
211
  border-radius: 3px;
192
212
  white-space: nowrap;
193
213
 
194
214
  @include media.dark-mode {
195
- background-color: #333;
196
- color: #f8f8f2;
215
+ background-color: #333;
216
+ color: #f8f8f2;
197
217
  }
198
218
  }
@@ -9,7 +9,6 @@
9
9
  padding: 0;
10
10
  }
11
11
 
12
-
13
12
  // Remove default margin and padding
14
13
  body,
15
14
  h1,
@@ -27,7 +26,7 @@ dd {
27
26
  padding: 0;
28
27
  }
29
28
 
30
- // Prevent font size inflation
29
+ // Prevent font size inflation
31
30
  html {
32
31
  -moz-text-size-adjust: none; /* stylelint-disable-line */
33
32
  -webkit-text-size-adjust: none; /* stylelint-disable-line */
@@ -50,8 +49,13 @@ body {
50
49
  }
51
50
 
52
51
  // Set shorter line heights on headings and interactive elements
53
- h1, h2, h3, h4,
54
- button, input, label {
52
+ h1,
53
+ h2,
54
+ h3,
55
+ h4,
56
+ button,
57
+ input,
58
+ label {
55
59
  line-height: 1.1;
56
60
  }
57
61
 
@@ -91,8 +95,8 @@ select {
91
95
  }
92
96
 
93
97
  // Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed
94
- ul[role='list'],
95
- ol[role='list'] {
98
+ ul[role="list"],
99
+ ol[role="list"] {
96
100
  list-style: none;
97
101
  margin: 0;
98
102
  padding: 0;
@@ -100,7 +104,7 @@ ol[role='list'] {
100
104
  // Modern properties
101
105
  padding-inline-start: 0; // Replaces padding-left
102
106
  margin-block: 0; // Replaces margin-top/bottom
103
-
107
+
104
108
  & > li {
105
109
  margin: 0;
106
110
  padding: 0;
@@ -125,7 +129,6 @@ textarea:not([rows]) {
125
129
  scroll-margin-block: 5ex;
126
130
  }
127
131
 
128
-
129
132
  // Remove all animations and transitions for people that prefer not to see them
130
133
  @media (prefers-reduced-motion: reduce) {
131
134
  *,