-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Separates file token from token
- Loading branch information
Katie George
committed
Nov 7, 2024
1 parent
8d2194d
commit 92a8510
Showing
10 changed files
with
158 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
@use '../internal/styles' as styles; | ||
@use '../internal/styles/tokens' as awsui; | ||
@use './constants' as constants; | ||
|
||
@mixin token-box-styles { | ||
position: relative; | ||
block-size: 100%; | ||
border-block: awsui.$border-field-width solid constants.$token-border-color; | ||
border-inline: awsui.$border-field-width solid constants.$token-border-color; | ||
padding-block-start: styles.$control-padding-vertical; | ||
padding-block-end: styles.$control-padding-vertical; | ||
padding-inline-start: styles.$control-padding-horizontal; | ||
padding-inline-end: awsui.$space-xxs; | ||
display: flex; | ||
align-items: flex-start; | ||
background: constants.$token-background; | ||
border-start-start-radius: awsui.$border-radius-token; | ||
border-start-end-radius: awsui.$border-radius-token; | ||
border-end-start-radius: awsui.$border-radius-token; | ||
border-end-end-radius: awsui.$border-radius-token; | ||
color: awsui.$color-text-body-default; | ||
box-sizing: border-box; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.