Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
design-system-lib
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
julkiset-sivut
design-system-lib
Commits
b9efcf41
Commit
b9efcf41
authored
4 years ago
by
Markus Kalijärvi
Browse files
Options
Downloads
Patches
Plain Diff
Changed key highlight and key figure fonts to bold.
parent
53f84ffc
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/hy-key-figure/hy-key-figure.scss
+4
-6
4 additions, 6 deletions
src/components/hy-key-figure/hy-key-figure.scss
src/components/hy-key-highlight/hy-key-highlight.scss
+7
-13
7 additions, 13 deletions
src/components/hy-key-highlight/hy-key-highlight.scss
with
11 additions
and
19 deletions
src/components/hy-key-figure/hy-key-figure.scss
+
4
−
6
View file @
b9efcf41
...
...
@@ -18,24 +18,22 @@
}
&
__title
{
@include
font-size
(
40px
,
60px
);
@include
font-weight
(
$bold
);
box-decoration-break
:
clone
;
color
:
var
(
--
brand-main-light
);
display
:
inline
;
font-family
:
var
(
--
main-font-family
);
font-size
:
40px
;
font-weight
:
600
;
letter-spacing
:
-2px
;
line-height
:
60px
;
position
:
relative
;
z-index
:
1
;
@include
breakpoint
(
$medium
)
{
l
in
e-height
:
30px
;
@
in
clude
font-size
(
40px
,
30px
)
;
}
@include
breakpoint
(
$extrawide
)
{
font-size
:
80px
;
line-height
:
70px
;
@include
font-size
(
80px
,
70px
);
}
}
...
...
This diff is collapsed.
Click to expand it.
src/components/hy-key-highlight/hy-key-highlight.scss
+
7
−
13
View file @
b9efcf41
...
...
@@ -23,11 +23,11 @@
&
__title
,
&
__overlay
{
@include
font-weight
(
$bold
);
box-decoration-break
:
clone
;
color
:
var
(
--
grayscale-white
);
display
:
inline
;
font-family
:
var
(
--
main-font-family
);
font-weight
:
600
;
letter-spacing
:
-0
.75px
;
padding
:
4px
10px
;
position
:
relative
;
...
...
@@ -73,33 +73,27 @@
&
.small
{
.hy-key-highlight__title__container
{
font-size
:
24px
;
line-height
:
24px
;
@include
font-size
(
24px
,
24px
);
}
.hy-key-highlight__description
{
font-size
:
14px
;
line-height
:
20px
;
@include
font-size
(
14px
,
20px
);
}
}
&
.big
{
.hy-key-highlight__title__container
{
font-size
:
24px
;
line-height
:
24px
;
@include
font-size
(
24px
,
24px
);
@include
breakpoint
(
$medium
)
{
font-size
:
40px
;
line-height
:
40px
;
@include
font-size
(
40px
,
40px
);
}
}
.hy-key-highlight__description
{
font-size
:
14px
;
line-height
:
20px
;
@include
font-size
(
14px
,
20px
);
@include
breakpoint
(
$medium
)
{
line-height
:
20px
;
font-size
:
20px
;
@include
font-size
(
20px
,
20px
);
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment