Add box-shadow tokens (#66)
This commit is contained in:
Родитель
11f574f471
Коммит
cc7448e0d5
|
@ -1,5 +1,6 @@
|
||||||
# HEAD
|
# HEAD
|
||||||
|
|
||||||
|
* **shadows** Add tokens for box shadows
|
||||||
* **borders** Add tokens for border radii
|
* **borders** Add tokens for border radii
|
||||||
* **colors** (breaking) Rename "grey" colors to the American spelling of "gray"
|
* **colors** (breaking) Rename "grey" colors to the American spelling of "gray"
|
||||||
* **colors:** Add Mozilla brand colors
|
* **colors:** Add Mozilla brand colors
|
||||||
|
|
|
@ -6,6 +6,11 @@ aliases:
|
||||||
border-radius-md: '8px'
|
border-radius-md: '8px'
|
||||||
border-radius-lg: '16px'
|
border-radius-lg: '16px'
|
||||||
|
|
||||||
|
# Shadows
|
||||||
|
box-shadow-sm: '0 8px 12px 1px rgba(29, 17, 51, .04), 0 3px 16px 2px rgba(9, 32, 77, .12), 0 5px 10px -3px rgba(29, 17, 51, .12)'
|
||||||
|
box-shadow-md: '0 16px 24px 2px rgba(29, 17, 51, .04), 0 6px 32px 4px rgba(9, 32, 77, .12), 0 8px 12px -5px rgba(29, 17, 51, .12)'
|
||||||
|
box-shadow-lg: '0 24px 38px 3px rgba(29, 17, 51, .04), 0 10px 48px 8px rgba(9, 32, 77, .12), 0 12px 16px -6px rgba(29, 17, 51, .12)'
|
||||||
|
|
||||||
# Colors
|
# Colors
|
||||||
color-green-05: '#e3fff3'
|
color-green-05: '#e3fff3'
|
||||||
color-green-10: '#d1ffee'
|
color-green-10: '#d1ffee'
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
imports:
|
imports:
|
||||||
- ./media-queries.yml
|
- ./border-radius.yml
|
||||||
- ./content.yml
|
- ./box-shadow.yml
|
||||||
- ./colors.yml
|
- ./colors.yml
|
||||||
|
- ./content.yml
|
||||||
- ./font-stack.yml
|
- ./font-stack.yml
|
||||||
- ./gradients.yml
|
- ./gradients.yml
|
||||||
|
- ./media-queries.yml
|
||||||
- ./units.yml
|
- ./units.yml
|
||||||
- ./border-radius.yml
|
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
global:
|
||||||
|
type: web
|
||||||
|
category: box-shadow
|
||||||
|
imports:
|
||||||
|
- ./_aliases.yml
|
||||||
|
props:
|
||||||
|
|
||||||
|
- name: 'box-shadow-sm'
|
||||||
|
value: '{!box-shadow-sm}'
|
||||||
|
- name: 'box-shadow-md'
|
||||||
|
value: '{!box-shadow-md}'
|
||||||
|
- name: 'box-shadow-lg'
|
||||||
|
value: '{!box-shadow-lg}'
|
||||||
|
|
Загрузка…
Ссылка в новой задаче