Skip to content

Commit a8a1f75

Browse files
bikkelhart-mennoaequitas
authored andcommitted
Add postcss to the frontend setup
1 parent cef300d commit a8a1f75

6 files changed

Lines changed: 4924 additions & 0 deletions

File tree

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,7 @@ docker/local.env
7979

8080
# config dumps from make docker-compose-config-to-file
8181
config-compose-*
82+
83+
# Frontend
84+
frontend/node_modules
85+
frontend/build

frontend/.stylelintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{ "extends": ["stylelint-config-standard"] }

frontend/css/style-test.css

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
/* Test file for postcss output */
2+
:root {
3+
color-scheme: light dark;
4+
}
5+
6+
body {
7+
color: light-dark(#333b3c, #efefec);
8+
background-color: light-dark(#efedea, #223a2c);
9+
}
10+
11+
input {
12+
/* styles for input not in a label */
13+
border: tomato 2px solid;
14+
}
15+
16+
label {
17+
/* styles for label */
18+
font-family: system-ui;
19+
font-size: 1.25rem;
20+
21+
& input {
22+
/* styles for input in a label */
23+
border: blue 2px dashed;
24+
}
25+
}

0 commit comments

Comments
 (0)