Skip to content

Commit

Permalink
more renaming that did not get caught
Browse files Browse the repository at this point in the history
  • Loading branch information
Barsnes committed Jun 7, 2024
1 parent c8fa464 commit 24109a8
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 24 deletions.
16 changes: 8 additions & 8 deletions apps/storybook/docs-components/DoAndDont/DoAndDont.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
display: flex;
flex-direction: column;
box-sizing: border-box;
background-color: var(--fds-semantic-background-subtle);
background-color: var(--ds-color-neutral-background-subtle);
padding: 24px;
width: calc(50% - (var(--fds-spacing-4) / 2));
width: calc(50% - (var(--ds-spacing-4) / 2));
height: 100%;
border-bottom: 10px solid var(--color);
border-radius: var(--fds-spacing-1);
box-shadow: var(--fds-shadow-medium);
border-radius: var(--ds-spacing-1);
box-shadow: var(--ds-shadow-md);
margin: 0;
}

Expand All @@ -24,11 +24,11 @@
}

.dont {
--color: var(--fds-semantic-surface-danger-default);
--color: var(--ds-color-danger-base-default);
}

.do {
--color: var(--fds-semantic-surface-success-default);
--color: var(--ds-color-success-base-default);
}

.header {
Expand All @@ -53,8 +53,8 @@
}

.description {
color: var(--fds-semantic-text-neutral-default);
margin: var(--fds-spacing-4) 0;
color: var(--ds-color-neutral-text-default);
margin: var(--ds-spacing-4) 0;
}

.imageWrapper {
Expand Down
2 changes: 1 addition & 1 deletion apps/storybook/docs-components/Stack/Stack.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import classes from './Stack.module.css';

export const Stack = ({
style,
gap = 'var(--fds-spacing-4)',
gap = 'var(--ds-spacing-4)',
direction = 'row',
wrap = 'wrap',
...rest
Expand Down
2 changes: 1 addition & 1 deletion apps/theme/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ body {
color: #1e2b3c;
}

.fds-switch-input-9a6b03bc:checked + .fds-switch-label-9a6b03bc .fds-switch-track-9a6b03bc .fds-switch-thumb-9a6b03bc {
.ds-switch-input-9a6b03bc:checked + .ds-switch-label-9a6b03bc .ds-switch-track-9a6b03bc .ds-switch-thumb-9a6b03bc {
background-image: none;
}

Expand Down
2 changes: 1 addition & 1 deletion apps/theme/components/CodeSnippet/CodeSnippet.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
justify-content: center;
background-color: #3b434d;
color: white;
border-radius: var(--fds-border_radius-medium);
border-radius: var(--ds-border-radius-md);
border: none;
transition: 0.15s all;
cursor: pointer;
Expand Down
2 changes: 1 addition & 1 deletion apps/theme/components/TokenModal/TokenModal.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
background-color: white;
padding: 24px;
border-radius: 8px;
box-shadow: var(--fds-shadow-small);
box-shadow: var(--ds-shadow-sm);
border: 1px solid #f3f3f3;
}

Expand Down
6 changes: 3 additions & 3 deletions packages/Overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Card, Heading } from './react';
src='/img/storybook-overview.png'
alt='Designsystemets storybook'
style={{
marginBottom: 'var(--fds-spacing-12)',
marginBottom: 'var(--ds-spacing-12)',
}}
/>

Expand All @@ -21,8 +21,8 @@ som kan brukes til å videreutvikle og lage mer avanserte og sammensatte kompone
style={{
display: 'grid',
gridTemplateColumns: 'repeat(auto-fill, minmax(400px, 1fr))',
gap: 'var(--fds-spacing-4)',
marginBottom: 'var(--fds-spacing-12)',
gap: 'var(--ds-spacing-4)',
marginBottom: 'var(--ds-spacing-12)',
}}
>
<Card
Expand Down
2 changes: 1 addition & 1 deletion packages/css/accordion.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@layer ds.accordion {
.ds-accordion {
--dsc-accordion-border-radius: var(--ds-border-radius-md);
--dsc-accordion-border-color: var(--ds-color-neutral-border-subtle);
--dsc-accordion-border-color: var(--ds-color-neutral-border-subtle);*
--dsc-accordion-border-divider-color: var(--ds-color-neutral-border-subtle);

border-bottom: 1px solid var(--ds-color-neutral-border-subtle);
Expand Down
2 changes: 1 addition & 1 deletion packages/css/popover.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@layer ds.fds-popover {
@layer ds.popover {
.ds-popover {
--dsc-popover-border: 1px solid;
--dsc-popover-background: var(--ds-color-neutral-background-default);
Expand Down
4 changes: 2 additions & 2 deletions packages/css/skeleton.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
pointer-events: none;
user-select: none;
background-color: var(--ds-color-neutral-surface-default);
animation: fds-skeleton-opacity-fade var(--dsc-skeleton-animation-duration) linear infinite alternate;
animation: ds-skeleton-opacity-fade var(--dsc-skeleton-animation-duration) linear infinite alternate;
}

.ds-skeleton--circle {
Expand Down Expand Up @@ -47,7 +47,7 @@
}
}

@keyframes fds-skeleton-opacity-fade {
@keyframes ds-skeleton-opacity-fade {
0% {
opacity: 1;
}
Expand Down
8 changes: 4 additions & 4 deletions packages/css/spinner.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
@layer ds.spinner {
.ds-spinner {
animation: fds-spinner-rotate-animation linear infinite;
animation: ds-spinner-rotate-animation linear infinite;
animation-duration: 2s;
}

.ds-spinner__circle {
stroke-dasharray: 1px, 200px;
transform-origin: center;
animation: fds-spinner-stroke-animation ease-in-out infinite;
animation: ds-spinner-stroke-animation ease-in-out infinite;
animation-duration: 2s;
}

Expand Down Expand Up @@ -36,7 +36,7 @@
stroke: var(--ds-color-neutral-surface-default);
}

@keyframes fds-spinner-rotate-animation {
@keyframes ds-spinner-rotate-animation {
0% {
transform: rotate(0deg);
}
Expand All @@ -46,7 +46,7 @@
}
}

@keyframes fds-spinner-stroke-animation {
@keyframes ds-spinner-stroke-animation {
0% {
stroke-dasharray: 1px, 200px;
stroke-dashoffset: 0;
Expand Down
2 changes: 1 addition & 1 deletion packages/theme/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ import '@digdir/designsystemet-theme/brand/altinn/tokens.css';

```css
div {
padding: var(--fds-spacing-1);
padding: var(--ds-spacing-1);
}
```

0 comments on commit 24109a8

Please sign in to comment.