Skip to content

Commit

Permalink
colors and styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Barsnes committed Jun 5, 2024
1 parent 5b31f3c commit 539a61c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/css/skiplink.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
align-items: center;
border: var(--ds-border-width-default) solid transparent;
background-color: transparent;
color: var(--ds-color-accent-base-hover);
border-color: var(--ds-color-accent-base-hover);
color: var(--ds-color-accent-text-subtle);
border-color: var(--ds-color-accent-border-strong);
width: fit-content;
padding: var(--dsc-skiplink-padding);
box-sizing: border-box;
Expand Down
1 change: 1 addition & 0 deletions packages/css/tabs.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

.fds-tabs__content {
padding: var(--ds-spacing-5);
color: var(--ds-color-neutral-text-default);
}

.fds-tabs--sm .fds-tabs__tab,
Expand Down
2 changes: 2 additions & 0 deletions packages/css/textarea.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
border: solid 1px var(--ds-color-neutral-border-default);
border-radius: var(--ds-border-radius-md);
resize: vertical;
background: var(--ds-color-neutral-background-default);
color: var(--ds-color-neutral-text-default);
}

.fds-textarea--sm .fds-textarea__input {
Expand Down
6 changes: 4 additions & 2 deletions packages/react/src/components/SkipLink/SkipLink.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import type { Meta, StoryFn } from '@storybook/react';

import { Paragraph } from '../';

import { SkipLink } from '.';
type Story = StoryFn<typeof SkipLink>;

Expand All @@ -9,7 +11,7 @@ export default {
} as Meta;

export const Preview: Story = () => (
<>
<Paragraph>
For å vise skiplinken, tab til dette eksempelet, eller klikk inni eksempelet
og trykk <kbd>Tab</kbd>.
<SkipLink href='#main-content'>Hopp til hovedinnhold</SkipLink>
Expand All @@ -19,5 +21,5 @@ export const Preview: Story = () => (
>
Region som kan motta fokus fra skiplink.
</main>
</>
</Paragraph>
);

0 comments on commit 539a61c

Please sign in to comment.