Skip to content

Commit

Permalink
🎨 Fikset background-tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
KenAJoh committed Jun 8, 2023
1 parent 3bac254 commit 168c5e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions @navikt/core/css/skeleton.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
.navds-skeleton {
display: block;

/* TODO: Endre til moderate når det er publisert */
background-color: var(--ac-skeleton-bg, var(--a-grayalpha-200));
background-color: var(--ac-skeleton-bg, var(--a-surface-neutral-moderate));
height: 1.3em;
animation: akselSkeletonAnimation 0.8s linear infinite alternate;
}
Expand Down
2 changes: 1 addition & 1 deletion @navikt/core/css/tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
"--ac-read-more-line": "--a-border-divider"
},
"skeleton": {
"--ac-skeleton-bg": "--a-grayalpha-200"
"--ac-skeleton-bg": "--a-surface-neutral-moderate"
},
"stepper": {
"--ac-stepper-text": "--a-surface-action",
Expand Down

0 comments on commit 168c5e1

Please sign in to comment.