Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ags/example dark mode poc #72

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"access": "public"
},
"scripts": {
"build-design-tokens": "build-design-tokens --source ./tokens/src --build-dir ./paragon/css --source-tokens-only",
"build-scss": "build-scss --corePath ./paragon/core.scss --themesPath ./paragon/css/themes --defaultThemeVariants light",
"build-design-tokens": "build-design-tokens --source ./tokens/src --build-dir ./paragon/css --source-tokens-only --themes light dark",
"build-scss": "build-scss --corePath ./paragon/core.scss --themesPath ./paragon/css/themes --defaultThemeVariants light dark",
"build": "make build"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion paragon/css/core/custom-media-breakpoints.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* IMPORTANT: This file is the result of assembling design tokens
* Do not edit directly
* Generated on Sun, 23 Jul 2023 16:09:04 GMT
* Generated on Tue, 25 Jul 2023 11:07:54 GMT
*/

4 changes: 2 additions & 2 deletions paragon/css/core/index.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Roboto+Mono&display=swap');

@import "./custom-media-breakpoints.css";
@import "./variables.css";
@import "custom-media-breakpoints.css";
@import "variables.css";
2 changes: 1 addition & 1 deletion paragon/css/core/variables.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* IMPORTANT: This file is the result of assembling design tokens
* Do not edit directly
* Generated on Sun, 23 Jul 2023 16:09:04 GMT
* Generated on Tue, 25 Jul 2023 11:07:54 GMT
*/

:root {
Expand Down
2 changes: 2 additions & 0 deletions paragon/css/themes/dark/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@import "variables.css";
@import "utility-classes.css";
Empty file.
9 changes: 9 additions & 0 deletions paragon/css/themes/dark/variables.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/**
* IMPORTANT: This file is the result of assembling design tokens
* Do not edit directly
* Generated on Tue, 25 Jul 2023 11:07:54 GMT
*/

:root {
--pgn-color-primary-base: #FF0000FF;
}
2 changes: 1 addition & 1 deletion paragon/css/themes/light/variables.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* IMPORTANT: This file is the result of assembling design tokens
* Do not edit directly
* Generated on Sun, 23 Jul 2023 16:09:04 GMT
* Generated on Tue, 25 Jul 2023 11:07:54 GMT
*/

:root {
Expand Down
7 changes: 7 additions & 0 deletions tokens/src/themes/dark/global/color.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"color": {
"primary": {
"base": { "value": "red" }
}
}
}
Loading