Skip to content

Commit 3f961fc

Browse files
committed
www: @System folder refactor
1 parent 2f79b9d commit 3f961fc

File tree

17 files changed

+52
-74
lines changed

17 files changed

+52
-74
lines changed

packages/www/@system/data/features.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ features:
3131
- Universal HMR
3232
- SPA development
3333
- SVG development
34-
- Instant startup
35-
- Zero config
34+
- Near-instant startup
35+
- Minimal config
3636

3737
Backend layer:
3838
- CloudFlare compatibiliity
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

2-
# Basic rules
3-
4-
- **Native HTML for 90% of things** custom components (with class names) for missing elements in the HTML spec.
2+
## Whitespace
53

64
- **Page structure (rems)**. Page margins, section gaps, grid spacing, major layout breaks. These relate to the overall document scale and should respond to user font size preferences consistently.
75

8-
- **Elements/components (ems)**. Button padding, input margins, card spacing, typography margins. These relate to the element's own content and should scale with that specific text size.
6+
- **Elements/components (ems)**. Button padding, input margins, card spacing, typography margins. These relate to the element's own content and should scale with that specific text size.
7+
8+
- **grid.css** for flex, grid, and columned layouts
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
@layer modifier {
2+
3+
.dark {
4+
background-color: #111;
5+
6+
.logo {
7+
filter: invert(100);
8+
}
9+
10+
h1, h2, h3 {
11+
color: white;
12+
}
13+
p, a, li {
14+
color: var(--base-400);
15+
}
16+
}
17+
}

packages/www/@system/design/nue-specific/assembly.css

Whitespace-only changes.
File renamed without changes.

packages/www/@system/design/hero.css renamed to packages/www/@system/design/nue-specific/hero.css

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
11

22
@layer modifier {
33

4-
.dark {
5-
background-color: #111;
6-
7-
.logo {
8-
filter: invert(100);
9-
}
10-
11-
h1, h2, h3 {
12-
color: white;
13-
}
14-
p, a, li {
15-
color: var(--base-400);
16-
}
17-
}
18-
194
.heroic article {
205
h1 {
216
font-size: 4.5em;

packages/www/@system/design/ui/figure.css

Lines changed: 0 additions & 26 deletions
This file was deleted.
File renamed without changes.

packages/www/@system/layout/footer.html

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)