Skip to content

Commit

Permalink
fix: fixed themes and default font-family
Browse files Browse the repository at this point in the history
  • Loading branch information
SiebenSieben committed Jun 1, 2020
1 parent 522af20 commit 6bab367
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 17 deletions.
21 changes: 11 additions & 10 deletions .github/auto_assign.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
addReviewers: true

reviewers:
- stepancar
- FenkoAlex
- raylyanway
- ilatovsky
- aweppc
- IBelyaev
- 7rulnik
- pavelozavr
- denisx
- stepancar
- FenkoAlex
- raylyanway
- ilatovsky
- aweppc
- IBelyaev
- 7rulnik
- pavelozavr
- denisx
- vorozhtsoff

skipKeywords:
- wip
- wip
4 changes: 2 additions & 2 deletions packages/themes/src/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
--text-secondary-color: var(--color-dark-indigo-60-flat);
--text-tertiary-color: var(--color-dark-indigo-30-flat);
--border-radius: 4px;
--font-family: BlinkMacSystemFont, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
Helvetica, sans-serif;
--font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
sans-serif;
}
5 changes: 5 additions & 0 deletions packages/themes/src/mixins/button/click.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
@define-mixin button-click {
/* core vars */
--color-red-brand: #ef3124;
--color-red-dark: #d91d0b;

/* ghost */
--button-ghost-hover-color: var(--color-red-brand);
--button-ghost-active-color: var(--color-red-dark);
}
6 changes: 6 additions & 0 deletions packages/themes/src/mixins/form-control/click.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
@define-mixin form-control-click {
/* core vars */
--color-dark-indigo-07-flat: #eeeff1;
--gap-s: 12px;
--gap-m: 16px;

/* base */
--form-control-border-radius: 4px;
--form-control-border-bottom: 0;
--form-control-bg-color: var(--color-dark-indigo-07-flat);
Expand Down
6 changes: 6 additions & 0 deletions packages/themes/src/mixins/pure-input/click.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
@define-mixin pure-input-click {
/* core vars */
--color-dark-indigo-07-flat: #eeeff1;
--gap-s: 12px;
--gap-m: 16px;

/* base */
--pure-input-border-radius: 4px;
--pure-input-border-bottom: 0;
--pure-input-bg-color: var(--color-dark-indigo-07-flat);
Expand Down
6 changes: 3 additions & 3 deletions packages/vars/src/typography.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
:root {
--font-family-system: BlinkMacSystemFont, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
Helvetica, sans-serif;
--font-family-styrene: 'Styrene UI', BlinkMacSystemFont, -apple-system, 'Segoe UI', Roboto,
--font-family-system: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
sans-serif;
--font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
'Helvetica Neue', Helvetica, sans-serif;
}

Expand Down
4 changes: 2 additions & 2 deletions tools/templates/font-vars.css.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
:root {
--font-family-system: BlinkMacSystemFont, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
--font-family-system: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
Helvetica, sans-serif;
--font-family-styrene: 'Styrene UI', BlinkMacSystemFont, -apple-system, 'Segoe UI', Roboto,
--font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
'Helvetica Neue', Helvetica, sans-serif;
}

0 comments on commit 6bab367

Please sign in to comment.