* Remove unused CSS that causes issues when Combobox' ToggleListButton is skipped
This code removed wrapping of chips if ToggleListButton is hidden, and will only ever apply to the button otherwise. That does not need a flex layout.
* Add changeset
* ✨ Added theming-support to appdir
* 📝 Added changelog docs for theme class change
* ♻️ Use inline head to set local styles instead of css-modules
* 🐛 Use inline styles instead of Head element from nextjs
* 🚧 box migration scaffolding
* 🚚 boxnew -> darkside/boxnew
* 🚧 wip
* 🚧 working single substitution (pending lookup in replacements)
* ✅ working test
* import rename in output test
* ✅ import rename + tests
* use config comments, better import example
* commentblock function (append to string output) + update tests (failing)
* 🚧 almost good... needs to respect renamed imports
* ✅ passing tests
* ♻️ organize some utils
* 🧪 Added more tests
* cast JSXIdentifier type
* pass idempotency tests
* also refactor the usage when renaming a function
---------
Co-authored-by: Ken <ken.aleksander@gmail.com>
* ♻️ Update TOC feedback, add layout padding bottom
* 🐛 Added missing type
* 🐛 Fix missing spacing in intro-section
* 🎉 Added metadata for changelog view support in mønster pages
* 🎨 Refactor layout styles and enhance sidebar button animations
* 🎉 Added SEO support
* 🐛 Add page SEO image to start of image list
* 🔥 Remove reduntant early exit code
* 🐛 Open feedback in new tab
* 🐛 Update footer to use responsive layout
* 🐛 Moved theme-colors to viewmport config
* 🐛 Show mobile-menu earlier
* 🐛 Use local schema in sanity-typegen
* 📝 Typo
* ✨ Implemented codeblock header and codeblock
* ✨ Can now toggle betweem different code-views
* 🐛 Use Theme component to get color-scheme in CSS
* 💄 Updated padding, use custom theme
* ✨ Implemented custom prism-theme
* ✨ Use new prism-theme for propsseksjon
* 🎉 Use new codeblock for single code view
* 🐛 Add hover-effect for expander button
* ✨ Added provider and navigation support
* WIP: Add codeview block
* ✨ Enhance KodeEksempler with Suspense, toolbar, and improved props handling
* 🎨 Refactor CodeBlock component by removing unnecessary Theme wrapper and improving className handling
* ✨ Use local styles for kodeexample module
* 🐛 Add useclient
* 🐛 Use local css variable since css counter breaks at random
* ✨ Set up page-slug query logic
* ♻️ Inline TableOfContents in smaller modules
* 🎨 Refactor TableOfContents styles and update component structure
* 🎨 Enhance TableOfContents styles and structure for improved responsiveness and clarity
* ✨ Enhance TableOfContents component with feedback and changelog links; refactor queries for improved data handling
* 🚚 Co-localized layout in grouped ui dir
* ✨ Extract schema types from sanity
* 🐛 Update sidebar types to use new sanity schema-types
Bug: icon was marked as "new tab" but the icon for new tab is an box with the arrow stopping at the border. Having the new tab synonym here will cause missunderstandings.
Bug: icon was marked as "new tab" but the icon for new tab is an box with the arrow stopping at the border. Having the new tab synonym here will cause missunderstandings.
* root layout
* ✨ Added draftmode
* ✨ Setup boilerplate
* ✨ Setup grouping-dir
* ✨ Implemented header
* 💄 Made header sticky
* 🔒 Content security policy updated
* 🚚 Moved favicon to appdir
* 🔥 restore old frontpage
* 🚚 Moved sidebar to appdir
* ✨ Implemented sidebar loading
* ✨ Doc lyout
* 🐛 Add id for skiplink
* ✨ Added new footer
* 💄 Move skiplink further away
* 💄 Add more padding bottom sidebar
* ✨ Refactor header and sidebar components for improved layout and structure
* 📝 Uncomment some code
* 🔥 Removed user server directive from component and layouts
* 🐛 Center footer
* 🐛 Re-added support for chromatic connect
* 🔥 removed browser-token
* Update aksel.nav.no/website/app/_ui/footer/Footer.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* [Aksel.nav.no] Ported over global search to app-router (#3663)
* 🚚 Moved search-code closer to app router
* ✨ Added button and modal
* ⚡ Initial loading for recent articles
* ⚡ Query data from the server
* ✨ Generates parsed search-results
* ⚡ Added debounce
* ✨ Render hits
* ♻️ Limit articles for each field to 20
* 🐛 Revert form-layout to initial view
* 🐛 Build searchindex before website
* ✨ Pre-select text when re-opening search
* ✨ Enhance global search UI with improved layout and styling
* ✨ Refactor global search components to improve search functionality and UI
* ✨ Improve global search functionality and UI responsiveness
* ✨ Update global search UI and functionality with improved input handling and styling
* ✨ Refactor global search dialog and add Kbd component for keyboard shortcuts
* ⚡ removed reduntant suspense
* ✨ Refactor global search components for improved styling and functionality
* ✨ Refactor global search results rendering for improved performance and readability
* ✨ Update global search dialog and form for improved styling and accessibility
* ✨ Refactor global search components for improved layout and styling
* ✨ Refactor GlobalSearchHitCollection for improved styling and accessibility
* 🎨 Update global search configuration and styles for improved clarity and aesthetics
* 🎨 Update layout and styles for global search components for improved aesthetics and readability
* ✨ Refactor global search utilities and update styles for improved clarity and maintainability
* 🔧 Refactor global search queries and implement caching for improved performance and data retrieval
* ⚡ Preload cache for search
* 🔧 Refactor fetchArticles function to improve caching logic and remove unnecessary logging
* 🔥 Removed user server directive from component
* 🔥 Removed comments
* ⚡ Explicitly declare server-only component
* Update aksel.nav.no/website/app/_ui/global-search/GlobalSearch.fetch.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update aksel.nav.no/website/app/_ui/global-search/GlobalSearch.fetch.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* 📝 Rename sanitiezedata
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* [Aksel.nav.no] Move Aksel-brand theme into app-router for use (#3668)
* 💄 Added global aksel-theme tokens
* ✨ Implement new Aksel-brand for theming
* [Aksel.nav.no] Updated MobileMenu for new ds-pages (#3670)
* 💄 Added global aksel-theme tokens
* ✨ Implement new Aksel-brand for theming
* ✨ Initial setup mobile-menu
* ✨ V1 mobile-menu component
* 💄 Update mobile navigation and global search responsiveness; adjust overlay color opacity
* 💄 Refine modal backdrop animation timing and opacity for smoother transitions
* 💄 Adjust pressed-sidebar state
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* 📝 Reposition sanity fields
* ✨ Added new standalone-category to sanity docs
* ✨ Added validation to make sure standalone articles dont overlap with sections
* 🐛 Always error out if using standalone articles until implemented
* 🔥 Removed temp removal of feature
* 🐛 Check for undefined slug
* [Aksel.nav.no] Implemented support for new lvl 1 articles (#3658)
* ✨ Added support for new lvl 1 articles
* 🧪 Added tests for new sidebar
* 🔥 Removed breadcrumb from WithSidebar layout
* 🐛 Revert to prod dataset
* ✨ Setup darkside migration
* ✨ Can now convert primitives spacing
* 🧪 Added more tests
* 📝 Docs for utils
* 📝 Changeset
* 📝 Typos
* [Darkside] ✨ Added migration for css, less and scss (#3598)
* ✨ Added migration for css, less and scsss
* Update @navikt/aksel/src/codemod/migrations.ts
* ✨ Make old px spacing space-1
* ✨ Use esbuild to inline local references
* ✨ Added js migration to space-tokens (#3600)
* ✨ Setup first iteration of token translation object
* ✨ Started mapping old to new tokens
* ♻️ Simplified repalcement logic
* ✨ Added tests for token-migration
* ✨ Replaces old token with new reference
* ✨ Handle overrides of tokens
* 🧪 Global messages storage
* 📝 Added migration
* 🐛 Initialize message list
* ✨ Customizable results messaging
* ✨ Customizable results messaging
* 🐛 Use replacement, not ref
* 📝 Only document found legacy-tokens, dont rename them
* 📝 Better comments
* ✨ Added context to remaining token updates
* ✨ Added comments to unsupported token
* ✨ Format comments better, remove duplicates
* 📝 Success message if no legacy-tokens found
* 🐛 Return updated source files
* 🐛 Reference valid replacement
* 🔥 Removed comments
* ✨ Added better messaging
* ✨ Better messaging structure
* 🧪 Added more tests
* 🧪 Tests for less, scss, css and js tokens
* 🐛 CSS hits were shown as scss and less hits
* 📝 Format messages better
* 📝 Format messages better
* ✨ Added js-migrations template
* Update test runner
* 🐛 Revert mistakes
* 🐛 Resolve testing rig
* ✨ Js token migration
* 📝 Better docs for JS migration
* 📝 Added missing lineshift
* ✨ Tooling setup
* ✨ Tooling setup with enquirer
* ✨ Tooling setup with enquirer
* ✨ Set up inquirier and enquirer to promt user for tasks
* ✨ Get legacy-data
* ✨ Now formats and prints progress
* ✨ Now formats and prints progress
* ⚡ Smarter scanning of updated tokens
* ⚡ Refactored status-code
* ✨ Now prints remaining files
* ✨ Smarter tailwind-regex
* 📝 Tell user we are scanning the files
* ✨ Moved transforms to new darkside location
* 🚚 Moved tests for js transforms
* 📝 Updated prettier config to ignore new test-files
* 📝 Moved css, less, scss tests
* 🐛 Resolved tests not running properly on less,scss setup
* WIP: tailwind config migration
* 📝 Added tailwind config for border-radius
* ✨ Strictly match tailwind-classes
* ♻️ Convert status obj to class
* ♻️ Compact regex parsing
* ♻️ Simplified regex-handling for new token lookup
* ✨ Added support for component tokens
* ⚡ Optimize lineNumber task
* 🐛 Inline regex-probe
* 🐛 Remove old merged code
* 🐛 Fix regex escape-characters
* Update @navikt/aksel/src/darkside/index.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* 🐛 Fix token-tests
* ✨ Now prints with token-name
* ♻️ Move files
* ♻️ Move printing to TokenStatus class
* ✨ Add comments to printout
* 🐛 Handle word boundaries
* ⚡ Pre-generate the regexes
* 🧪 More regex-tests
* 🧪 More regex-tests
* ⚡ Use built-in regexes
* ⚡ Only run codeshift on relevant files
* 🐛 No print for codemod status update
* ⚡ Only run codeshift on relevant files
* 📝 Added extra space
* 📝 Exit after codemod
* 📝 Removed temp logging
* 🐛 Await codeshift execution
* 🧪 Added tests for not imported JS-tokens
* ✨ Implemented tailwind migration code
* 🧪 @apply tests for tailwind transform
* 🐛 Handle spaces better for tailwind config
* 🐛 Handle prefixing of tailwind config correctly
* 🐛 Handles cases where empty collection was passed
* 🐛 makes sure to clean up match before parsing
* 🧪 More tailwind-codemod tests
* ⚰️ Removed moved code, renamed darkside -> spacing for migrations
* ♻️ Config cleanup part 1
* ♻️ Config cleanup part 2
* ♻️ Refactored runner
* ✨ Added run all migraitons task
* 🐛 Use destrucutred taskname
* 📝 Better naming
* 📝 More spesific import docs
* 🐛 Print filename correctly when token contains special characters
* 🐛 Update spacing migrations paths
* 🐛 Added new spacing-tokens to legacy config
* ✨ Initialize status directly in constructor
* ⬆️ yarn lock sync
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* 🐛 Handle cases where to is defined and from is undefined
* 🐛 Fix missing state-option when selecting ranged datepicker values
* Update @navikt/core/react/src/date/datepicker/DatePicker.stories.tsx
* Update @navikt/core/react/src/date/datepicker/DatePicker.stories.tsx
* 🧪 Added tests for new ranged-datepicker logic
* 🐛 Typo
* 🎨 Adjust padding in alert styles for consistency
* 🎨 Update chat bubble padding for improved consistency
* 🎨 Standardize padding in date and modal styles for consistency
* 🎨 Refactor padding in error summary styles for improved consistency
* 🎨 Adjust padding in file upload styles for improved consistency
* 🎨 Update padding in file upload styles for improved consistency
* 🎨 Adjust transition duration and padding for form progress and summary styles
* 🎨 Update padding in guide panel styles for improved consistency
* 📝 Changeset
Endret i darkmode
Brand Blue og Success, 100 - 400, endret saturation til 100.
Accent, 100 - 400, endret saturation til 60.
Alle farger 600, endret til kontraststop til 4.52:1. Bug, noen farger havnet under 4.5:1.
Alle farger 1000, endret saturation til 100.
* 🚧 umami test script
* 🚧 CSP for umami
* 🚧 test data-tag, set no auto tracking
* ♻️ make consentBanner more self contained
* 🚧 working implementation for consent modal
* ♻️ move ConsentBanner to website-modules + small changes
* use typescript-cookies over localStorage API
* Copy Nav.no consent text
* better name for cookie
* 🚧 crude complex consent object
* Update aksel.nav.no/website/components/website-modules/ConsentBanner.tsx
Co-authored-by: Ken <26967723+KenAJoh@users.noreply.github.com>
* classify traffic better (umami)
* Update aksel.nav.no/website/components/website-modules/ConsentBanner.tsx
Co-authored-by: Ken <26967723+KenAJoh@users.noreply.github.com>
* link to our own personvernerklering + disable modal on that specific page
* use same conditions for all showModal() triggers
* update comment
* limit cookie to specific subdomain (prevent it getting sent by clients to other *.nav.no pages
* remove the MutationObserver, but keep query param to disable banner (for tests)
* bypass banner in e2e tests
* store "no action" consent data in sessionStorage
* 🚧 change to in document flow style banner (no more modal)
* 📱 responsive consent banner++
* website: set cookie domain dynamically (from serving site)
* hardcode /side/personvernerklaering
* 🚧 placeholder cookie preferences box
* cookie preferences box++
* dokmøte plenumsendringer
* move page personvernserklaering
* make the cookie preference form functional
* ♿ add missing aria-labelledby target
* re-enable banner on e2e search tests
* Add explanation to organic and polluted traffic
* extract consent state into custom hook
* PR review changes
* ✨ Serverside-check for cookie consent
* banner set tracking id from env var
* remove unused url param check
* env var toggle for PRODUCTION
use this to inject code scripts clientside, do stuff during build or anything else really! (better to use this than NODE_ENV)
---------
Co-authored-by: Ken <26967723+KenAJoh@users.noreply.github.com>
Co-authored-by: Lars Eirik Korsgaard Hansen <71271458+larseirikhansen@users.noreply.github.com>
Co-authored-by: Ken <ken.aleksander@gmail.com>
* ✨ Setup darkside migration
* ✨ Can now convert primitives spacing
* 🧪 Added more tests
* 📝 Docs for utils
* 📝 Changeset
* 📝 Typos
* [Darkside] ✨ Added migration for css, less and scss (#3598)
* ✨ Added migration for css, less and scsss
* Update @navikt/aksel/src/codemod/migrations.ts
* ✨ Make old px spacing space-1
* ✨ Use esbuild to inline local references
* ✨ Added js migration to space-tokens (#3600)
* ♻️ Use eslint-bundle as main build for CLI
* ♻️ Add mappings exports in ds-css, avoid using esbuild
* 💄 Update background Header
* 💄 Update popover padding for smaller screens
* 💄 Adjusted borders
* 💄 Uses Alpha-tokens for zebra-stripes in Table
* 💄 Stronger border for hovered timeline items, transparent track bg
* 💄 Transparent lines for Tabs to contrast colored bg
* 💄 New icons for Table-sorting
* 💄 Selected exoanded item now has accent colors
* 💄 Keeps border-color for active state in search-button
* 💄 Removed hover-color change on checked radio
* 💄 Only non-responsive or left-static guidepanels shrink on tablet or below
* 📝 Changeset
* 🚚 -hover tokens are now soft-hover
* ✨ Added soft-pressed token
* 💄 Use new soft-pressed token where applicable
* 💄 Default colored text is now 1000, strong replaced by subtle
* 🏷️ Updated primitive types for new text-tokens
* 🚚 Migrated old text-role-strong color to text-role-default
* 🚚 Migrated referansesider to new text-colors
* 🚚 Referansesider uses new soft-hover token
* 🐛 Fallback to updated accent-color
* [Darkside] Removed 'base' as neutral role replacement (#3556)
* ♻️ Remove default-scale as replacement for neutral in config
* 🧪 Setup chromatic-run for complete build
* 🚚 Text migrated
* 🚚 Text icon migrated
* 🚚 Text contrast migrated
* 🚚 bg soft migrated to neutral
* 🚚 bg moderate migrated to neutral
* 🚚 bg strong migrated to neutral
* 🚚 border default migrated to neutral
* 🚚 border subtle migrated to neutral
* 🚚 border strong migrated to neutral
* ⬅️ Revert chromatic preview
* 🚚 Migrated referansesider to new neutral scale
* 🚚 Use named brand and meta-colors
* 🚚 Referansesider uses new brand-names token
* 💄 Update background Header
* 💄 Update popover padding for smaller screens
* 💄 Adjusted borders
* 💄 Uses Alpha-tokens for zebra-stripes in Table
* 💄 Stronger border for hovered timeline items, transparent track bg
* 💄 Transparent lines for Tabs to contrast colored bg
* 💄 New icons for Table-sorting
* 💄 Selected exoanded item now has accent colors
* 💄 Keeps border-color for active state in search-button
* 💄 Removed hover-color change on checked radio
* 💄 Only non-responsive or left-static guidepanels shrink on tablet or below
* 📝 Changeset
* 🚚 -hover tokens are now soft-hover
* ✨ Added soft-pressed token
* 💄 Use new soft-pressed token where applicable
* 💄 Default colored text is now 1000, strong replaced by subtle
* 🏷️ Updated primitive types for new text-tokens
* 🚚 Migrated old text-role-strong color to text-role-default
* 🚚 Migrated referansesider to new text-colors
* 🚚 Referansesider uses new soft-hover token
* 🐛 Fallback to updated accent-color
* [Darkside] Removed 'base' as neutral role replacement (#3556)
* ♻️ Remove default-scale as replacement for neutral in config
* 🧪 Setup chromatic-run for complete build
* 🚚 Text migrated
* 🚚 Text icon migrated
* 🚚 Text contrast migrated
* 🚚 bg soft migrated to neutral
* 🚚 bg moderate migrated to neutral
* 🚚 bg strong migrated to neutral
* 🚚 border default migrated to neutral
* 🚚 border subtle migrated to neutral
* 🚚 border strong migrated to neutral
* ⬅️ Revert chromatic preview
* 🚚 Migrated referansesider to new neutral scale
* 💄 Update background Header
* 💄 Update popover padding for smaller screens
* 💄 Adjusted borders
* 💄 Uses Alpha-tokens for zebra-stripes in Table
* 💄 Stronger border for hovered timeline items, transparent track bg
* 💄 Transparent lines for Tabs to contrast colored bg
* 💄 New icons for Table-sorting
* 💄 Selected exoanded item now has accent colors
* 💄 Keeps border-color for active state in search-button
* 💄 Removed hover-color change on checked radio
* 💄 Only non-responsive or left-static guidepanels shrink on tablet or below
* 📝 Changeset
* 🚚 -hover tokens are now soft-hover
* ✨ Added soft-pressed token
* 💄 Use new soft-pressed token where applicable
* 🚚 Referansesider uses new soft-hover token
* 💄 Update background Header
* 💄 Update popover padding for smaller screens
* 💄 Adjusted borders
* 💄 Uses Alpha-tokens for zebra-stripes in Table
* 💄 Stronger border for hovered timeline items, transparent track bg
* 💄 Transparent lines for Tabs to contrast colored bg
* 💄 New icons for Table-sorting
* 💄 Selected exoanded item now has accent colors
* 💄 Keeps border-color for active state in search-button
* 💄 Removed hover-color change on checked radio
* 💄 Only non-responsive or left-static guidepanels shrink on tablet or below
* 📝 Changeset
* 🚚 -hover tokens are now soft-hover
* 🚚 Referansesider uses new soft-hover token
* 💄 Update background Header
* 💄 Update popover padding for smaller screens
* 💄 Adjusted borders
* 💄 Uses Alpha-tokens for zebra-stripes in Table
* 💄 Stronger border for hovered timeline items, transparent track bg
* 💄 Transparent lines for Tabs to contrast colored bg
* 💄 New icons for Table-sorting
* 💄 Selected exoanded item now has accent colors
* 💄 Keeps border-color for active state in search-button
* 💄 Removed hover-color change on checked radio
* 💄 Only non-responsive or left-static guidepanels shrink on tablet or below
* 📝 Changeset
* 💄 Stepper text-colors
* 💄 Adjusted paddings form-summary
* 💄 Alpha-border formsummary
* 🐛 Re-added animation to formprogress
* 💄 moderate active state for button
* ♻️ Copybutton re-uses button-component
* 💄 Updated shadow for lightmode
* 🔥 Removed comments CopyButton
* 📝 Added bw-compatibility for CopyButton
* 🐛 Added default-size for legacy CopyButton
* 🐛 Boolean flipped so that legacy wrapper were used on wrong state
* 🐛 Boolean flipped so that legacy wrapper were used on wrong state
* 🐛 Now accounts for custom icons in legacy CopyButton
* Getting started converting ActivityPlan to Aksel components
* Refactor ActivityColumn
* attempt to add Theme (from local path)
* 🚧
* 🐛 minify strips navds-r-p?
* use correct react package (local) and use padding prop
* correctly use the Theme wrapper in ThemeProvider
* Refactored MainCard
* Make ActivityCard more similar to "the real deal".
* Reduce column padding
* use Link component
* add missing href to links in sykepenger
* remove generic seletors on root
* dark mode for sykepengericon (also use tokens)
* Fixes console warnings
* Added activity view for activity plan reference page
* Design review changes
* Add HelpText to columns
* Add focus indicator for activity cards
* Minor css tuning
* 🐛 Blogg did not sort latest articles by publishDate
* [Actions] ⚡ Optimize workflows (#3480)
* 🚚 Moved auth-token, fetch less history
* ♻️ Use composite actions for workflow
* 🐛 Checkout before running composite workflow
* 🚚 Move composite actions to separate dir
* ♻️ Pass token to composite action
* 📝 Better test names
* ⚡ Optimize chromatic workflow
* ⚰️ Removed old and broken redeploy action
* ⚡ Optimized website-build
* ♻️ Use composite actions for prod and dev build
* ⚡ Reduced e2e tests by 40%
* ⚡ Improved sandbox testing
* ⚡ Update search-tests
* 🐛 Disable invalid example-demos
* 🐛 Wait for search completion
* 📝 removed old env input
* 🐛 Moved vars out to input
* 🐛 Don't ignore inputs for if-tests
* 🐛 Check input for truuthynes
* test: Run sharded playwright
* 🐛 Removed sharded workflow
* ⚡ Update re-use of actions
* 🐛 Keep full git-history for chroamtic
* Update .github/workflows/chromatic.yml
Co-authored-by: Lars Eirik Korsgaard Hansen <71271458+larseirikhansen@users.noreply.github.com>
* Update .github/workflows/referansesider-spa-deploy.yml
Co-authored-by: Lars Eirik Korsgaard Hansen <71271458+larseirikhansen@users.noreply.github.com>
* Update .github/workflows/ci.yml
Co-authored-by: Lars Eirik Korsgaard Hansen <71271458+larseirikhansen@users.noreply.github.com>
* Update .github/workflows/ci.yml
Co-authored-by: Lars Eirik Korsgaard Hansen <71271458+larseirikhansen@users.noreply.github.com>
* Update .github/workflows/ci.yml
Co-authored-by: Lars Eirik Korsgaard Hansen <71271458+larseirikhansen@users.noreply.github.com>
* Update .github/workflows/ci.yml
Co-authored-by: Lars Eirik Korsgaard Hansen <71271458+larseirikhansen@users.noreply.github.com>
* Update .github/workflows/ci.yml
Co-authored-by: Lars Eirik Korsgaard Hansen <71271458+larseirikhansen@users.noreply.github.com>
* Update .github/workflows/ci.yml
Co-authored-by: Lars Eirik Korsgaard Hansen <71271458+larseirikhansen@users.noreply.github.com>
* 📝 Typo
* 📝 Typoo
* ⚡ Use built-in report for playwright
* 🐛 Use html-reporter, not list
---------
Co-authored-by: Lars Eirik Korsgaard Hansen <71271458+larseirikhansen@users.noreply.github.com>
* [Darkside] P 1/3 ♻️ Updated `default` scale to replace `neutral`-scale (#3487)
* ✨ Added new space tokens
* 🚚 Updated spacing-definitions
* ✨ Added new space-tokens to old system
* ✨ Added support for new space tokens i primitives
* 🔥 Removed space-tokens from tailwindcss
* 📝 Removed old comments
* [Darkside] Spacing -> Space update for CSS (#3478)
* 🚚 Migrated to new space-token
* 📝 Add docs for temp spacing
* 🐛 Add missing token-prefix to docs
* 🐛 Remove old tests
* 🐛 Added legacy-spacing support for primitives when using new theme-stystem
* ♻️ Move neutral-scale -> default scale
* ♻️ New box now supports updated default tokens
* ♻️ Default -> Soft token
* 📝 Update js-doc
* [Darkside] P 2/3 ♻️ Global/Meta-token naming, bumped role-scale (#3499)
* 💄 Text and border-tokens for roles bumped up
* 📝 Update global and meta-colors to numbers, removed hover color on accordion/button
* [Darkside] P 3/3 ♻️ Old neutral-scale now uses default-scale (#3488)
* ♻️ Use default-tokens for old neutral-scale
* 🐛 Fixed missing token migrations
* ♻️ role default -> role-soft
* ♻️ Re-structure order and texts for GP section (#3492)
* ♻️ Re-structure order and texts for GP section
* 📝 Avoids extra capitalization for names
* Added script to check version-sync between workspace (#3486)
* ✨ Added script for verifying dep-versions across workspace
* ✨ Added script for verifying dep-versions across workspace
* ✨ Added script for verifying dep-versions across workspace
* ✨ Added script for verifying dep-versions across workspace
* ✨ Added script for verifying dep-versions across workspace
* 📝 Better texts
* 📝 Better texts
* 📝 Added comments
* 📝 Updated minoer package-differences
* 📝 Upgraded stylelint
* 📝 Upgraded babel-loader
* 📝 Add ^ to ds-css versionsing across repo
* ♻️ Small refactor to reduce use of forEach
* Table: Removed border-bottom for HeaderCell used in ExpandableRow (#3503)
* Use HeaderCell for name in expandable table example
* 🐛 Removed border-bottom for HeaderCell used inside ExpandableRow
---------
Co-authored-by: Ken <ken.aleksander@gmail.com>
* Version Packages (#3505)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* ♻️ Removed raised-tokens from darkside roles
* 💄 Incremental layout and list-view update on Produktbloggen
* 🐛 Added missing 'li'-tag for list-item in blogglist
* [Table] ExpandableRow `contentGutter`-prop (#3507)
* ✨ New prop contentGutter for ExpandableRow component
* ✨ Added new prop-support in darkside CSS
* 📝 changeset
* Update @navikt/core/react/src/table/ExpandableRow.tsx
Co-authored-by: Halvor Haugan <83693529+HalvorHaugan@users.noreply.github.com>
---------
Co-authored-by: Halvor Haugan <83693529+HalvorHaugan@users.noreply.github.com>
* 🐛 Third bloggpost was sliced from view on frontpage
* ⬆️ Bump vite from 5.4.8 to 5.4.12 in /examples/referansesider (#3516)
* ⬆️ Bump vite from 5.4.8 to 5.4.12 in /examples/referansesider
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.8 to 5.4.12.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.12/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.12/packages/vite)
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
* Repo-bump vite
* 🔀 Yarn lock
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ken <ken.aleksander@gmail.com>
* 📝 Added new sidebar category for /komponenter
* always render the maxSelected message when isMultiSelect (#3506)
* always render the maxSelected message when isMultiSelect
* also check if maxSelected is set
* Changeset
* Update .changeset/swift-readers-check.md
---------
Co-authored-by: Lars Eirik Korsgaard Hansen <71271458+larseirikhansen@users.noreply.github.com>
Co-authored-by: Ken <26967723+KenAJoh@users.noreply.github.com>
* 💄 Error borders uses danger-strong consistently (#3512)
* ♻️Fix#3451 scaling for 400% zoom (#3514)
* 🐛 Using 'loader' inside 'icon'-prop broke layout caused by position absolute (#3515)
* [Darkside] Quality assurance P1 (#3510)
* 💄 Adjustments 1
* 💄 Bumped default strong scale
* 💄 Bumped secondary neutral border
* 💄 Reduced text-color change on hover
* 🐛 Resolved border and focus logic for combobox
* 🐛 Fix icon sizing for buttons
* 💄 Use tertiary-buttons for datepicker caption
* Update @navikt/core/react/src/chips/Toggle.tsx
* 💄 QA updates combobox darkside (#3511)
* Update swift-readers-check.md
* Version Packages (#3509)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Update LICENSE
* [Darkside] Updated Focus design for Checkbox, Radio and Switch (#3513)
* 💄 Focus-outline now around item checkbox,radio
* 🐛 Resolved small and indeterminate-state
* 💄 updated focus-markings for switch
* Update @navikt/core/css/darkside/form/radio-checkbox.darkside.css
* 🐛 Hide new indeterminate node from old checkbox
* [Darkside] Quality assurance P4 (#3518)
* 💄 Adjust bg transparency
* 💄 Default border now same scale as roles
* [Darkside] Quality assurance P5 (border-radius and font-weight) (#3519)
* 💄 Update border-radius based on Figma
* 💄 More border-radius adjustments
* 💄 Bolder medium+ headings
* [Darkside] Updated focus-outline (#3520)
* 💄 Updated focus-outline
* 🧪 Added legacy-support for deprecated files
* 🐛 Account for legacy files in count
* [Darkside] Quality assurance P6 (Fileupload) (#3524)
* 📝 Update FileUpload CSS-artifacts
* 🐛 Synced release-text with updated role-colors
* ✨ New icons for sorting (#3528)
* Theming for sykepenge icon
* 🐛 Use correct global token for darkside JS
* Updated SykepengerIcon to be one shape
* Changed text color to subtle
* Layout fixes
* Refactor activity modal and improve rendering of activity details
* Remove the decorator from the activity plan reference page to reduce complexity
It is not necessary to show off dark mode, and it introduces some problems we need to solve.
Will keep the code, so we can re-introduce it later if we want.
* remove route listing, redirect index.tsx to aktivitetsplan
* re-add the switcher
* resulotions for ds-react, and tweak spacing for header
* Fill out more activity details
* remove unused files + fix up some old tokens
* Darker modal backdrop
* Make JobInterestBox stand out more in dark mode
* Adjust heading size to better preserve hierarchy, although the modal header should have been larger instead (not supported)
* Add gap for better responsiveness on mobile
* Revert to secondary button to not conflict with other primaries. May revisit this later
* Increased Page.Block gutter tokens
* Background softA is now working, so we don't need to check for which is the active theme
* Better responsiveness
* Add "Add new activity" modal
* Reduce texts for responsiveness
* Make "save" button narrower
* 🚧 test deploy cache-invalidation
* 👷 test again
* 💄 remove border under ThemeSwitch
* Delete .changeset/late-hotels-try.md
* Delete @navikt/core/css/darkside/primitives/page.darkside.css
* Revert "Delete @navikt/core/css/darkside/primitives/page.darkside.css"
This reverts commit e1d683898a.
* undo the change that will be done on main
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Vegard Haugstvedt <it.vegard@gmail.com>
Co-authored-by: Ken <ken.aleksander@gmail.com>
Co-authored-by: Ken <26967723+KenAJoh@users.noreply.github.com>
Co-authored-by: Lars Eirik Korsgaard Hansen <71271458+larseirikhansen@users.noreply.github.com>
Co-authored-by: Halvor Haugan <83693529+HalvorHaugan@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Accordion: change: do animation similar to ExpansionCard
* changeset
* change: comment expansioncard -> accordion
* don't need changeset for unreleased code
* 🚧 attempt to smooth out expansion of accordion
* working animation
* Update @navikt/core/css/darkside/accordion.darkside.css
Co-authored-by: Ken <26967723+KenAJoh@users.noreply.github.com>
* accordion: remove border-bottom on content, add on item
* Update @navikt/core/css/darkside/accordion.darkside.css
Co-authored-by: Ken <26967723+KenAJoh@users.noreply.github.com>
* Accordion: only set box-shadow line for indented items
---------
Co-authored-by: Ken <26967723+KenAJoh@users.noreply.github.com>
* 💄 Focus-outline now around item checkbox,radio
* 🐛 Resolved small and indeterminate-state
* 💄 updated focus-markings for switch
* Update @navikt/core/css/darkside/form/radio-checkbox.darkside.css
* 🐛 Hide new indeterminate node from old checkbox
- Most of our CSS is re-written. This includes renaming all `.navds`-classNames to `.aksel`. This will affect most custom overrides targeting `.navds`-classes.
As we strongly recommend avoiding custom
overrides where possible, we would like to encourage opening an
issue if you find that you have to override our CSS to achieve
something! It's these cases we want to know about so that we can fix
them for everyone.
### Removed component-tokens
All component-spesific tokens are no longer supported. That means all tokens like these from `Button` are removed:
```css
--ac-button-primary-bg
--ac-button-primary-text
--ac-button-primary-hover-bg
--ac-button-primary-active-bg
```
All component-based tokens are prefixed with `--ac`, so a global search in your codebase should find all of them.
## Tailwind CSS
Since our Tailwind CSS config is tied to our tokens, most changes made to the tokens will affect the Tailwind CSS config.
We have decided to prefix all our classes with `ax-` in the new config, so it should be possible to use both packages at the same time. We will develop tooling to hopefuly make the migrations easier in the future.
### Removed classes
z-index, maxWidth and spacing classes are removed from the new config.
## React
We have made some updates to `@navikt/ds-react` that you should be aware of before testing.
### Accordion
#### Props
- `variant` is deprecated and will be removed in the future. We have not implemented it in the new system.
- `headingSize` is deprecated and will be removed in the future. Accordion-size medium now equals `small` heading, and size small equals `xsmall` heading.
#### Structural changes
`<Accordion.Content/>` now has an extra nested `div` to allow for better animations. Custom CSS might break.
### Datepicker
Weeknumber-button uses our own button-component, and no longer a
custom button.
### GuidePanel
Component got a complete overhaul. Custom overrides might break.
### Popover, HelpText
`arrow`-prop is removed. All of our floating dialog-elements except for `Tooltip` now comes without arrow.
If you have custom `offset`-values, you might have to update them to accommodate this.
### Pagination
Button now uses our own button-component and `variant="tertiary-neutral".
### Primitives
Given that these are closely tied to our tokens, you will most
likely have to update parts of them to test the new system.
All primitives using our current `spacing`-tokens now has
the new <code>space</code>-tokens. You can use the old tokens while
testing, but the full release will remove them from the prop-list
<Markdown>
{`
\`\`\`diff
- <HStack gap="4">
+ <HStack gap="space-16">
\`\`\`
`}
</Markdown>
#### Page
`background`-prop is removed. Now just uses `bg-default`-token.
#### Box
Since `<Box />` is directly tied to our tokens, we
now offer `<Box.New />` as a temporary altenative. This
component is based on our new tokens and can use the backgrounds,
borders, border-radius and shadows from the new system. When the full release comes, we will update `<Box />` to use the new system, and provide tooling to handle this migration.
**All instances of `<Box />` will break when using the new system if:**
import { Markdown, Meta } from "@storybook/blocks";
<Meta title="Docs/Become a Pilot team/2.Setup" />
# Setup
## Clean project
For new projects, setup is just as easy as before, but now requires a `Theme`-component to be wrapped around your app.
The component acts as a local feature-flag for the new implementation, with the added benefit of being able to switch between light and dark mode for you.
Steps:
- 1. Import new CSS `@navikt/ds-css/darkside`
- 2. Import `Theme`-component from `@navikt/ds-react/Theme`
- 3. Wrap your app in the `Theme`-component. You do not have to set the theme, but it defaults to `light`.
```tsx
import "@navikt/ds-css/darkside";
import { Theme } from "@navikt/ds-react/Theme";
export const App = () => (
<Theme theme="light">
<YourApp />
</Theme>
);
```
### Only Tokens/CSS
If you are not using any of our React-components, you can still switch between themes by setting `class="light"` or `class="dark"` on your root-element.
## Theme switching
The `Theme`-component has a `theme`-prop that can be set to either `light` or `dark`. This only sets a `class` on the element of `light` or `dark` (in addition to a `aksel-theme` class), and the rest is handled by the CSS.
You have the option of using `hasBackground` (defaults to true) to make `Theme` include a built on default background.
Since theme-switching often is framework-spesific, we have not included a theme-toggle component or advanced logic for cookies/localstorage.
You will have to implement this yourself using a custom setup, or use a library like [next-themes](https://github.com/pacocoursey/next-themes).
We will continue to work on the whole `Theme` ecosystem, and might include more features in the future to handle this built in.
### Theme-switch component
This is context-based for what fits your application, but there are some general patterns you can follow.
- **Light or Dark-mode**: Here you can use a simple Switch-component, or a Tertiary-button to toggle between them.
- **Light, Dark or System-mode**: Here you can use a ToggleGroup or Select-component.
```tsx
isLightMode ? (
<Button
variant="tertiary-neutral"
icon={<SunIcon title="Switch to dark theme" />}
/>
) : (
<Button
variant="tertiary-neutral"
icon={<MoonIcon title="Switch to light theme" />}
/>
);
```
## I just want to test the new tokens
Since you can use the new tokens alongside the old tokens, you can start by importing the new tokens as you would the old system.
```css
@import "@navikt/ds-tokens/darkside-css";
```
For SCSS, Less and JS they are also available under the paths
```
@navikt/ds-tokens/darkside-scss
@navikt/ds-tokens/darkside-less
@navikt/ds-tokens/darkside-js
```
**Note: To support theming, scss, less and js tokens are all now based on `css-variables`. This means you will have to import the css-version from `darkside-css` alongside them for everything to work.**
## I want to test the new React-changes
For the new system to work with our components, you will have to use the new `Theme`-component, and import the new CSS from `@navikt/ds-css/darkside`
```tsx
import "@navikt/ds-css/darkside";
import { Theme } from "@navikt/ds-react/Theme";
export const App = () => (
<Theme theme="light">
<YourApp />
</Theme>
);
```
You will have to check on all your custom overrides when making this switch.
### Partial update
You can migrate parts of your application to use the new CSS classes without having to migrate everything at once.
```tsx
// Old setup
import "@navikt/ds-css/darkside";
// New setup
import "@navikt/ds-css/darkside";
import { Theme } from "@navikt/ds-react/Theme";
export const App = () => (
<div>
<StillOnOldCSSComponent>
/* Only this part of your app now uses new styling */
<Theme>
<YourApp />
</Theme>
</div>
);
```
You will have to check on all your custom overrides when making this switch.
## I have to make some custom changes in darkmode
Since our implementation is based on CSS, you can easily make custom adjustments where necessary.
<Meta title="Docs/Become a Pilot team/5.Changelog" />
# Darkside changelog
## v7.18 (02.04.25)
`<Theme />`-component no longer defaults to `light`-theme className when no theme is provided.
This change is made to make it possible to handle 'light' and 'dark' themes in a more flexible way. You can manually set `className="light"` (or dark) on any html-element higher in the hierarchy, and the `<Theme />`-component will not override this.
One of the cases where this is needed is with `next-themes` where defaulting to light, and changing to dark based on `useTheme`-hook from `next-themes` leads to hydratiob errors.
## v7.16 (03.03.25)
To allow loading old and new CSS files that the same time, we have now renamed all classes to start with `.aksel` instead of `.navds`.
Every React component has this now feature-flagged behind using the new `Theme`-component.
- **With `<Theme />`**: All components uses `.aksel`-classes internally.
- **Without `<Theme />`**: All components uses `.navds`-classes internally like before.
This means you can now migrate parts of your application to use the new CSS classes without having to migrate everything at once.
We are looking for teams wanting to test our new theming implementation and darkmode before we go live with them later in 2025.
## What is a pilot team?
- A pilot team is a team that tests new implementations before they are released.
- The team will test the new implementation in a real-world scenario and provide us with feedback.
- The feedback will be used to improve the implementation before it replaces the old system.
As a pilot team, we want close communication to get
feedback on the changes. We want to know all the unclear and bad parts
of our implementations, so that we can fix them all up before the big release.
## Who are we mainly looking for?
We are focusing on applications meant for our internal systems and services for now. This line is often a little blurry,
but in short, all the public facing applications including those using "Dekoratøren" will not be considered internal.
Support for "Dekoratøren" is quite far down the road at the moment.
For teams wanting to test the new implementation, there are some key points to consider:
- You _probably_ want to be in the earlier stages of developing a new product or service (to more easily test something in isolation).
- You can test _any_ smaller subset of the new system as it's not an "all or nothing" ordeal. This could be: design tokens, darkmode, updated CSS or a combination of these.
- You have the capacity to test and provide feedback on the new implementation (You'll be saving Nav countless hours for every hour spent!).
Everyone is welcome to test the new implementation, but for some larger applications, it might be a bit early to adopt the new system. Keep in mind that there might be breaking changes as we go,
and we won't have all tooling ready for adoption yet so you might have to do some manual work.
## How to give feedback
We welcome all forms of feedback:
- **Issues**: [Open an issue on Github](https://github.com/navikt/aksel/issues)
- **Disussions**: [Start a discussion](https://github.com/navikt/aksel/discussions/categories/darkside).
- **Slack**: [Reach out to us on Slack #Aksel-designsystemet](https://nav-it.slack.com/archives/C7NE7A8UF)
## What's new?
- **Design tokens**: A complete re-write of our design tokens to allow for dark mode.
- **Dark mode**: A new dark mode implementation.
- **Updated CSS**: Now uses new tokens, built-in CSS-layers support and most components are re-written.
- **Updated Tailwind CSS config**: Now uses new tokens, now comes with built-in `ax`-prefix for easier separation between Aksel and your own config.
- **Updated components**: Components use the new tokens and CSS.
- **New Theme-component**: A new `<Theme/>`-component to handle the theming-switch locally.
- **Updated documentation**: Updated documentation for the new implementation.
## Documentation
As we go, we will add more documentation to help you get started with the new implementation.
- [Design i light og dark-mode](https://aksel.nav.no/god-praksis/artikler/design-i-dark-mode-og-light-mode)
### Demo page
We have a demo page to show off some of the new features and tokens. [You can find it here](https://aksel-referansesider.ansatt.dev.nav.no/aktivitetsplan/).
We recommend using "inspect-tool" in browser to get a feel for the new tokens and CSS.
## How testing could affect your application
All the changes are **opt in**, meaning you can choose to use nothing, some parts of the new implementation, or go all-in.
You will still be able to recieve updates to the old implementation while we are in the testing phase.
### Tokens
We have made a complete re-write of our design tokens to allow for dark mode.
This includes new backgrounds, text-colors, border-colors and updated spacing-tokens.
- All tokens have a new prefix `--ax` to avoid conflicts with old tokens.
- You will be able to use the new tokens at the same time as the old tokens.
- All background, text-colors and border-colors have new names and "concepts" to learn. Migration will not be a quick one to one with old system.
- New spacing tokens are now named `space` and based on `px` values (most devs think and deal in `px` values first, no more on-the-fly mental arithmetic! WYSIWYG).
### CSS
We have updated our CSS to be based on the new tokens for theming.
- Most of our CSS is re-written.
- All custom overrides targeting `.navds`-classes might have to be updated locally.
- Component-based tokens are no longer avaliable.
### Tailwind CSS
We have made a new Tailwind CSS config based on the new tokens. Based on previous iterations, we have decided to try prefixing all our classes with `ax-`.
While this will be a little more verbose, it makes it easier to separate your own config from ours, and hopefully makes it easier to maintain.
### React components
We have made some prop-changes to some components to facilitate the new theming and updated CSS. You can read more about them under `migration` in the sidebar.
We have hidden the changes behind a "feature-flag", so you will have to use the new `<Theme/>`-component when testing the new CSS.
<Meta title="Docs/Become a Pilot team/4.Tokens" />
# Tokens
## Spacing scale
We have updated our spacing-scale to now be named `space` and for the values to reflect 1-1 the px-value.
To migrate old `--a-spacing-X`-tokens, you can just take the value and 4x it to get the new `--ax-space-X`-token.
```diff
// Old
--a-spacing-4: 1rem;
// New
--ax-space-16: 1rem;
```
```css
--ax-space-0: 0rem;
--ax-space-1: 0.0625rem;
--ax-space-2: 0.125rem;
--ax-space-4: 0.25rem;
--ax-space-6: 0.375rem;
--ax-space-8: 0.5rem;
--ax-space-12: 0.75rem;
--ax-space-16: 1rem;
--ax-space-20: 1.25rem;
--ax-space-24: 1.5rem;
--ax-space-28: 1.75rem;
--ax-space-32: 2rem;
--ax-space-36: 2.25rem;
--ax-space-40: 2.5rem;
--ax-space-44: 2.75rem;
--ax-space-48: 3rem;
--ax-space-56: 3.5rem;
--ax-space-64: 4rem;
--ax-space-72: 4.5rem;
--ax-space-80: 5rem;
--ax-space-96: 6rem;
--ax-space-128: 8rem;
```
## Global tokens
Our global colors are Neutral, Accent, Success, Info, Warning, Danger, Brand-magenta, Brand-beige, Brand-blue, Meta-purple and Meta-lime.
Beside `neutral` that has a `000`-token,
all other color-tokens are named after the following pattern:
```css
--ax-[role]-000 // Neutral only
--ax-[role]-100
--ax-[role]-100A
--ax-[role]-200
--ax-[role]-200A
--ax-[role]-300
--ax-[role]-300A
--ax-[role]-400
--ax-[role]-400A
--ax-[role]-500
--ax-[role]-600
--ax-[role]-700
--ax-[role]-800
--ax-[role]-900
--ax-[role]-1000
```
## Semantic tokens
We have two sets of semantic tokens, one for unique cases and one for all the roles.
```css
// Unique tokens
--ax-bg-default // Main page background.
--ax-bg-input // Background for input-fields.
--ax-bg-overlay // Background for overlays like Modal.
--ax-bg-sunken // Background for sunken sections to highlight ex. Cards.
--ax-bg-raised // Background for raised elements, like cards or dialogs.
--ax-text-logo // Nav-logo color.
--ax-border-focus // Outline-color for focus-states.
```
For the remaning tokens, they are equal between all the global roles. This means that if you know the token for one role, you know it for all the roles.
```css
// Backgrounds
// Soft is used for subtle backgrounds without state.
--ax-bg-[role]-soft
--ax-bg-[role]-softA
// Moderate is used for subtle elements, with the option for states.
// Should be used with a border in most cases to separate from the background.
// Think Secondary-buttons, Alerts
--ax-bg-[role]-moderate
--ax-bg-[role]-moderateA
--ax-bg-[role]-moderate-hover
--ax-bg-[role]-moderate-hoverA
--ax-bg-[role]-moderate-pressed
--ax-bg-[role]-moderate-pressedA
// Strong is used for elements that should stand out, with the option for states.
// Think Primary-buttons, Checkbox, Chips
// Text on strong should use contrast version of the color.
--ax-bg-[role]-strong
--ax-bg-[role]-strong-hover
--ax-bg-[role]-strong-pressed
// Text
--ax-text-[role]
--ax-text-[role]-subtle
--ax-text-[role]-icon
--ax-text-[role]-contrast
// Borders
--ax-border-[role]
--ax-border-[role]-subtle
--ax-border-[role]-subtleA
--ax-border-[role]-strong
```
### Example use
```css
.alert--success {
background-color: var(--ax-bg-success-moderate);
border: var(--ax-border-success);
}
.alert--info {
background-color: var(--ax-bg-info-moderate);
border: var(--ax-border-info);
}
```
## Shadows
We now have only one shadow-token:
```css
--ax-shadow-dialog
```
## Z-index
We have removed the `--a-z-index`-tokens.
## Font-tokens, breakpoints etc
The remaining tokens are kept the same as the old system, but now with updated prefix.
Loaded 100 of 853 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.