Skip to content

Commit 462faa9

Browse files
committed
fixup! POC override
1 parent a00ef3e commit 462faa9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/frontend/apps/impress/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"private": true,
55
"scripts": {
66
"dev": "next dev",
7-
"build": "prettier --check . && yarn stylelint && next build",
7+
"build": "yarn build-theme && prettier --check . && yarn stylelint && next build",
88
"build:ci": "cp .env.development .env.local && yarn build",
9-
"build-theme": "cunningham -g css,ts -o src/cunningham --utility-classes && yarn prettier",
9+
"build-theme": "cunningham -g css,ts -o src/cunningham --utility-classes && yarn prettier --write src/cunningham/* && yarn stylelint --fix \"**/*.css\"",
1010
"start": "npx -y serve@latest out",
1111
"lint": "tsc --noEmit && next lint",
1212
"prettier": "prettier --write .",

src/frontend/apps/impress/src/cunningham/useCunninghamTheme.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { create } from 'zustand';
33

44
import { tokens } from './cunningham-tokens';
55

6-
type Tokens = typeof tokens.themes.default & Partial<typeof tokens.themes.dsfr>;
6+
type Tokens = typeof tokens.themes.default;
77
type ColorsTokens = Tokens['theme']['colors'];
88
type FontSizesTokens = Tokens['theme']['font']['sizes'];
99
type SpacingsTokens = Tokens['theme']['spacings'];

0 commit comments

Comments
 (0)