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

adding surface tokens for default palette #200

Merged
merged 2 commits into from
Jan 4, 2024
Merged
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
2 changes: 2 additions & 0 deletions dist/docsite/android/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,8 @@
<color name="cdr_color_icon_switch_selected_default_rest">#ffdcd6cb</color>
<color name="cdr_color_icon_switch_selected_default_hover">#ffdcd6cb</color>
<color name="cdr_color_icon_switch_selected_default_focus">#ffdcd6cb</color>
<color name="cdr_color_surface_primary">#ffffffff</color>
<color name="cdr_color_surface_secondary">#fff4f2ed</color>
<color name="cdr_color_icon_background_note">#ffc4b03b</color>
<color name="cdr_prominence_flat_color">#330c0b08</color>
<color name="cdr_prominence_raised_color">#330c0b08</color>
Expand Down
2 changes: 2 additions & 0 deletions dist/docsite/css/cdr-tokens.css
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@
--cdr-color-icon-switch-selected-default-rest: #dcd6cb;
--cdr-color-icon-switch-selected-default-hover: #dcd6cb;
--cdr-color-icon-switch-selected-default-focus: #dcd6cb;
--cdr-color-surface-primary: #ffffff;
--cdr-color-surface-secondary: #f4f2ed;
--cdr-color-icon-background-note: #c4b03b;
--cdr-form-input-height-default: 4rem;
--cdr-form-input-height-large: 4.8rem;
Expand Down
10 changes: 10 additions & 0 deletions dist/docsite/figma/figma.json
Original file line number Diff line number Diff line change
Expand Up @@ -1145,6 +1145,16 @@
}
}
},
"surface": {
"primary": {
"value": "#ffffff",
"type": "color"
},
"secondary": {
"value": "#f4f2ed",
"type": "color"
}
},
"icon-background": {
"note": {
"value": "#c4b03b",
Expand Down
2 changes: 2 additions & 0 deletions dist/docsite/ios/CdrColor.h
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ CdrColorIconCheckboxDefaultSelectedActive,
CdrColorIconSwitchSelectedDefaultRest,
CdrColorIconSwitchSelectedDefaultHover,
CdrColorIconSwitchSelectedDefaultFocus,
CdrColorSurfacePrimary,
CdrColorSurfaceSecondary,
CdrColorIconBackgroundNote,
CdrProminenceFlatColor,
CdrProminenceRaisedColor,
Expand Down
2 changes: 2 additions & 0 deletions dist/docsite/ios/CdrColor.m
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,8 @@ + (NSArray *)values {
[UIColor colorWithRed:0.863f green:0.839f blue:0.796f alpha:1.000f],
[UIColor colorWithRed:0.863f green:0.839f blue:0.796f alpha:1.000f],
[UIColor colorWithRed:0.863f green:0.839f blue:0.796f alpha:1.000f],
[UIColor colorWithRed:1.000f green:1.000f blue:1.000f alpha:1.000f],
[UIColor colorWithRed:0.957f green:0.949f blue:0.929f alpha:1.000f],
[UIColor colorWithRed:0.769f green:0.690f blue:0.231f alpha:1.000f],
[UIColor colorWithRed:0.047f green:0.043f blue:0.031f alpha:0.200f],
[UIColor colorWithRed:0.047f green:0.043f blue:0.031f alpha:0.200f],
Expand Down
2 changes: 2 additions & 0 deletions dist/docsite/js/cdr-tokens.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@ module.exports = {
CdrColorIconSwitchSelectedDefaultRest: "#dcd6cb",
CdrColorIconSwitchSelectedDefaultHover: "#dcd6cb",
CdrColorIconSwitchSelectedDefaultFocus: "#dcd6cb",
CdrColorSurfacePrimary: "#ffffff",
CdrColorSurfaceSecondary: "#f4f2ed",
CdrColorIconBackgroundNote: "#c4b03b",
CdrFormInputHeightDefault: "40",
CdrFormInputHeightLarge: "48",
Expand Down
4 changes: 3 additions & 1 deletion dist/docsite/js/cdr-tokens.d.mts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 13 Sep 2023 22:46:21 GMT
* Generated on Wed, 03 Jan 2024 19:26:00 GMT
*/

export const CdrColorTextButtonPrimary : string;
Expand Down Expand Up @@ -253,6 +253,8 @@ export const CdrColorIconCheckboxDefaultSelectedActive : string;
export const CdrColorIconSwitchSelectedDefaultRest : string;
export const CdrColorIconSwitchSelectedDefaultHover : string;
export const CdrColorIconSwitchSelectedDefaultFocus : string;
export const CdrColorSurfacePrimary : string;
export const CdrColorSurfaceSecondary : string;
export const CdrColorIconBackgroundNote : string;
export const CdrFormInputHeightDefault : string;
export const CdrFormInputHeightLarge : string;
Expand Down
2 changes: 2 additions & 0 deletions dist/docsite/js/cdr-tokens.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ export const CdrColorIconCheckboxDefaultSelectedActive = "#4e4d49";
export const CdrColorIconSwitchSelectedDefaultRest = "#dcd6cb";
export const CdrColorIconSwitchSelectedDefaultHover = "#dcd6cb";
export const CdrColorIconSwitchSelectedDefaultFocus = "#dcd6cb";
export const CdrColorSurfacePrimary = "#ffffff";
export const CdrColorSurfaceSecondary = "#f4f2ed";
export const CdrColorIconBackgroundNote = "#c4b03b";
export const CdrFormInputHeightDefault = "40";
export const CdrFormInputHeightLarge = "48";
Expand Down
54 changes: 54 additions & 0 deletions dist/docsite/json/android.json
Original file line number Diff line number Diff line change
Expand Up @@ -6267,6 +6267,60 @@
"deprecated": false,
"category": "color"
}
},
{
"value": "#ffffffff",
"category": "color",
"docs": {
"category": "colors",
"type": "surface",
"example": "color",
"description": "The default, primary surface color of most pages"
},
"filePath": "tokens/global/color.json5",
"isSource": false,
"original": {
"value": "{options.color.white}",
"category": "color",
"docs": {
"category": "colors",
"type": "surface",
"example": "color",
"description": "The default, primary surface color of most pages"
}
},
"name": "cdr_color_surface_primary",
"attributes": {
"deprecated": false,
"category": "color"
}
},
{
"value": "#fff4f2ed",
"category": "color",
"docs": {
"category": "colors",
"type": "surface",
"example": "color",
"description": "An alternate, secondary surface color used on some pages"
},
"filePath": "tokens/global/color.json5",
"isSource": false,
"original": {
"value": "{options.color.warm-grey-200}",
"category": "color",
"docs": {
"category": "colors",
"type": "surface",
"example": "color",
"description": "An alternate, secondary surface color used on some pages"
}
},
"name": "cdr_color_surface_secondary",
"attributes": {
"deprecated": false,
"category": "color"
}
}
],
"misc": [
Expand Down
54 changes: 54 additions & 0 deletions dist/docsite/json/global.json
Original file line number Diff line number Diff line change
Expand Up @@ -6267,6 +6267,60 @@
"deprecated": false,
"category": "color"
}
},
{
"value": "#ffffff",
"category": "color",
"docs": {
"category": "colors",
"type": "surface",
"example": "color",
"description": "The default, primary surface color of most pages"
},
"filePath": "tokens/global/color.json5",
"isSource": false,
"original": {
"value": "{options.color.white}",
"category": "color",
"docs": {
"category": "colors",
"type": "surface",
"example": "color",
"description": "The default, primary surface color of most pages"
}
},
"name": "cdr-color-surface-primary",
"attributes": {
"deprecated": false,
"category": "color"
}
},
{
"value": "#f4f2ed",
"category": "color",
"docs": {
"category": "colors",
"type": "surface",
"example": "color",
"description": "An alternate, secondary surface color used on some pages"
},
"filePath": "tokens/global/color.json5",
"isSource": false,
"original": {
"value": "{options.color.warm-grey-200}",
"category": "color",
"docs": {
"category": "colors",
"type": "surface",
"example": "color",
"description": "An alternate, secondary surface color used on some pages"
}
},
"name": "cdr-color-surface-secondary",
"attributes": {
"deprecated": false,
"category": "color"
}
}
],
"misc": [
Expand Down
54 changes: 54 additions & 0 deletions dist/docsite/json/ios.json
Original file line number Diff line number Diff line change
Expand Up @@ -6267,6 +6267,60 @@
"deprecated": false,
"category": "color"
}
},
{
"value": "[UIColor colorWithRed:1.000f green:1.000f blue:1.000f alpha:1.000f]",
"category": "color",
"docs": {
"category": "colors",
"type": "surface",
"example": "color",
"description": "The default, primary surface color of most pages"
},
"filePath": "tokens/global/color.json5",
"isSource": false,
"original": {
"value": "{options.color.white}",
"category": "color",
"docs": {
"category": "colors",
"type": "surface",
"example": "color",
"description": "The default, primary surface color of most pages"
}
},
"name": "CdrColorSurfacePrimary",
"attributes": {
"deprecated": false,
"category": "color"
}
},
{
"value": "[UIColor colorWithRed:0.957f green:0.949f blue:0.929f alpha:1.000f]",
"category": "color",
"docs": {
"category": "colors",
"type": "surface",
"example": "color",
"description": "An alternate, secondary surface color used on some pages"
},
"filePath": "tokens/global/color.json5",
"isSource": false,
"original": {
"value": "{options.color.warm-grey-200}",
"category": "color",
"docs": {
"category": "colors",
"type": "surface",
"example": "color",
"description": "An alternate, secondary surface color used on some pages"
}
},
"name": "CdrColorSurfaceSecondary",
"attributes": {
"deprecated": false,
"category": "color"
}
}
],
"misc": [
Expand Down
54 changes: 54 additions & 0 deletions dist/docsite/json/platform-tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -6268,6 +6268,60 @@
"deprecated": false,
"category": "color"
}
},
{
"value": "#ffffff",
"category": "color",
"docs": {
"category": "colors",
"type": "surface",
"example": "color",
"description": "The default, primary surface color of most pages"
},
"filePath": "tokens/global/color.json5",
"isSource": false,
"original": {
"value": "{options.color.white}",
"category": "color",
"docs": {
"category": "colors",
"type": "surface",
"example": "color",
"description": "The default, primary surface color of most pages"
}
},
"name": "cdr-color-surface-primary",
"attributes": {
"deprecated": false,
"category": "color"
}
},
{
"value": "#f4f2ed",
"category": "color",
"docs": {
"category": "colors",
"type": "surface",
"example": "color",
"description": "An alternate, secondary surface color used on some pages"
},
"filePath": "tokens/global/color.json5",
"isSource": false,
"original": {
"value": "{options.color.warm-grey-200}",
"category": "color",
"docs": {
"category": "colors",
"type": "surface",
"example": "color",
"description": "An alternate, secondary surface color used on some pages"
}
},
"name": "cdr-color-surface-secondary",
"attributes": {
"deprecated": false,
"category": "color"
}
}
],
"misc": [
Expand Down
54 changes: 54 additions & 0 deletions dist/docsite/json/web.json
Original file line number Diff line number Diff line change
Expand Up @@ -6267,6 +6267,60 @@
"deprecated": false,
"category": "color"
}
},
{
"value": "#ffffff",
"category": "color",
"docs": {
"category": "colors",
"type": "surface",
"example": "color",
"description": "The default, primary surface color of most pages"
},
"filePath": "tokens/global/color.json5",
"isSource": false,
"original": {
"value": "{options.color.white}",
"category": "color",
"docs": {
"category": "colors",
"type": "surface",
"example": "color",
"description": "The default, primary surface color of most pages"
}
},
"name": "cdr-color-surface-primary",
"attributes": {
"deprecated": false,
"category": "color"
}
},
{
"value": "#f4f2ed",
"category": "color",
"docs": {
"category": "colors",
"type": "surface",
"example": "color",
"description": "An alternate, secondary surface color used on some pages"
},
"filePath": "tokens/global/color.json5",
"isSource": false,
"original": {
"value": "{options.color.warm-grey-200}",
"category": "color",
"docs": {
"category": "colors",
"type": "surface",
"example": "color",
"description": "An alternate, secondary surface color used on some pages"
}
},
"name": "cdr-color-surface-secondary",
"attributes": {
"deprecated": false,
"category": "color"
}
}
],
"misc": [
Expand Down
Loading
Loading