Skip to content

feat: OPTIC-1217: Implement Color design tokens as CSS variables and Dark Mode #6550

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
282 commits
Select commit Hold shift + click to select a range
ce3ea0e
Adds dark mode support to pages and components.
ricardoantoniocm Nov 20, 2024
c0b5172
Refactors folder-empty icon.
ricardoantoniocm Nov 20, 2024
2dcd515
Adds descriptions to Semantic tokens.
ricardoantoniocm Nov 26, 2024
891f2cf
Adapts elements to dark mode.
ricardoantoniocm Nov 26, 2024
f8a1f5c
Adapts elements to dark mode.
ricardoantoniocm Nov 27, 2024
15d56ad
Adapts elements to dark mode.
ricardoantoniocm Nov 27, 2024
b0a10da
Adapts elements to dark mode
ricardoantoniocm Nov 28, 2024
843db29
ThemeToggle can now tell others what theme is currently in use
yyassi-heartex Nov 28, 2024
cb15ba7
adding color definition for darkvs light mode
yyassi-heartex Nov 28, 2024
0782e93
Adapts elements to dark mode.
ricardoantoniocm Jan 4, 2025
f42669b
Merge branch 'develop' into fb-optic-1217/implement-design-tokens-as-…
yyassi-heartex Jan 10, 2025
b51c97e
lint cleanup
yyassi-heartex Jan 10, 2025
ed36625
lint cleanup
yyassi-heartex Jan 10, 2025
3a600f5
Adds missing closing element.
ricardoantoniocm Jan 14, 2025
73b7360
Adds maximum width to User Account page.
ricardoantoniocm Jan 14, 2025
b2dafa8
Adapts elements to dark mode.
ricardoantoniocm Jan 14, 2025
8d956ac
Adapts elements to Dark Mode.
ricardoantoniocm Jan 14, 2025
45708af
Improves language of completed state for labeling queue.
ricardoantoniocm Jan 14, 2025
d920fd7
Lint fixes.
ricardoantoniocm Jan 14, 2025
20556c7
Removes empty line.
ricardoantoniocm Jan 14, 2025
3256dee
lint cleanup
ricardoantoniocm Jan 14, 2025
8a0c73d
Adds explicit button type for themeToggle
ricardoantoniocm Jan 14, 2025
93120a9
Adds explicit button type for MultiStateToggle
ricardoantoniocm Jan 14, 2025
5ebbcf2
Lint Cleanup
ricardoantoniocm Jan 14, 2025
f40f003
Adds dark mode support to multiple components.
ricardoantoniocm Feb 5, 2025
49e26b3
adding new css vars for ThemeToggle
yyassi-heartex Feb 5, 2025
ce21853
Merge branch 'develop' into fb-optic-1217/implement-design-tokens-as-…
yyassi-heartex Feb 5, 2025
803a6ec
default theme is now Light
yyassi-heartex Feb 5, 2025
04f72fa
default theme is light
yyassi-heartex Feb 5, 2025
9d37c68
Adds dark mode support to multiple components.
ricardoantoniocm Feb 5, 2025
dac32c5
Adds dark mode support to multiple components.
ricardoantoniocm Feb 5, 2025
dd05184
Adds dark mode support to multiple components.
ricardoantoniocm Feb 21, 2025
7f2260e
Merge remote-tracking branch 'origin/develop' into fb-optic-1217/impl…
bmartel Feb 21, 2025
25896f2
remove duplicate selectors
bmartel Feb 21, 2025
b090648
Merge remote-tracking branch 'origin/develop' into fb-optic-1217/impl…
bmartel Mar 19, 2025
1198021
conflict updates
bmartel Mar 19, 2025
0f6770a
Merge remote-tracking branch 'origin/develop' into fb-optic-1217/impl…
bmartel Mar 28, 2025
fd457ce
fix resizer panel border colors and size on hover
bmartel Mar 28, 2025
d29a8f2
align border colors for panels and resizer element
bmartel Mar 28, 2025
30553a6
improve left side panel snap indicator getting stuck when clicking on…
bmartel Mar 28, 2025
11c1659
fix the tab panel group vertical resizer hover border to match the si…
bmartel Mar 28, 2025
f6ab02d
remove hardcoded styles in DM action buttons
bmartel Mar 28, 2025
c3d457a
fix annotation button menu trigger border
bmartel Mar 28, 2025
ce97396
fix bottombar spacing, remove hardcoded tokens
bmartel Mar 28, 2025
f27ae0c
fix tooltip and contextmenu
bmartel Mar 28, 2025
feb6c27
linting
bmartel Mar 28, 2025
5eff509
fix editor button borders, and the treeview region index text color
bmartel Mar 28, 2025
8b09b5c
removing the theme color option from Tooltip scss, leave it to color …
bmartel Mar 28, 2025
4260f12
fix logo from merge
bmartel Mar 28, 2025
3a350fc
fix DM Resizer spacing and positioning
bmartel Mar 31, 2025
2c8f0c1
fix coloring of headings getting overridden by antd, also toolbar cle…
bmartel Mar 31, 2025
815fe58
create project visual config select and input colors
bmartel Mar 31, 2025
e6d2b0f
generating raw values for surface collection color tokens
bmartel Mar 31, 2025
3c437a4
replacing incorrect design tokens
bmartel Apr 1, 2025
6d314ac
replacing incorrect design tokens
bmartel Apr 1, 2025
c712fc0
replacing incorrect design tokens
bmartel Apr 1, 2025
df974bd
replacing incorrect design tokens
bmartel Apr 1, 2025
ab6a058
Fixes app background. Fixes scrollbars.
ricardoantoniocm Apr 1, 2025
7c7dad4
DM button and filters cleanup
bmartel Apr 1, 2025
a92af7d
Merge branch 'fb-optic-1217/implement-design-tokens-as-css-variables'…
bmartel Apr 1, 2025
3bad1c8
themetoggle font size, form select style
bmartel Apr 1, 2025
0e44791
Merge remote-tracking branch 'origin/develop' into fb-optic-1217/impl…
bmartel Apr 1, 2025
20297c9
make homepage components dark mode compatible
bmartel Apr 1, 2025
965910e
fix button outline styles
bmartel Apr 1, 2025
dddbd96
fix button outline styles
bmartel Apr 1, 2025
a8032b3
Merge remote-tracking branch 'origin/develop' into fb-optic-1217/impl…
bmartel Apr 2, 2025
9f27c05
fix InputFile to align with Dark Mode styles
bmartel Apr 2, 2025
2aacb4d
fix Counter styles to be dark mode compatible
bmartel Apr 2, 2025
fa80938
fix icon collapse/expand color
bmartel Apr 2, 2025
701a3f1
fix all projects icon
bmartel Apr 2, 2025
d23bea8
remove static main.css and uikit.css from base template
bmartel Apr 2, 2025
ad2f3e1
move codemirror to ui lib so it can be themed and shared across the c…
bmartel Apr 2, 2025
962ca53
fix code editor base styles to ensure it works in all the use cases w…
bmartel Apr 2, 2025
81b049b
ensure forwardref is handled
bmartel Apr 2, 2025
58c1b61
allow accent colors to expose raw variables for translucent colors
bmartel Apr 3, 2025
ac001c1
Reduces left padding on Home page quick action buttons.
ricardoantoniocm Apr 3, 2025
190a3c2
fix CreateProject fields
bmartel Apr 3, 2025
9253008
Merge branch 'fb-optic-1217/implement-design-tokens-as-css-variables'…
bmartel Apr 3, 2025
42b5e50
fix link styles
bmartel Apr 3, 2025
64680af
Merge remote-tracking branch 'origin/develop' into fb-optic-1217/impl…
bmartel Apr 3, 2025
3983eb6
fix input file styles
bmartel Apr 3, 2025
d6d07de
Merge remote-tracking branch 'origin/develop' into fb-optic-1217/impl…
bmartel Apr 7, 2025
1b99993
Replaced hard coded color for currentColor for chevron-left-bold and …
ricardoantoniocm Apr 7, 2025
7436023
add color utility to calculate an accessible color from a bg and fg c…
bmartel Apr 7, 2025
da1e16d
add bg colors as raw variants
bmartel Apr 8, 2025
ee42fad
removing color util, it wont quite work out
bmartel Apr 8, 2025
d1b8aab
commentform and textarea focus styles, region editor and detail panel…
bmartel Apr 8, 2025
7f87813
Merge remote-tracking branch 'origin/develop' into fb-optic-1217/impl…
bmartel Apr 9, 2025
439579c
Improves main navigation icons' contrast.
ricardoantoniocm Apr 9, 2025
518ffd9
Improves display of selected tasks on grid view.
ricardoantoniocm Apr 9, 2025
1b1ab54
Improves copy/duplicate and thumbs up/down icons.
ricardoantoniocm Apr 9, 2025
9e1a7e3
Fixes padding of help icon on table headers.
ricardoantoniocm Apr 9, 2025
97cb89f
Sets Bulk Labeling icon to currentColor.
ricardoantoniocm Apr 9, 2025
3007740
Adapts default Tag colors to dark mode.
ricardoantoniocm Apr 9, 2025
a2121fa
Merge remote-tracking branch 'origin/develop' into fb-optic-1217/impl…
bmartel Apr 9, 2025
0296d7b
Adapts Filters and Select components to dark mode.
ricardoantoniocm Apr 9, 2025
0778a26
fix base button padding, adjust only the homepage action buttons instead
bmartel Apr 9, 2025
74268b8
Merge branch 'fb-optic-1217/implement-design-tokens-as-css-variables'…
bmartel Apr 9, 2025
1e1efbe
adding more icons that were found in static folder
bmartel Apr 9, 2025
0a250d2
Merge remote-tracking branch 'origin/develop' into fb-optic-1217/impl…
bmartel Apr 10, 2025
0fb4bda
border colors
bmartel Apr 10, 2025
a0dd56c
toast color updates, adding to storybook
bmartel Apr 10, 2025
8262619
update toast stories to be under UI namespace
bmartel Apr 10, 2025
23749ae
adding new semantic tokens
bmartel Apr 10, 2025
acf5b87
Adds temporary shadow-intensity token.
ricardoantoniocm Apr 10, 2025
c622eef
Merge branch 'fb-optic-1217/implement-design-tokens-as-css-variables'…
ricardoantoniocm Apr 10, 2025
b96f833
wrong styles for CodeBlock
bmartel Apr 10, 2025
88b98af
Merge branch 'fb-optic-1217/implement-design-tokens-as-css-variables'…
bmartel Apr 10, 2025
0e029bb
linting
bmartel Apr 10, 2025
f9d9f26
Adds shadow-intensity to shadows to handle different intensity depend…
ricardoantoniocm Apr 11, 2025
3f1ebc4
Adapts divider on Membership Info page to dark mode.
ricardoantoniocm Apr 11, 2025
43ff12e
Merge branch 'fb-optic-1217/implement-design-tokens-as-css-variables'…
ricardoantoniocm Apr 11, 2025
65711b9
fix some of the code-editor styles
bmartel Apr 11, 2025
8ce7457
Merge branch 'fb-optic-1217/implement-design-tokens-as-css-variables'…
bmartel Apr 11, 2025
11f125e
Updates design tokens to improve readability of text in dark mode.
ricardoantoniocm Apr 14, 2025
183aee9
Adds color-neutral-on-dark-icon to support icons that need to stay wh…
ricardoantoniocm Apr 14, 2025
1d2f7a8
Improves contrast of icons on dark mode.
ricardoantoniocm Apr 14, 2025
25ccaa2
Merge branch 'develop' into fb-optic-1217/implement-design-tokens-as-…
yyassi-heartex Apr 14, 2025
c09d10e
Fixes colors in annotation history.
ricardoantoniocm Apr 14, 2025
bc9f487
Merge branch 'fb-optic-1217/implement-design-tokens-as-css-variables'…
ricardoantoniocm Apr 14, 2025
a6859b4
Adapts 404 error page to dark mode.
ricardoantoniocm Apr 15, 2025
7d62e1f
Improves contrast of text on dark mode.
ricardoantoniocm Apr 15, 2025
9b85efb
Fixes background of application.
ricardoantoniocm Apr 15, 2025
33b2039
Improves look of links on descriptions.
ricardoantoniocm Apr 15, 2025
198f843
Sync Follow Merge dependencies
robot-ci-heartex Apr 16, 2025
74629ca
Merge remote-tracking branch 'origin/develop' into fb-optic-1217/impl…
bmartel Apr 16, 2025
1820cb5
fix Homepage action buttons
bmartel Apr 16, 2025
2c62e27
missing border on code-editor
bmartel Apr 16, 2025
217f62d
fix App Pagination border color
bmartel Apr 16, 2025
9fa709d
Improves text color of modal footers.
ricardoantoniocm Apr 16, 2025
7ceed8e
Improves tour styles.
ricardoantoniocm Apr 16, 2025
51f52c4
Adapts react-datepicker on DM to dark mode.
ricardoantoniocm Apr 16, 2025
ef277d9
Replaces primitives with semantic tokens.
ricardoantoniocm Apr 16, 2025
fccb611
Improves contrast of colors in dark mode.
ricardoantoniocm Apr 16, 2025
c550f04
Linting.
ricardoantoniocm Apr 16, 2025
8e7a0eb
Adapts video timeline to dark mode.
ricardoantoniocm Apr 16, 2025
67f6296
minor tweak for selected user height
yyassi-heartex Apr 16, 2025
6aa1a3d
Merge branch 'fb-optic-1217/implement-design-tokens-as-css-variables'…
yyassi-heartex Apr 16, 2025
71d7548
Fixes error breaking shadows on DM dropdowns.
ricardoantoniocm Apr 16, 2025
3b3d16c
Merge branch 'fb-optic-1217/implement-design-tokens-as-css-variables'…
ricardoantoniocm Apr 16, 2025
986a7ac
minor tweaks for filter padding
yyassi-heartex Apr 16, 2025
8b339d3
Merge remote-tracking branch 'origin/develop' into fb-optic-1217/impl…
yyassi-heartex Apr 16, 2025
9b6d5e5
Merge branch 'develop' into 'fb-optic-1217/implement-design-tokens-as…
robot-ci-heartex Apr 17, 2025
9ac966a
Sync Follow Merge dependencies
robot-ci-heartex Apr 17, 2025
bd5527d
Fixes text color on editor.
ricardoantoniocm Apr 17, 2025
cfee4ed
Fixes antd overrides for "result-title".
ricardoantoniocm Apr 17, 2025
8919157
putting ThemeToggle behind a Feature Flag
bmartel Apr 17, 2025
343510e
Reduces contrast of color-neutral-surface on dark mode.
ricardoantoniocm Apr 17, 2025
3c9ea32
Adds missing line at EOF.
ricardoantoniocm Apr 17, 2025
a96369d
Adds color-accent-gradient.
ricardoantoniocm Apr 17, 2025
c43e772
Adapts joyride to dark mode.
ricardoantoniocm Apr 17, 2025
bf56f9c
Fixes color-accent-gradient token.
ricardoantoniocm Apr 17, 2025
73a8e86
Removes unnecesary comma.
ricardoantoniocm Apr 17, 2025
260abfd
Fixes overlay not displaying. Improves overall style of the tour steps.
ricardoantoniocm Apr 17, 2025
a88da84
Improves create prompt tour.
ricardoantoniocm Apr 17, 2025
390f973
Adapts textarea to dark mode.
ricardoantoniocm Apr 17, 2025
570dfa8
Fixes Grid Preview button hover state.
ricardoantoniocm Apr 17, 2025
443d574
Adds hover state to grid view cells.
ricardoantoniocm Apr 17, 2025
e128aa7
Fixes border shown on DM data header columns on hover.
ricardoantoniocm Apr 22, 2025
6089d87
fix ff imports
bmartel Apr 22, 2025
42d90d8
Removes duplicitous styles.
ricardoantoniocm Apr 22, 2025
957eb7f
Adds tokens to support gradients.
ricardoantoniocm Apr 22, 2025
9a908e2
Adapts style of Enhance Prompt icon to support Dark Mode.
ricardoantoniocm Apr 22, 2025
2d16c0a
Merge branch 'fb-optic-1217/implement-design-tokens-as-css-variables'…
ricardoantoniocm Apr 22, 2025
42965c4
Adds missing hover effect to buttons on DM.
ricardoantoniocm Apr 22, 2025
d49cebb
Improves text color of negative menu items.
ricardoantoniocm Apr 22, 2025
2e7056b
Merge remote-tracking branch 'origin/develop' into fb-optic-1217/impl…
bmartel Apr 22, 2025
696cc41
Merge remote-tracking branch 'origin/develop' into fb-optic-1217/impl…
bmartel Apr 22, 2025
229df60
Fixes prev and next buttons not being visible on dark mode.
ricardoantoniocm Apr 22, 2025
9ffaadc
Merge branch 'fb-optic-1217/implement-design-tokens-as-css-variables'…
ricardoantoniocm Apr 22, 2025
a22157d
Fixes file input taking more space than it needs.
ricardoantoniocm Apr 22, 2025
3a6028e
Improves style of destructive buttons.
ricardoantoniocm Apr 22, 2025
2a435b8
Merge remote-tracking branch 'origin/develop' into fb-optic-1217/impl…
yyassi-heartex Apr 22, 2025
6d48d5e
Merge branch 'develop' into fb-optic-1217/implement-design-tokens-as-…
yyassi-heartex Apr 22, 2025
16621a7
merge conflict resolutions
yyassi-heartex Apr 22, 2025
613f3ee
lint cleanup
yyassi-heartex Apr 22, 2025
e5837b7
fixing -spacing class name
yyassi-heartex Apr 22, 2025
0660268
fixing spacing variables and linting
bmartel Apr 23, 2025
6f603c0
Merge branch 'fb-optic-1217/implement-design-tokens-as-css-variables'…
bmartel Apr 23, 2025
0b978e6
adding testid for resources card
yyassi-heartex Apr 23, 2025
f873cd6
making sure valueref is updated
yyassi-heartex Apr 23, 2025
74b0a93
missed this type
yyassi-heartex Apr 23, 2025
4d75865
Fixes border not being displayed for Skip, Reject buttons and improve…
ricardoantoniocm Apr 23, 2025
e89b51e
Merge branch 'fb-optic-1217/implement-design-tokens-as-css-variables'…
ricardoantoniocm Apr 23, 2025
162c0d1
fix danger button border
bmartel Apr 23, 2025
ccb8847
Adapts Link State component to Dark Mode.
ricardoantoniocm Apr 23, 2025
e9c3fa7
Merge branch 'fb-optic-1217/implement-design-tokens-as-css-variables'…
ricardoantoniocm Apr 23, 2025
fa872c8
Fixes hover state of previous and next buttons on View All screen.
ricardoantoniocm Apr 23, 2025
d29d350
select now supports select first option if no value provided
yyassi-heartex Apr 23, 2025
dcffd23
Merge branch 'fb-optic-1217/implement-design-tokens-as-css-variables'…
yyassi-heartex Apr 23, 2025
943bb96
Fixes checkbox labels not being visible on dark mode.
ricardoantoniocm Apr 23, 2025
92186c0
Merge branch 'fb-optic-1217/implement-design-tokens-as-css-variables'…
ricardoantoniocm Apr 23, 2025
73f18f9
Ads missing EOF line.
ricardoantoniocm Apr 23, 2025
0286cd8
Fixes rectangle tool, 3 point rectangle tool, rectangle tool smart an…
ricardoantoniocm Apr 23, 2025
354165d
Adds border to code-editor component.
ricardoantoniocm Apr 23, 2025
2f49c5d
fixing native date color scheme
bmartel Apr 23, 2025
c70f4e9
Merge branch 'fb-optic-1217/implement-design-tokens-as-css-variables'…
bmartel Apr 23, 2025
c8be8df
visual tweak
yyassi-heartex Apr 23, 2025
94576da
addressing create project button padding
yyassi-heartex Apr 23, 2025
b98f6d6
slight visual tweaks
yyassi-heartex Apr 23, 2025
58d0171
button madneess LSO
yyassi-heartex Apr 23, 2025
7ae5b61
lint cleanup
yyassi-heartex Apr 23, 2025
b572225
cleaning up icon size for annotationButton
yyassi-heartex Apr 23, 2025
37a9200
Merge branch 'develop' into 'fb-optic-1217/implement-design-tokens-as…
yyassi-heartex Apr 24, 2025
52bc6fa
making test more stable
yyassi-heartex Apr 24, 2025
6028490
Merge remote-tracking branch 'origin/develop' into fb-optic-1217/impl…
yyassi-heartex Apr 24, 2025
bb310b5
cleanup test
yyassi-heartex Apr 24, 2025
97ce24d
Adds label color to index container.
ricardoantoniocm Apr 24, 2025
6b13f55
Merge branch 'fb-optic-1217/implement-design-tokens-as-css-variables'…
ricardoantoniocm Apr 24, 2025
d1afa0c
Makes readonly fields look disabled.
ricardoantoniocm Apr 24, 2025
40b67ad
Makes readonly fields look disabled.
ricardoantoniocm Apr 24, 2025
1338942
Refactors border for avatars.
ricardoantoniocm Apr 24, 2025
53098c4
Fixes shadow of volume modal on audio player.
ricardoantoniocm Apr 24, 2025
699d442
Adapts colors of audio player when loading to Dark mode.
ricardoantoniocm Apr 24, 2025
288fc6c
Fixes style of View All button.
ricardoantoniocm Apr 24, 2025
114a3a5
Fixes color of links on input labels.
ricardoantoniocm Apr 24, 2025
4c16421
Fixes hover color of input label links.
ricardoantoniocm Apr 24, 2025
70993d7
Adds missing bottom padding to input labels on project settings.
ricardoantoniocm Apr 24, 2025
a007c0a
Fixes hover effect of relation item.
ricardoantoniocm Apr 24, 2025
875e3a9
Adapts video settings to Dark mode.
ricardoantoniocm Apr 24, 2025
07e3952
Fixes disabled state for toggle.
ricardoantoniocm Apr 24, 2025
a6b5834
config updated input
yyassi-heartex Apr 24, 2025
c8b8a74
Merge branch 'fb-optic-1217/implement-design-tokens-as-css-variables'…
yyassi-heartex Apr 24, 2025
59f9aa3
export modal cleanup
yyassi-heartex Apr 24, 2025
5f5485c
tweaking colors
yyassi-heartex Apr 24, 2025
2ad477d
slight color tweak for alert error button hover
yyassi-heartex Apr 24, 2025
52ddef8
Sync Follow Merge dependencies
AndrejOros Apr 25, 2025
862c22c
Merge branch 'develop' into 'fb-optic-1217/implement-design-tokens-as…
AndrejOros Apr 25, 2025
32c5c90
Merge branch 'fb-optic-1217/implement-design-tokens-as-css-variables'…
ricardoantoniocm Apr 25, 2025
11ec39a
Adapts Number input control tag to dark mode.
ricardoantoniocm Apr 25, 2025
4e3f49d
Adapts Datetime component to dark mode.
ricardoantoniocm Apr 25, 2025
13ab457
Adapts number input controls to dark mode.
ricardoantoniocm Apr 25, 2025
91cfc9d
Adapts Code Editor code completion popover to dark mode.
ricardoantoniocm Apr 25, 2025
04b67ee
Improves code editor code completion hints style.
ricardoantoniocm Apr 25, 2025
42fb51a
ensure the head tag script for setting the color scheme is behind the…
bmartel Apr 25, 2025
49eaf4d
audio darkmode colors
yyassi-heartex Apr 25, 2025
bae1124
switching tokens
yyassi-heartex Apr 25, 2025
8d5af3c
Merge branch 'fb-optic-1217/implement-design-tokens-as-css-variables'…
yyassi-heartex Apr 25, 2025
5f6e08e
Sync Follow Merge dependencies
AndrejOros Apr 28, 2025
c97af11
Adds Beta tag to theme toggle.
ricardoantoniocm Apr 28, 2025
6026403
Merge remote-tracking branch 'origin/develop' into fb-optic-1217/impl…
yyassi-heartex Apr 28, 2025
592505d
Fixes Update button not looking properly disabled.
ricardoantoniocm Apr 28, 2025
643334b
Improves look and feel of annotation tabs.
ricardoantoniocm Apr 28, 2025
9351ee9
tweaking spinner body background
yyassi-heartex Apr 28, 2025
1d00c7e
lint cleanup
yyassi-heartex Apr 28, 2025
bd2e044
updating colors for form validation
yyassi-heartex Apr 28, 2025
e3194de
slight tweak to the integration test to make it more consistent
yyassi-heartex Apr 28, 2025
82f4135
Merge branch 'develop' into fb-optic-1217/implement-design-tokens-as-…
yyassi-heartex Apr 28, 2025
e2a8feb
disabling flakey test again
yyassi-heartex Apr 28, 2025
0d2856d
Fixes annotation button contents from moving when switching from defa…
ricardoantoniocm Apr 28, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
34 changes: 17 additions & 17 deletions docs/themes/v2/source/css/codemirror.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
/* GUTTER */

.CodeMirror-gutters {
border-right: 1px solid #ddd;
background-color: #f7f7f7;
border-right: 1px solid var(--color-neutral-border);
background-color: var(--color-neutral-surface);
white-space: nowrap;
}
.CodeMirror-linenumbers {
Expand All @@ -43,13 +43,13 @@
color: black;
}
.CodeMirror-guttermarker-subtle {
color: #999;
color: var(--color-neutral-content-subtlest);
}

/* CURSOR */

.CodeMirror-cursor {
border-left: 1px solid black;
border-left: 1px solid var(--color-neutral-inverted-content);
border-right: none;
width: 0;
}
Expand Down Expand Up @@ -134,16 +134,16 @@
/* DEFAULT THEME */

.cm-s-default .cm-header {
color: #617ADA;
color: var(--color-accent-grape-bold);
}
.cm-s-default .cm-quote {
color: #34988D;
color: var(--color-accent-kale-bold);
}
.cm-negative {
color: #E6694E;
color: var(--color-negative-content);
}
.cm-positive {
color: #34988D;
color: var(--color-positive-content);
}
.cm-header,
.cm-strong {
Expand Down Expand Up @@ -181,16 +181,16 @@
}
.cm-s-default .cm-variable-3,
.cm-s-default .cm-type {
color: #34988D;
color: var(--color-accent-kale-bold);
}
.cm-s-default .cm-comment {
color: #E69559;
color: var(--color-accent-canteloupe-bold);
}
.cm-s-default .cm-string {
color: #CC6FBE;
color: var(--color-accent-plum-bold);
}
.cm-s-default .cm-string-2 {
color: #E6694E;
color: var(--color-accent-persimmon-bold);
}
.cm-s-default .cm-meta {
color: #6B6860;
Expand Down Expand Up @@ -218,10 +218,10 @@
}

.cm-s-default .cm-error {
color: #E6694E;
color: var(--color-negative-content);
}
.cm-invalidchar {
color: #E6694E;
color: var(--color-negative-content);
}

.CodeMirror-composing {
Expand All @@ -231,10 +231,10 @@
/* Default styles for common addons */

div.CodeMirror span.CodeMirror-matchingbracket {
color: #0b0;
color: var(--color-positive-content);
}
div.CodeMirror span.CodeMirror-nonmatchingbracket {
color: #a22;
color: var(--color-negative-content);
}
.CodeMirror-matchingtag {
background: rgba(255, 150, 0, 0.3);
Expand All @@ -251,7 +251,7 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
.CodeMirror {
position: relative;
overflow: hidden;
background: white;
background: var(--color-neutral-background);
}

.CodeMirror-scroll {
Expand Down
43 changes: 35 additions & 8 deletions label_studio/core/static/css/error.css
Original file line number Diff line number Diff line change
@@ -1,20 +1,44 @@
/* Compiled from App.styl */
.ls-global-error {
display: flex;
flex-direction: column;
align-items: center;
padding-top: 15vh;
}

.ls-global-error__header {
position: relative;
width: 812px;
}

.ls-global-error__code {
font-size: 380px;
font-weight: 700;
color: var(--color-neutral-content);
user-select: none;
-webkit-user-select: none;
line-height: 1em;
text-align: center;
}

.ls-global-error__heidi {
width: 812px;
position: absolute;
top: -22px;
left: -22px;
height: 100%;
user-select: none;
-webkit-user-select: none;
}

.ls-global-error h1 {
font-size: 48px;
color: var(--color-neutral-content);
}

.ls-global-error h2 {
font-size: 16px;
color: var(--color-neutral-content);
font-weight: 500;
}

.ls-global-error__actions {
Expand All @@ -34,25 +58,28 @@ body > .ls-global-error .button {
cursor: pointer;
padding: 0 16px;
display: inline-flex;
background-color: #fff;
background-color: var(--color-neutral-background);
align-items: center;
border-radius: 5px;
text-align: center;
text-decoration: none;
justify-content: center;
color: #333;
box-shadow: inset 0px -1px 0px rgba(0,0,0,0.1), inset 0px 0px 0px 1px rgba(0,0,0,0.15);
color: var(--color-neutral-content);
border: 1px solid var(--color-neutral-border);
font-weight: 500;
transition: all 150ms ease-out;
}

body > .ls-global-error button:hover {
box-shadow: rgba(0, 0, 0, 0.05) 0px 2px 4px 0px, rgba(0, 0, 0, 0.1) 0px -1px 0px 0px inset, rgba(0, 0, 0, 0.2) 0px 0px 0px 1px inset;
border-color: var(--color-neutral-border-bold);
}

body > .ls-global-error button.ls-global-error__primary_button {
background-color: #566fcf;
color: #fff;
background-color: var(--color-primary-surface);
color: var(--color-primary-surface-content);
transition: all 150ms ease-out;
}

body > .ls-global-error button.ls-global-error__primary_button:hover {
background-color: #4C5FA9;
background-color: var(--color-primary-surface-hover);
}
63 changes: 42 additions & 21 deletions label_studio/core/static/css/login.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ html, body {
font-weight: 400;
height: 100%;
font-family: 'Hellix', sans-serif;
background-color: var(--color-neutral-background-bold);
color: var(--color-neutral-content);
}

.login_page_new_ui .left {
Expand All @@ -31,6 +33,18 @@ html, body {
background-size: contain;
}

.login_page_new_ui .ls-logo {
width: 414px;
height: 64px;
color: var(--color-neutral-content);
}

.login_page_new_ui .hs-logo {
width: 152px;
height: 22px;
color: var(--color-neutral-content);
}

.login_page_new_ui .left h2 {
font-size: 24px;
font-weight: 500;
Expand All @@ -48,7 +62,7 @@ html, body {
margin: 8px 0 0 0;
}

.login_page_new_ui .left .logo_humansignal{
.login_page_new_ui .left .by {
position: absolute;
bottom: 60px;
left: 60px;
Expand All @@ -60,12 +74,16 @@ html, body {
line-height: 28px;
}

.login_page_new_ui .left img {
color: var(--color-neutral-content);
}

.login_page_new_ui .tips {
max-width: 520px;
border-radius: 8px;
border: 1px solid var(--sand_300);
background: var(--sand_0);
box-shadow: 0 2px 6px 0 var(--sand_300);
border: 1px solid var(--color-neutral-border);
background: var(--color-neutral-surface);
box-shadow: 0 2px 6px 0 rgb(var(--color-neutral-shadow) / 20%);
padding: 16px;
margin:18vh 60px 0 60px;
position: relative;
Expand All @@ -79,6 +97,7 @@ html, body {
position: absolute;
bottom: -72px;
left: 16px;
fill: var(--color-neutral-border);
background: url('../images/heidi-tip.svg') no-repeat center center;
}

Expand All @@ -100,7 +119,7 @@ html, body {
}

.login_page_new_ui .tips .description a {
color: var(--primary_link);
color: var(--color-primary-content);
font-size: .875rem;
font-style: normal;
font-weight: 500;
Expand Down Expand Up @@ -134,22 +153,23 @@ html, body {
text-align: center;
padding: .75rem 0;
font-size: 1rem;
color: var(--sand_500);
color: var(--color-neutral-border);
border-top: 2px solid transparent;
transition: all 150ms ease-out;
}
.login_page_new_ui .toggle > *.active {
border-color: var(--primary_link);
color: var(--primary_link);
border-color: var(--color-primary-surface);
color: var(--color-primary-content);
}
.login_page_new_ui .toggle > *:hover {
color: var(--grape_700);
border-color: var(--grape_700);
color: var(--color-primary-surface-hover);
border-color: var(--color-primary-surface-hover);
}
.form-wrapper{
position: relative;
background: #FDFDFC;
background: var(--color-neutral-surface);
margin-top: 1.5rem;
border: 1px solid #E1DED5;
border: 1px solid var(--color-neutral-border);
padding: 2rem;
border-radius: 1rem;
box-shadow: 0px 0px 12px rgba(23, 20, 13, 0.16);
Expand Down Expand Up @@ -177,7 +197,7 @@ html, body {
margin: 0;
}
.login_page_new_ui form .error {
color: var(--red_7);
color: var(--color-negative-content);
font-size: .875rem;
}
.login_page_new_ui form input,
Expand All @@ -187,9 +207,10 @@ html, body {
font-family: 'Hellix', sans-serif;
}

.login_page_new_ui form button {
.login_page_new_ui form .lsf-button-ls.lsf-button-ls_look_primary {
--button-color: var(--color-neutral-inverted-content);
border-radius: 4rem;
background: var(--sand_900);
background: var(--color-neutral-inverted-surface);
}

.login_page_new_ui .field_errors {
Expand All @@ -199,7 +220,7 @@ html, body {
text-align: left;
font-size: .875rem;
line-height: 16px;
color: var(--red_7);
color: var(--color-negative-content);
}
.login_page_new_ui .field_errors li {
margin-top: .25rem;
Expand All @@ -214,10 +235,10 @@ html, body {
.auto-generated form input {
height: 40px;
min-height: 40px;
background: var(--sand_0);
background: var(--color-neutral-surface);
font-size: 1rem;
line-height: 22px;
border: 1px solid var(--sand_300);
border: 1px solid var(--color-neutral-border);
box-sizing: border-box;
border-radius: 5px;
padding: 0 16px;
Expand Down Expand Up @@ -298,11 +319,11 @@ label{
content: '';
display: block;
position: absolute;
top: 1px;
top: 2px;
left: 8px;
width: 5px;
height: 12px;
border: solid var(--sand_0);
height: 10px;
border: solid var(--color-primary-surface-content);
border-width: 0 2px 2px 0;
transform: rotate(45deg);
}
Expand Down
Loading
Loading