Skip to content
Open
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
9 changes: 2 additions & 7 deletions examples/color-processing/themes/default/root.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
/**
* Do not edit directly
* Generated on Sat, 11 Jul 2020 19:25:45 GMT
*/

:root {
--color-controls-type-action-typo-base: rgba(0, 0, 0, 0.1);
--color-controls-type-action-fill-color-base: rgb(235, 225, 224);
--color-controls-type-action-fill-color-base: rgb(235, 225, 224);
--color-controls-type-action-typo-base: rgba(0, 0, 0, 0.1);
}
17 changes: 6 additions & 11 deletions examples/extends/themes/legacy/root.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
/**
* Do not edit directly
* Generated on Sat, 11 Jul 2020 19:20:22 GMT
*/

:root {
--color-controls-type-action-typo-base: #000;
--color-controls-type-action-fill-color-base: #fff;
--color-controls-type-action-fill-color-hover: #f00;
--typo-control-font-family: Arial, sans-serif;
--typo-control-size-s-font-size: 20px; /* Font size for all controls with size s */
--typo-control-size-m-font-size: 24px; /* Font size for all controls with size m */
--color-controls-type-action-fill-color-base: #fff;
--color-controls-type-action-fill-color-hover: #f00;
--color-controls-type-action-typo-base: #000;
--typo-control-font-family: Arial, sans-serif;
--typo-control-size-m-font-size: 24px; /* Font size for all controls with size m */
--typo-control-size-s-font-size: 20px; /* Font size for all controls with size s */
}
6 changes: 3 additions & 3 deletions examples/mappings/themes/default/root.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
:root {
--color-typo-base: #000;
--button-fill-color: var(--color-bg-base);
--color-bg-base: #fff;
--color-bg-hover: #ccc;
--button-fill-color: var(--color-bg-base);
--color-typo-base: #000;
--typo-control-font-family: Arial, sans-serif;
--typo-control-size-s-font-size: 20px; /* Font size for all controls with size s */
--typo-control-size-m-font-size: 24px; /* Font size for all controls with size m */
--typo-control-size-s-font-size: 20px; /* Font size for all controls with size s */
}
17 changes: 6 additions & 11 deletions examples/platforms/themes/default/desktop/root.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
/**
* Do not edit directly
* Generated on Sat, 11 Jul 2020 19:17:56 GMT
*/

:root {
--color-controls-type-action-typo-base: #ccc;
--color-controls-type-action-fill-color-base: #fff;
--color-controls-type-action-fill-color-hover: #ccc;
--typo-control-font-family: Arial, sans-serif;
--typo-control-size-s-font-size: 20px; /* Font size for all controls with size s */
--typo-control-size-m-font-size: 24px; /* Font size for all controls with size m */
--color-controls-type-action-fill-color-base: #fff;
--color-controls-type-action-fill-color-hover: #ccc;
--color-controls-type-action-typo-base: #ccc;
--typo-control-font-family: Arial, sans-serif;
--typo-control-size-m-font-size: 24px; /* Font size for all controls with size m */
--typo-control-size-s-font-size: 20px; /* Font size for all controls with size s */
}
17 changes: 6 additions & 11 deletions examples/platforms/themes/default/touch/root.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
/**
* Do not edit directly
* Generated on Sat, 11 Jul 2020 19:17:56 GMT
*/

:root {
--color-controls-type-action-typo-base: #999;
--color-controls-type-action-fill-color-base: #fff;
--color-controls-type-action-fill-color-hover: #ccc;
--typo-control-font-family: Arial, sans-serif;
--typo-control-size-s-font-size: 20px; /* Font size for all controls with size s */
--typo-control-size-m-font-size: 24px; /* Font size for all controls with size m */
--color-controls-type-action-fill-color-base: #fff;
--color-controls-type-action-fill-color-hover: #ccc;
--color-controls-type-action-typo-base: #999;
--typo-control-font-family: Arial, sans-serif;
--typo-control-size-m-font-size: 24px; /* Font size for all controls with size m */
--typo-control-size-s-font-size: 20px; /* Font size for all controls with size s */
}
6 changes: 3 additions & 3 deletions examples/simple/themes/default/root.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
:root {
--color-controls-type-action-typo-base: #000;
--button-fill-color: var(--color-controls-type-action-fill-color-base);
--color-controls-type-action-fill-color-base: #fff;
--color-controls-type-action-fill-color-hover: #ccc;
--button-fill-color: var(--color-controls-type-action-fill-color-base);
--color-controls-type-action-typo-base: #000;
--typo-control-font-family: Arial, sans-serif;
--typo-control-size-s-font-size: 20px; /* Font size for all controls with size s */
--typo-control-size-m-font-size: 24px; /* Font size for all controls with size m */
--typo-control-size-s-font-size: 20px; /* Font size for all controls with size s */
}
4 changes: 2 additions & 2 deletions examples/whitepaper/themes/default/desktop/color.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.Theme_color_default-desktop {
--color-controls-type-action-typo-base: #ccc;
--button-fill-color: var(--color-controls-type-action-fill-color-base);
--color-controls-type-action-fill-color-base: #fff;
--color-controls-type-action-fill-color-hover: #ccc;
--button-fill-color: var(--color-controls-type-action-fill-color-base);
--color-controls-type-action-typo-base: #ccc;
}
2 changes: 1 addition & 1 deletion examples/whitepaper/themes/default/desktop/root.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.Theme_root_default-desktop {
--typo-control-font-family: Arial, sans-serif;
--typo-control-size-s-font-size: 20px; /* Font size for all controls with size s */
--typo-control-size-m-font-size: 24px; /* Font size for all controls with size m */
--typo-control-size-s-font-size: 20px; /* Font size for all controls with size s */
}
4 changes: 2 additions & 2 deletions examples/whitepaper/themes/default/touch/color.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.Theme_color_default-touch {
--color-controls-type-action-typo-base: #999;
--button-fill-color: var(--color-controls-type-action-fill-color-base);
--color-controls-type-action-fill-color-base: #fff;
--color-controls-type-action-fill-color-hover: #ccc;
--button-fill-color: var(--color-controls-type-action-fill-color-base);
--color-controls-type-action-typo-base: #999;
}
2 changes: 1 addition & 1 deletion examples/whitepaper/themes/default/touch/root.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.Theme_root_default-touch {
--typo-control-font-family: Arial, sans-serif;
--typo-control-size-s-font-size: 20px; /* Font size for all controls with size s */
--typo-control-size-m-font-size: 24px; /* Font size for all controls with size m */
--typo-control-size-s-font-size: 20px; /* Font size for all controls with size s */
}
1 change: 1 addition & 0 deletions src/core/variable-with-prefix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ export function variablesWithPrefix(prefix: any, properties: any): any {
return nextProp
})
.filter((strVal: any) => Boolean(strVal))
.sort()
.join('\n')
}