Skip to content

Commit

Permalink
docs(ai-gradient): mark mixin experimental, update year
Browse files Browse the repository at this point in the history
  • Loading branch information
tw15egan committed Nov 7, 2023
1 parent 482bb7d commit 16714df
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion packages/styles/scss/utilities/_ai-gradient.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
//
// Copyright IBM Corp. 2021
// Copyright IBM Corp. 2023
//
// This source code is licensed under the Apache-2.0 license found in the
// LICENSE file in the root directory of this source tree.
//

@use '../theme';

/// Experimental - name and structure subject to change. Use at your own risk!
/// Adds AI gradient styles to a component
/// @access public
/// @param {String} $direction - Direction of gradient from: `left`, `right`, `top`, and `bottom`
Expand Down
2 changes: 1 addition & 1 deletion packages/themes/src/g10.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export const overlay = 'rgba(22, 22, 22, 0.5)';
export const toggleOff = gray50;
export const shadow = 'rgba(0, 0, 0, 0.3)';

//// AI
//// AI - Experimental (Use at your own risk)
// Slug tokens
export const slugBackground = gray70;
export const slugGradient = `${gray100} linear-gradient(135deg, ${gray40} 0%, rgba(${white}, 0) 100%)`;
Expand Down
2 changes: 1 addition & 1 deletion packages/themes/src/g100.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export const overlay = rgba(black, 0.65);
export const toggleOff = gray60;
export const shadow = rgba(black, 0.8);

//// AI
//// AI - Experimental (Use at your own risk)
// Slug tokens
export const slugBackground = gray30;
export const slugGradient = `${gray50} linear-gradient(135deg, ${gray10} 0%, rgba(${white}, 0) 100%)`;
Expand Down
2 changes: 1 addition & 1 deletion packages/themes/src/g90.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export const overlay = rgba(black, 0.65);
export const toggleOff = gray50;
export const shadow = rgba(black, 0.8);

//// AI
//// AI - Experimental (Use at your own risk)
// Slug tokens
export const slugBackground = gray30;
export const slugGradient = `${gray50} linear-gradient(135deg, ${gray10} 0%, rgba(${white}, 0) 100%)`;
Expand Down
2 changes: 1 addition & 1 deletion packages/themes/src/white.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export const overlay = 'rgba(22, 22, 22, 0.5)';
export const toggleOff = gray50;
export const shadow = 'rgba(0, 0, 0, 0.3)';

//// AI
//// AI - Experimental (Use at your own risk)
// Slug tokens
export const slugBackground = gray70;
export const slugGradient = `${gray100} linear-gradient(135deg, ${gray40} 0%, rgba(${white}, 0) 100%)`;
Expand Down

0 comments on commit 16714df

Please sign in to comment.