Skip to content

Commit

Permalink
23.12.5: color fixes [WTEL-3902]
Browse files Browse the repository at this point in the history
  • Loading branch information
dlohvinov committed Oct 12, 2023
1 parent e9c9000 commit a5bf800
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 26 deletions.
18 changes: 2 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webitel/ui-sdk",
"version": "23.12.4",
"version": "23.12.5",
"private": false,
"scripts": {
"build": "vue-cli-service build --target lib --name ui-sdk ./src/install.js",
Expand Down
2 changes: 1 addition & 1 deletion src/components/wt-rounded-action/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:root {
--rounded-action-border-size: 1px;
--rounded-action-border-size: 2px;
--rounded-action-padding: calc(var(--spacing-xs) - var(--rounded-action-border-size));

--rounded-action-rounded-border-radius: var(--border-radius--pill);
Expand Down
6 changes: 0 additions & 6 deletions src/components/wt-rounded-action/wt-rounded-action.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,12 @@ const loaderColor = computed(() => {
width: fit-content;
line-height: 0;
padding: var(--rounded-action-padding);
box-shadow: var(--elevation-1);
border: var(--rounded-action-border-size) solid;
background: var(--rounded-action-secondary-color);
border-color: var(--rounded-action-secondary-color);
border-radius: var(--border-radius);
transition: var(--transition);
&:hover {
box-shadow: var(--elevation-2);
}
&--wide {
width: 100%;
}
Expand Down Expand Up @@ -179,7 +174,6 @@ const loaderColor = computed(() => {
&.wt-rounded-action--disabled {
background: var(--rounded-action-disabled-color);
border-color: var(--rounded-action-disabled-color);
box-shadow: none;
pointer-events: none;
}
Expand Down
4 changes: 2 additions & 2 deletions src/css/styleguide/colors/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@
--on-transfer-color: var(--white);

// primary colors
--primary-color: var(--amber-accent-2);
--primary-hover-color: var(--amber-accent-3);
--primary-color: var(--amber-accent-3);
--primary-hover-color: var(--amber-accent-2);
--primary-light-color: var(--amber-lighten-4);
--on-primary-color: var(--black);

Expand Down

0 comments on commit a5bf800

Please sign in to comment.