Skip to content

Instantly share code, notes, and snippets.

View vnys's full-sized avatar

Victor Nystad vnys

View GitHub Profile
@vnys
vnys / eds-matrix-light-theme.csv
Created July 21, 2025 06:49
EDS colour matrix in light theme
name theme 1 2 3 4 5 6 7 8 9 10 11 12 13
red light #fff #ffe7e6 #ffc1bf #ffadab #ff9897 #ff5b64 #ea1a3e #bc002a #fff #e20337 #bd0023 #671c21 #311515
yellow light #fff #ffeddd #f7ceb0 #f3be97 #eeae7c #e08531 #c56100 #9b4900 #fff #e57e00 #c05e00 #572f09 #2a1b0f
green light #fff #e6f8e4 #c0e3bd #acd9a9 #97cf93 #62b55e #359833 #207720 #fff #3fa13d #1a841c #20441e #152215
blue light #fff #e3f5ff #baddf6 #a4d1f2 #8dc5ee #50a7e1 #0e88c9 #006aa0 #fff #0084c4 #0069a7 #183e58 #13202a
moss-green light #fff #e6f5f7 #c0dee1 #acd3d7 #97c8cd #62acb4 #348f98 #206f77 #fff #007079 #005a63 #204044 #152122
neutral light #fff #f2f2f2 #d7d7d7 #cacaca #bebebe #9e9e9e #808080 #636363 #fff #4a4a4a #3a3a3a #3a3a3a #1e1e1e
@vnys
vnys / design-in-equinor-one-on-one.md
Last active January 31, 2025 10:38
Design @ Equinor 1:1 with Mikael January 2025
Title:     Equinor Design Direction
Author:    Victor Nystad <[email protected]>
Status:    Draft
Date:      Jan 29 2025

Key points

@vnys
vnys / eds-status-q1-report.md
Last active January 29, 2025 12:25
EDS Status Q1 Report
Title:     EDS Q1 Status Rapport
Author:    Victor Nystad <[email protected]>
Status:    Draft
Date:      Jan 29 2025

APCA

@vnys
vnys / easing.js
Created June 2, 2024 08:47 — forked from RienNeVaPlus/easing.js
🔀 Simple Easing Functions in JavaScript using `export`
/**
* Easing functions
*
* https://gist.github.com/gre/1650294
* http://easings.net
*/
// no easing, no acceleration
export function easeLinear(t){ return t }
// accelerating from zero velocity
export function easeInQuad(t){ return t*t }
@vnys
vnys / hover.csv
Created October 24, 2023 06:28
EDS hover states
Name Has hover Has active hover Note
App launcher X ❗️All items are active – should be neutral
Breadcrumbs X X ❗️Missing active
Drawer X X Needs active-hover and active-pressed
Sidebar X X Removing pressed in the tokens
Link X
Menu X X
Pagination X X Needs to be rebuilt
Table of contents X X
Tabs X X Resting = inactive in 1.0
@vnys
vnys / tenk-button.css
Created August 9, 2023 19:10
tenk workshop 2023
.button-primary {
font-size: var(--button-font-size);
line-height: var(--button-line-height);
border-radius: var(--button-border-radius);
padding: var(--button-padding);
background-color: var(--button-primary-background-color);
color: var(--button-color);
cursor: pointer;
border: none;
text-decoration: none;
@vnys
vnys / tokens-styles-sync.md
Last active March 15, 2023 09:21
Token Studio syncing styles
Title:  Syncing Equinor Design System tokens with styles
Author: Victor Nystad <[email protected]>
Status:  Draft
Date:   Mar 14 2023

When syncing tokens in Token Studio with styles, there are two options in the plugin settings:

@vnys
vnys / deluge.md
Last active February 5, 2023 23:07
deluge
Title:  Synthstrom Deluge muligens til salgs
Author: Victor Nystad <[email protected]>
Date:   Dec 29 2022

Kostnader 19. juni 2022

@vnys
vnys / 00-taco.md
Last active October 15, 2023 14:07
vegan recipes oppskrifter
Title:  Tomato-spiced lentils
Author: Victor Nystad <[email protected]>
Date:   Feb 17 2023
Status: WIP
URLs:
  - https://www.thespruceeats.com/simplest-raw-food-salsa-recipe-3377438
  - https://lovingitvegan.com/simple-guacamole-recipe/
 - https://www.simplyrecipes.com/recipes/refried_black_beans/