-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from open-formulieren/refactor/3178-tokens-for…
…-backend-styles Set up tokens for layout/container styles
- Loading branch information
Showing
8 changed files
with
228 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"utrecht": { | ||
"page-content": { | ||
"padding-block-end": {"value": "20px"}, | ||
"padding-block-start": {"value": "20px"} | ||
} | ||
}, | ||
"of": { | ||
"utrecht-page-content": { | ||
"$extensions": { | ||
"dte.metadata": { | ||
"groupDescription": "Open Forms' extensions on the utrecht-page-content, for responsive styling." | ||
} | ||
}, | ||
"mobile": { | ||
"padding-block-end": {"value": "0"}, | ||
"padding-block-start": {"value": "0"} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"utrecht": { | ||
"page-footer": { | ||
"$extensions": { | ||
"dte.metadata": { | ||
"groupDescription": "Default Open Forms footer styling." | ||
} | ||
}, | ||
|
||
"color": {"value": "{of.color.bg}"}, | ||
"background-color": {"value": "{of.color.primary}"}, | ||
"background-image": {}, | ||
"padding-inline-end": {"value": "20px"}, | ||
"padding-inline-start": {"value": "20px"}, | ||
"padding-block-end": {"value": "20px"}, | ||
"padding-block-start": {"value": "20px"} | ||
} | ||
}, | ||
"of": { | ||
"utrecht-page-footer": { | ||
"$extensions": { | ||
"dte.metadata": { | ||
"groupDescription": "Open Forms' extensions on the utrecht-page-footer, for responsive styling." | ||
} | ||
}, | ||
|
||
"max-inline-size": {"value": "100%"}, | ||
|
||
"mobile": { | ||
"padding-block-end": {"value": "10px"}, | ||
"padding-block-start": {"value": "10px"}, | ||
"padding-inline-end": {"value": "15px"}, | ||
"padding-inline-start": {"value": "15px"} | ||
}, | ||
"tablet": { | ||
"padding-block-end": {"value": "10px"}, | ||
"padding-block-start": {"value": "10px"}, | ||
"padding-inline-end": {"value": "15px"}, | ||
"padding-inline-start": {"value": "15px"} | ||
}, | ||
"laptop": { | ||
"padding-block-end": {"value": "20px"}, | ||
"padding-block-start": {"value": "20px"}, | ||
"padding-inline-end": {"value": "20px"}, | ||
"padding-inline-start": {"value": "20px"} | ||
}, | ||
"desktop": { | ||
"padding-block-end": {"value": "20px"}, | ||
"padding-block-start": {"value": "20px"}, | ||
"padding-inline-end": {"value": "20px"}, | ||
"padding-inline-start": {"value": "20px"}, | ||
"max-inline-size": {"value": "1200px"} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"utrecht": { | ||
"page-header": { | ||
"$extensions": { | ||
"dte.metadata": { | ||
"groupDescription": "Default Open Forms header styling." | ||
} | ||
}, | ||
|
||
"background-color": {"value": "#ffffff"}, | ||
"color": {"value": "{of.color.fg}"}, | ||
"padding-inline-end": {"value": "20px"}, | ||
"padding-inline-start": {"value": "20px"}, | ||
"padding-block-end": {"value": "20px"}, | ||
"padding-block-start": {"value": "20px"} | ||
} | ||
}, | ||
|
||
"of": { | ||
"utrecht-page-header": { | ||
"$extensions": { | ||
"dte.metadata": { | ||
"groupDescription": "Open Forms' extensions on the utrecht-page-header, for responsive styling." | ||
} | ||
}, | ||
|
||
"mobile": { | ||
"padding-block-end": {"value": "10px"}, | ||
"padding-block-start": {"value": "10px"}, | ||
"padding-inline-end": {"value": "15px"}, | ||
"padding-inline-start": {"value": "10px"} | ||
}, | ||
"tablet": { | ||
"padding-block-end": {"value": "20px"}, | ||
"padding-block-start": {"value": "20px"}, | ||
"padding-inline-end": {"value": "20px"}, | ||
"padding-inline-start": {"value": "20px"} | ||
}, | ||
"laptop": { | ||
"padding-block-end": {"value": "20px"}, | ||
"padding-block-start": {"value": "20px"}, | ||
"padding-inline-end": {"value": "20px"}, | ||
"padding-inline-start": {"value": "20px"} | ||
}, | ||
"desktop": { | ||
"padding-block-end": {"value": "20px"}, | ||
"padding-block-start": {"value": "20px"}, | ||
"padding-inline-end": {"value": "20px"}, | ||
"padding-inline-start": {"value": "20px"} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"utrecht": { | ||
"page": { | ||
"padding-inline-end": {"value": "20px"}, | ||
"padding-inline-start": {"value": "20px"} | ||
} | ||
}, | ||
"of": { | ||
"utrecht-page": { | ||
"$extensions": { | ||
"dte.metadata": { | ||
"groupDescription": "Open Forms' extensions on the utrecht-page, for responsive styling." | ||
} | ||
}, | ||
"mobile": { | ||
"padding-inline-end": {"value": "0"}, | ||
"padding-inline-start": {"value": "0"} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"of": { | ||
"app": { | ||
"$extensions": { | ||
"dte.metadata": { | ||
"groupDescription": "The outer SDK form 'app' wrapper." | ||
} | ||
}, | ||
|
||
"gap": {"value": "0"}, | ||
|
||
"mobile": { | ||
"padding-block-end": {"value": "15px"}, | ||
"padding-block-start": { | ||
"value": "0", | ||
"comment": "Allow room for the progress indicator" | ||
}, | ||
"padding-inline-end": {"value": "15px"}, | ||
"padding-inline-start": {"value": "15px"} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"of": { | ||
"form": { | ||
"$extensions": { | ||
"dte.metadata": { | ||
"groupDescription": "Layout configuration for main content." | ||
} | ||
}, | ||
|
||
"grid-column-gap": {"value": "20px"}, | ||
|
||
"progress-indicator": { | ||
"mobile": { | ||
"margin-inline-end": {"value": "calc(-1 * {of.app.mobile.padding-inline-end})"}, | ||
"margin-inline-start": {"value": "calc(-1 * {of.app.mobile.padding-inline-start})"} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters