-
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.
[#2450] Add OIP button tokens and modify Utrecht buttons
- Loading branch information
1 parent
5cf1ec6
commit b0a0dcb
Showing
9 changed files
with
363 additions
and
50 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 |
---|---|---|
|
@@ -105,3 +105,8 @@ dist | |
|
||
# IDE files | ||
.idea/ | ||
|
||
# misc | ||
.DS_Store | ||
Icon? | ||
Icon[\r] |
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
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,46 @@ | ||
{ | ||
"oip": { | ||
"row": { | ||
"height": { | ||
"value": "40px" | ||
}, | ||
"height-small": { | ||
"value": "24px" | ||
}, | ||
"height-big": { | ||
"value": "48px" | ||
}, | ||
"height-giant": { | ||
"value": "57px" | ||
} | ||
}, | ||
"gutter": { | ||
"width": { | ||
"value": "32px" | ||
} | ||
}, | ||
"spacing": { | ||
"tiny": { | ||
"value": "2px" | ||
}, | ||
"small": { | ||
"value": "4px" | ||
}, | ||
"medium": { | ||
"value": "8px" | ||
}, | ||
"large": { | ||
"value": "16px" | ||
}, | ||
"extra-large": { | ||
"value": "24px" | ||
}, | ||
"giant": { | ||
"value": "32px" | ||
}, | ||
"mega": { | ||
"value": "80px" | ||
} | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
{ | ||
"utrecht": { | ||
"button": { | ||
"background-color": {"value": "transparent"}, | ||
"border-color": {"value": "transparent"}, | ||
"border-radius": {"value": "{oip.button.border-radius}"}, | ||
"border-width": {"value": "1px"}, | ||
"color": {"value": "{oip.color.secondary}"}, | ||
"cursor": {"value": "pointer"}, | ||
"font-size": {"value": "{oip.text.font-size}"}, | ||
"line-height": {"value": "{oip.text.line-height}"}, | ||
"min-block-size": {"value": "0"}, | ||
"min-inline-size": {"value": "0"}, | ||
"padding-block-start": {"value": "{oip.button.padding-top}"}, | ||
"padding-block-end": {"value": "{oip.button.padding-bottom}"}, | ||
"padding-inline-start": {"value": "{oip.button.padding-left}"}, | ||
"padding-inline-end": {"value": "{oip.button.padding-right}"}, | ||
|
||
"focus": { | ||
"border-color": {"value": "transparent"}, | ||
"color": {"value": "{oip.color.secondary}"} | ||
}, | ||
|
||
"hover": { | ||
"background-color": {"value": "transparent"}, | ||
"border-color": {"value": "transparent"}, | ||
"color": {"value": "{oip.color.secondary}"} | ||
}, | ||
|
||
"primary-action": { | ||
"background-color": {"value": "{oip.color.primary}"}, | ||
"border-color": { | ||
"value": "{oip.color.primary}", | ||
"comment": "The primary button-background color determined by the configuration." | ||
}, | ||
"color": {"value": "#ffffff"}, | ||
|
||
"hover": { | ||
"background-color": {"value": "{oip.color.primary-darker}"}, | ||
"border-color": {"value": "{oip.color.primary-darker}"}, | ||
"color": {"value": "#ffffff"} | ||
}, | ||
|
||
"focus": { | ||
"background-color": {"value": "{oip.color.primary-darker}"}, | ||
"border-color": {"value": "{oip.color.primary-darker}"}, | ||
"color": {"value": "#ffffff"} | ||
}, | ||
|
||
"warning": { | ||
"background-color": {"value": "{oip.color.danger-lightest}"}, | ||
"border-color": {"value": "{oip.color.danger-lightest}"}, | ||
"color": {"value": "{oip.color.danger}"}, | ||
|
||
"hover": { | ||
"background-color": {"value": "{oip.button.danger}"}, | ||
"border-color": {"value": "{oip.color.danger}"}, | ||
"color": {"value": "{oip.color.danger-lightest}"} | ||
} | ||
} | ||
}, | ||
"secondary-action": { | ||
"background-color": {"value": "{oip.color.secondary}"}, | ||
"border-color": { | ||
"value": "{oip.color.secondary}", | ||
"comment": "The secondary button-background color determined by the configuration." | ||
}, | ||
"color": {"value": "#ffffff"}, | ||
|
||
"hover": { | ||
"background-color": {"value": "{oip.color.secondary-darker}"}, | ||
"border-color": {"value": "{oip.color.secondary-darker}"}, | ||
"color": {"value": "#ffffff"} | ||
}, | ||
|
||
"focus": { | ||
"background-color": {"value": "{oip.color.secondary-darker}"}, | ||
"border-color": {"value": "{oip.color.secondary-darker}"}, | ||
"color": {"value": "#ffffff"} | ||
} | ||
}, | ||
"disabled": { | ||
"background-color": {"value": "{oip.color.gray}"}, | ||
"border-color": { | ||
"value": "{oip.color.gray}", | ||
"comment": "Default gray for disabled elements" | ||
}, | ||
"color": {"value": "#ffffff"} | ||
} | ||
} | ||
} | ||
} |
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,80 @@ | ||
{ | ||
"utrecht": { | ||
"link-button": { | ||
"background-color": {"value": "transparent"}, | ||
"border-color": {"value": "transparent"}, | ||
"border-radius": {"value": "{oip.button.border-radius}"}, | ||
"border-width": {"value": "1px"}, | ||
"color": {"value": "{oip.color.secondary}"}, | ||
"cursor": {"value": "pointer"}, | ||
"font-size": {"value": "{oip.text.font-size}"}, | ||
"line-height": {"value": "{oip.text.line-height}"}, | ||
"min-block-size": {"value": "0"}, | ||
"min-inline-size": {"value": "0"}, | ||
"padding-block-start": {"value": "{oip.button.padding-top}"}, | ||
"padding-block-end": {"value": "{oip.button.padding-bottom}"}, | ||
"padding-inline-start": {"value": "{oip.button.padding-left}"}, | ||
"padding-inline-end": {"value": "{oip.button.padding-right}"}, | ||
|
||
"focus": { | ||
"border-color": {"value": "transparent"}, | ||
"color": {"value": "{oip.color.secondary}"} | ||
}, | ||
|
||
"hover": { | ||
"background-color": {"value": "transparent"}, | ||
"border-color": {"value": "transparent"}, | ||
"color": {"value": "{oip.color.secondary}"} | ||
}, | ||
|
||
"primary-action": { | ||
"background-color": {"value": "{oip.color.primary}"}, | ||
"border-color": { | ||
"value": "{oip.color.primary}", | ||
"comment": "The primary button-background color determined by the configuration." | ||
}, | ||
"color": {"value": "#ffffff"}, | ||
|
||
"hover": { | ||
"background-color": {"value": "{oip.color.primary-darker}"}, | ||
"border-color": {"value": "{oip.color.primary-darker}"}, | ||
"color": {"value": "#ffffff"} | ||
}, | ||
|
||
"focus": { | ||
"background-color": {"value": "{oip.color.primary-darker}"}, | ||
"border-color": {"value": "{oip.color.primary-darker}"}, | ||
"color": {"value": "#ffffff"} | ||
} | ||
}, | ||
"secondary-action": { | ||
"background-color": {"value": "{oip.color.secondary}"}, | ||
"border-color": { | ||
"value": "{oip.color.secondary}", | ||
"comment": "The secondary button-background color determined by the configuration." | ||
}, | ||
"color": {"value": "#ffffff"}, | ||
|
||
"hover": { | ||
"background-color": {"value": "{oip.color.secondary-darker}"}, | ||
"border-color": {"value": "{oip.color.secondary-darker}"}, | ||
"color": {"value": "#ffffff"} | ||
}, | ||
|
||
"focus": { | ||
"background-color": {"value": "{oip.color.secondary-darker}"}, | ||
"border-color": {"value": "{oip.color.secondary-darker}"}, | ||
"color": {"value": "#ffffff"} | ||
} | ||
}, | ||
"disabled": { | ||
"background-color": {"value": "{oip.color.gray}"}, | ||
"border-color": { | ||
"value": "{oip.color.gray}", | ||
"comment": "Default gray for disabled elements" | ||
}, | ||
"color": {"value": "#ffffff"} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.