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

Add two util tokens #406

Open
wants to merge 4 commits into
base: next
Choose a base branch
from
Open
Changes from 1 commit
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
Next Next commit
Add two util tokens
  • Loading branch information
antyas committed Apr 1, 2022
commit 0a4440e2b54d97f98159ff20d5ee33cf587f71d1
5 changes: 5 additions & 0 deletions .changeset/eighty-monkeys-mate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@soramitsu-ui/theme': patch
---

**feat**: add two new util tokens
0x009922 marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 2 additions & 0 deletions packages/theme/src/sass/lib.scss
Original file line number Diff line number Diff line change
@@ -60,6 +60,8 @@ $tokens-compiled: util.give-names-to-tokens($tokens-compiled, $vars-prefix);
'surface': #fff,
'surface-overlay': rgba(255, 255, 255, 0.7),
'overlay': rgba(0, 0, 0, 0.45),
'surface-variant': #070707,
'content-on-surface-variant': #FFFFFF,
),
'status': (
'success': #009900,
2 changes: 2 additions & 0 deletions packages/theme/src/sass/tokens.scss
Original file line number Diff line number Diff line change
@@ -36,6 +36,8 @@ $tokens: (
'surface': null,
'surface-overlay': null,
'overlay': null,
'surface-variant': null,
'content-on-surface-variant': null,
),
// Status
'status':