-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into refactor/switch-css
- Loading branch information
Showing
5 changed files
with
27 additions
and
102 deletions.
There are no files selected for viewing
36 changes: 18 additions & 18 deletions
36
...s/react/src/components/Box/Box.module.css → packages/css/box.css
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 |
---|---|---|
@@ -1,73 +1,73 @@ | ||
@layer fds.box { | ||
.xsmallShadow { | ||
.fds-box--xsmall-shadow { | ||
box-shadow: var(--fds-shadow-xsmall); | ||
} | ||
|
||
.smallShadow { | ||
.fds-box--small-shadow { | ||
box-shadow: var(--fds-shadow-small); | ||
} | ||
|
||
.mediumShadow { | ||
.fds-box--medium-shadow { | ||
box-shadow: var(--fds-shadow-medium); | ||
} | ||
|
||
.largeShadow { | ||
.fds-box--large-shadow { | ||
box-shadow: var(--fds-shadow-large); | ||
} | ||
|
||
.xlargeShadow { | ||
.fds-box--xlarge-shadow { | ||
box-shadow: var(--fds-shadow-xlarge); | ||
} | ||
|
||
.defaultBorderColor { | ||
.fds-box--default-border-color { | ||
border: 1px solid var(--fds-semantic-border-neutral-default); | ||
} | ||
|
||
.subtleBorderColor { | ||
.fds-box--subtle-border-color { | ||
border: 1px solid var(--fds-semantic-border-neutral-subtle); | ||
} | ||
|
||
.strongBorderColor { | ||
.fds-box--strong-border-color { | ||
border: 1px solid var(--fds-semantic-border-neutral-strong); | ||
} | ||
|
||
.smallBorderRadius { | ||
.fds-box--small-border-radius { | ||
border-radius: var(--fds-border_radius-small); | ||
} | ||
|
||
.mediumBorderRadius { | ||
.fds-box--medium-border-radius { | ||
border-radius: var(--fds-border_radius-medium); | ||
} | ||
|
||
.largeBorderRadius { | ||
.fds-box--large-border-radius { | ||
border-radius: var(--fds-border_radius-large); | ||
} | ||
|
||
.xlargeBorderRadius { | ||
.fds-box--xlarge-border-radius { | ||
border-radius: var(--fds-border_radius-xlarge); | ||
} | ||
|
||
.xxlargeBorderRadius { | ||
.fds-box--xxlarge-border-radius { | ||
border-radius: var(--fds-border_radius-xxlarge); | ||
} | ||
|
||
.xxxlargeBorderRadius { | ||
.fds-box--xxxlarge-border-radius { | ||
border-radius: var(--fds-border_radius-xxxlarge); | ||
} | ||
|
||
.xxxxlargeBorderRadius { | ||
.fds-box--xxxxlarge-border-radius { | ||
border-radius: var(--fds-border_radius-xxxxlarge); | ||
} | ||
|
||
.fullBorderRadius { | ||
.fds-box--full-border-radius { | ||
border-radius: var(--fds-border_radius-full); | ||
} | ||
|
||
.defaultBackground { | ||
.fds-box--default-background { | ||
background-color: var(--fds-semantic-background-default); | ||
} | ||
|
||
.subtleBackground { | ||
.fds-box--subtle-background { | ||
background-color: var(--fds-semantic-background-subtle); | ||
} | ||
} |
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