1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
Commit Graph

90 Commits

Author SHA1 Message Date
Thomas Heartman
532f0cb634 fix: explicitly set background for the light theme
the default is for it to be transparent, which causes issues when
you're overlaying components with the default background color.
2022-02-25 16:39:25 +01:00
Thomas Heartman
4a795966d1 docs: change primary color for light theme to unleash purple 2022-02-25 13:32:52 +01:00
Thomas Heartman
a6191f5ab8 feat: rough style first question page of feedback component. 2022-02-25 12:57:13 +01:00
Thomas Heartman
aa3fb6c4e2 chore: rename styles to module, add more focus styles 2022-02-24 18:00:03 +01:00
Thomas Heartman
39f4d73d59 feat: add basic (sorta styled) first feedback screen 2022-02-24 17:42:53 +01:00
Thomas Heartman
0160eb8ef3 docs: swizzle root and add feedback component 2022-02-24 16:28:05 +01:00
Thomas Heartman
105f3bac21 chore: use standard css file name 2022-02-23 10:37:52 +01:00
Thomas Heartman
9bcb489d8c docs: add data-theme attribute to storybook html 2022-02-17 13:47:04 +01:00
Thomas Heartman
1b8a15aa12 docs: Add storybook 2022-02-17 12:30:49 +01:00
Thomas Heartman
63cd0d229e docs: adjust primary color scale, fix search dropdown a11y issues
This changes the darker end of the primary color scale to make it even
darker. This means that at the lower end of the scale, white text also
gets enough contrast to be accessible.

For the record: these variables do not seem to be in use anywhere else
in the code base (based on a text search), so it shouldn't affect any
other bits or pieces.
2022-02-14 11:43:05 +01:00
Thomas Heartman
c63d552576
Merge pull request #1345 from Unleash/docs/impression-data-how-to
docs: Add "How to send impression data to your third-party sink" guide
2022-02-11 12:36:53 +01:00
Thomas Heartman
17d32f5e43 fix: don't apply extra image styling to images outside the main
Without this modifier, the border, background color, etc, also applies
to logos in the header and footer, and that's not what we want.
2022-02-10 16:42:11 +01:00
Thomas Heartman
a125ea10e8 fix: add missing backslashes to curl command 2022-02-10 16:10:53 +01:00
Thomas Heartman
d0c4eb2637 docs: Add cURL command to ApiRequest component. 2022-02-10 15:33:08 +01:00
Thomas Heartman
752a1df343 docs: Add API request component: display in http and httpie easy!
The ApiRequest component is created to make it easier to show code
samples for API requests. It shows them in raw HTTP form and with
HTTPie for now.
2022-02-09 15:54:16 +01:00
Thomas Heartman
fe69c1d9ef docs(chore): Use ifm variable for border width. 2022-02-09 13:44:58 +01:00
Thomas Heartman
986d628faa docs(a11y): fix issues with transparent pngs; add borders, centering 2022-02-09 13:44:58 +01:00
Thomas Heartman
d0023f615b docs(a11y): use a purple color for primary theme color 2022-02-09 13:44:58 +01:00
Thomas Heartman
7ee4e12a05 docs(a11y): dark mode fix contrast in sidebar and with vid comp
This commit introduces a new primary color gradient palette to replace the
dark / mossy green that we use in the light theme. It's got a very
small range, so we should probably expand on it in the future, but for
now it'll do a _lot_ better than it did previously.
2022-02-09 13:44:58 +01:00
Thomas Heartman
52e85ab555 docs(a11y): move light-specific theme changes to 'light-theme' css 2022-02-09 13:44:58 +01:00
Thomas Heartman
f7301ef937 docs(a11y): fix contrast issues with dark theme link color.
New contrast is 7.99 (AAA).
2022-02-09 13:44:58 +01:00
Thomas Heartman
962928501d docs: hide 'back-to-main-menu' entry in narrow menu
This hides the 'back to main menu' button from the narrowed site menu.
There is no main menu to speak of, so having it take you back to
'unleash enterprise' and the GitHub icon seems unnecessary.
2022-02-07 13:54:52 +01:00
Thomas Heartman
e4b21a3125 chore: make docs sidebar hover and active color same unleash grey. 2022-01-27 13:05:27 +01:00
Thomas Heartman
c14f52c3ca docs: finish v1 of the video content element. 2022-01-27 12:48:39 +01:00
Thomas Heartman
ac7c9bb2df chore: rename unleash purple color variable to align with other vars 2022-01-26 13:53:21 +01:00
Thomas Heartman
0c6bbc215c docs: move video component to /src/components 2022-01-26 13:52:17 +01:00
Thomas Heartman
2c318546b6 docs: remove unnecessary wrapping divs. 2022-01-26 13:52:17 +01:00
Thomas Heartman
a853de45ce docs: size video wrapper elements correctly 2022-01-26 13:52:17 +01:00
Thomas Heartman
c373db40bb docs: make the video content callout Unleash gray. 2022-01-26 13:52:17 +01:00
Thomas Heartman
2a6504e581 docs: use grid for videos in smaller formats. 2022-01-26 13:52:16 +01:00
Thomas Heartman
132cba741c docs: add media query to control for smaller sizes. 2022-01-26 13:51:44 +01:00
Thomas Heartman
2d56e07d3d docs: styling changes to the videos component 2022-01-26 13:51:44 +01:00
Thomas Heartman
2259cc4e68 docs: add initial video component idea (+ cq polyfill)
note: polyfill is currently broken for some reason 🤷
2022-01-26 13:51:44 +01:00
Thomas Heartman
e697e146d6 chore(format): run prettier on the custom css stylesheet 2022-01-26 11:57:52 +01:00
Thomas Heartman
a78f4bd4c4 fix: remove unused style 2022-01-25 12:22:25 +01:00
Thomas Heartman
1b48bc0a9e docs: sidebar markers // use vertical pipes instead. 2022-01-25 12:22:25 +01:00
Thomas Heartman
fe17c4f062 docs: add purple squares to the top level categories. 2022-01-25 12:22:24 +01:00
Thomas Heartman
4899eff20e fix(docs/a11y): fix lack of contrast in on hovered links in footer
This commit changes the hover color of links in the footer to keep it
accessible.

The color will be the exact same as the un-hovered version. This is in
line with the other links in the documentation. The links _do_ get
underlined when hovered, so there is still a visual distinction
between the states.

I've added the variable in the `footer` section instead of in `:root`
because the variable I assign it to (`--ifm-footer-link-color`) gets
overridden closer to the footer, so if you set it in `:root`, you end
up with the wrong value.

addresses and closes https://github.com/Unleash/unleash.github.io/issues/8
2022-01-18 11:46:32 +01:00
Thomas Heartman
a6f9c4f621 fix: use the Unleash purple for links / increase contrast
This increases the contrast from 3.42 to above 4.5, in compliance with
the AA standard.
2022-01-17 15:51:15 +01:00
Ivar Conradi Østhus
ffec4f6342 fix: rename websitev2 to website 2021-10-26 11:25:19 +02:00