Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
7bc6ea4
Scrollbar implementation (#258)
stefashkaa Jul 21, 2021
e993ecf
fix storybook build scss (#260)
Nikita-Polyakov Jul 21, 2021
fc99cbd
Add an item in the installation instructions with the addition of ele…
Sociopacific Jul 21, 2021
78fa8fe
Merge pull request #262 from soramitsu/feature/add-element-ui-types-i…
Sociopacific Jul 21, 2021
055b7c4
Fix select arrow icon
Sociopacific Jul 22, 2021
2ee27db
Merge pull request #263 from soramitsu/fix/fix-select-arrow-icon
Sociopacific Jul 22, 2021
ca4dcaa
Improve build config (#264)
stefashkaa Jul 22, 2021
7825b3f
Fix customization page (#266)
stefashkaa Jul 22, 2021
269e3f7
Improve build config (#268)
stefashkaa Jul 26, 2021
263b952
Fix UI issues part 1 (#269)
stefashkaa Jul 27, 2021
48e4b4b
add style fixes for input button tabs (#270)
Nikita-Polyakov Jul 27, 2021
0f22278
Fix readme (#271)
stefashkaa Jul 28, 2021
c294da7
PW-239: Bridge Design Update (#273)
alexnatalia Jul 28, 2021
44b620f
Add dark theme (#275)
stefashkaa Aug 2, 2021
3505bfc
Fix theming issues (#276)
stefashkaa Aug 2, 2021
a76834d
Border Radiuses and Sizes Fixing (#272)
alexnatalia Aug 2, 2021
b8e7f20
Neumorphic switch in storybook (#278)
stefashkaa Aug 3, 2021
bef0ae8
update components styles (#280)
Nikita-Polyakov Aug 3, 2021
dcbe95f
Fixed button storybook typograhy behaviour. (#282)
alexnatalia Aug 4, 2021
1941c2f
Add switch theme function (#283)
stefashkaa Aug 4, 2021
28d81ab
fix action button (#285)
Nikita-Polyakov Aug 4, 2021
4e8c47e
merge develop
Nikita-Polyakov Aug 4, 2021
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: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@soramitsu/soramitsu-js-ui",
"version": "1.0.8",
"version": "1.0.9",
"private": false,
"publishConfig": {
"registry": "https://nexus.iroha.tech/repository/npm-soramitsu/"
Expand Down
17 changes: 16 additions & 1 deletion src/styles/neumorphism/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ $neu-button-action-text-color-hover: var(--s-color-base-content-secondary) !defa
$neu-button-action-text-color-pressed: var(--s-color-theme-accent) !default;
$neu-button-action-text-color-alternative: var(--s-color-base-content-tertiary) !default;
$neu-button-action-text-color-alternative-active: var(--s-color-base-content-secondary) !default;
$neu-button-action-primary-text-color: var(--s-color-base-on-accent) !default;
// Action button: Dark: text colors
$neu-button-action-primary-text-color--dark: var(--s-color-utility-surface) !default;
// Action button: border colors
$neu-button-action-border-color: transparent !default;
$neu-button-action-border-color-hover: $neu-button-action-border-color !default;
Expand All @@ -133,6 +136,14 @@ $neu-button-action-box-shadow-hover: $neu-button-action-box-shadow !default;
$neu-button-action-box-shadow-pressed: var(--s-shadow-element) !default;
$neu-button-action-box-shadow-alternative: none !default;

:root {
--neu-button-action-primary-text-color: #{$neu-button-action-primary-text-color};
}

[design-system-theme="dark"] {
--neu-button-action-primary-text-color: #{$neu-button-action-primary-text-color--dark};
}

$neu-button-padding-big: 7px 13px !default;
$neu-button-padding-medium: 5px 13px !default;
$neu-button-padding-small: 4px 6px !default;
Expand Down Expand Up @@ -166,7 +177,7 @@ $neu-button-padding-mini: 3px 6px !default;

@mixin action-size ($suffix: 'big') {
&.s-#{$suffix} {
padding: 7px;
padding: 0;
height: var(--s-size-#{$suffix});
width: var(--s-size-#{$suffix});
}
Expand Down Expand Up @@ -293,6 +304,10 @@ $neu-button-padding-mini: 3px 6px !default;
@include action-size('small');
@include action-size('mini');

&.s-primary {
color: var(--neu-button-action-primary-text-color);
}

&:not(.s-primary) {
background: $neu-button-action-background-color;
border-color: $neu-button-action-border-color;
Expand Down